MediaBrowser / Emby

Emby Server is a personal media server with apps on just about every device.
https://emby.media
GNU General Public License v2.0
4.08k stars 798 forks source link

update filesystem by emby database #3603

Open jeyca opened 4 years ago

jeyca commented 4 years ago

I put some work in identifying all the movies on my filesystem using emby. Now I would like to use this informations to create a proper folder/file structure for the movies like

\Movies\A\Avatar (2009)\Avatar (2009).mkv \Movies\P\Pulp Fiction (1994)\Pulp Fiction (1994).mp4 \Movies\R\Reservoir Dogs (1992)\Reservoir Dogs (1992).mp4 \Movies\T\The Usual Suspects (1995)\The Usual Suspects (1995).mkv \Movies\T\Top Gun (1986)\Top Gun (1986).mp4

including the downloaded subtitles, images etc. Is there an already working feature for that? I could of course write my own script using the database data, but it would be nice of course if its already implemented in any way?

LukePulverenti commented 4 years ago

Hi there @jeyca, so you want an automated way to re-organize and rename your movie files, is that correct?

jeyca commented 4 years ago

yes

MCTyler commented 4 years ago

Ever try Tiny Media Manager?

nomandera commented 4 years ago

Danger, there be dragons.

This is good idea but it is potentially super dangerous and so rife with edge cases it will grow in scope.

I would come at this from a different angle; Emby could optionally export/maintain URL nfos (https://kodi.wiki/view/NFO_files) per media entry.

Avoiding XML or combination nfos and using only URL variant means it is a "one off job" as the other versions constantly grow and scope and complexity.

With this nfo serving as an anchor they are plenty of other tools that can now interpret the collection and then perform media tidy/rename/xml duties.

IMO this would be the best of both worlds.

jeyca commented 4 years ago

Danger, there be dragons.

of course there are, but it could be done harmless, for example by using hardlinks (that could actually be a pretty good solution)