cloudstream icon indicating copy to clipboard operation
cloudstream copied to clipboard

File naming convention for downloads

Open tomeczeka opened this issue 7 months ago • 4 comments

Describe your suggested feature

At the moment downloaded files of movies and TV don't follow general convention. Movies are named Title.mp4 and TV series are put into folders Serie Title and files are named Season X Episode Y - Episode Title.mp4. This is troublesome, because some players, such as Nova Player have trouble reading this unconventional formatting and can't tell what data they are dealing with. It can be changed manually to fit the convention but is troublesome and labour intensive. I therefore suggest switching to common convention for media libraries, which is:

  • for movies: Title (year).mp4, because CloudStream does have release info anyway
  • for TV folders: Serie Title (year) and files Serie Title SXXEYY Episode title.mp4

Other details

As seen in the two attached screenshots below, I downloaded S03E09 and S03E10 but Nova thinks they are S01. Renaming to fit the convention does fix this. Screenshot_20231231-100338_Material Files Screenshot_20231231-100351_Nova Video Player

Also for whatever reason VLC is unable to play these files

Acknowledgements

  • [X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • [X] I have written a short but informative title.
  • [X] I will fill out all of the requested information in this form.

tomeczeka avatar Dec 31 '23 09:12 tomeczeka

Hello tomeczeka. Please do not report any provider bugs here. This repository does not contain any providers. Please find the appropriate repository and report your issue there or join the discord.

Found provider name: Flbd

recloudstream[bot] avatar Dec 31 '23 09:12 recloudstream[bot]

Hello tomeczeka. Please do not report any provider bugs here. This repository does not contain any providers. Please find the appropriate repository and report your issue there or join the discord.

Found provider name: Flbd

Not a provider issue.

tomeczeka avatar Dec 31 '23 09:12 tomeczeka

Code can be found here https://github.com/recloudstream/cloudstream/blob/42fd0b5c76d44b495e4e48dbdd4e27ca0849f4db/app/src/main/java/com/lagradost/cloudstream3/utils/VideoDownloadManager.kt#L1498

This was chosen over alternative display methods as it makes it easier to navigate using a file picker

fire-light42 avatar Jan 08 '24 23:01 fire-light42

This was chosen over alternative display methods as it makes it easier to navigate using a file picker

You sure about it? Because in-app picker for downloads in fact uses the "regular" naming anyway (Sxx:Eyy), as seen below: Screenshot_20240109-072443_CloudStream

tomeczeka avatar Jan 09 '24 06:01 tomeczeka