Official eMule-Board: V0.70a Preview Fails To Set File Suffix - Official eMule-Board

Jump to content


Page 1 of 1

V0.70a Preview Fails To Set File Suffix

#1 User is offline   ouchasaurus 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 06-December 23

Posted 06 December 2023 - 06:51 PM

If you try to preview a video eMule creates an xyz.tmp file and then shells out to show the file. Unfortunately this typically opens a text editor and not a video viewer app.

eMule should preserve the file suffix of the in-progress download when creating a preview file.
0

#2 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4974
  • Joined: 13-May 07

Posted 07 December 2023 - 11:00 AM

Extention (what you called suffix) might be changed randomly by those who share the file. Downloads in temp directory have extension .part, which is not very useful too.
It was you who associated .tmp files with text editor. Should you remove this assignment, then a dialog for selecting a program to use for preview might be shown instead.

This post has been edited by fox88: 11 December 2023 - 02:00 PM

0

#3 User is offline   ouchasaurus 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 06-December 23

Posted 14 December 2023 - 10:00 PM

View Postfox88, on 07 December 2023 - 06:00 AM, said:

Extention (what you called suffix) might be changed randomly by those who share the file.


True, but that is rarely the case.

Quote

It was you who associated .tmp files with text editor. Should you remove this assignment, then a dialog for selecting a program to use for preview might be shown instead.


I am a programmer and yes, I have associated .tmp with Notepad++. Tmp files are usually logs or random junk that an app is buffering to disk.

This is a major regression from eMule behavior in the last version.

Previously when a preview was requested on a partial download, the .part files were combined into a new file with the extension of the original shared file.

eMule then shelled out and let Windows figure out what application would be used to display the file. Windows associates Extensions with the correct application. No, I don't want to pick from a list of the dozens of tools and applications I have on my workstation to "play" a .tmp file... every.single.time.

I don't think I have ever encountered an incorrect extension on a preview file, at least to the extent that it won't open in a player utility. Player utilities can usually ignore an AVI renamed to MP4 and figure out the codec to use based on the file header contents. Not so with tmp files.
0

#4 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4974
  • Joined: 13-May 07

Posted 15 December 2023 - 08:28 AM

It seems there was an odd extra line of code; and this should be fixed.
0

#5 User is offline   ouchasaurus 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 06-December 23

Posted 03 January 2024 - 09:37 PM

Thanks! I am looking forward to the next release.
0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users