Jump to content

Add Option To Hide Stubs From The Interface


Recommended Posts

HouseOfCards
Posted

In various scenarios of moving content around, it would be helpful to have the option to hide stubs from displaying as content in the interface.  This would allow you to delete media temporarily, but maintain the customized metadata for when it is re-added at a later time. 

Please upvote if you agree...

Thanks!
Steven

Posted

Hi.  Couldn't you use our current ".ignore" feature?

HouseOfCards
Posted

I'm not sure.  I'm poking around at ways to add/remove content dynamically through the use of scripts, and I came across the stub feature.  The use of a stub would allow me to customize metadata and keep it in Emby if I deleted the media and re-added it later.  The problem is that it shows in the interface even though it's not there. 

I have no way to test it yet, but would adding an ".ignore" file alongside the ".disc" file perform the same task?  In other words, if I customized the metadata for a movie, could I delete the movie file altogether and keep the ".disc" file, adding an ".ignore" file to block it from showing but keeping the metadata?

The short problem I'm trying to solve is to be able to delete the movie/tv show for a period of time, and not have to re-customize the metadata when I add it back.  I know I could go down the rabbit hole of using external metadata and the like, but I'm trying to keep it simple.

Thanks,
Steven

Posted

Hi.  First, if you are customizing metadata, I strongly suggest you turn on the option to save metadata and images alongside the media.  Then you can just move entire folders outside of your library in the physical file system or drop a ".ignore" file into the media folder you wish to not be shown.

  • Thanks 1
HouseOfCards
Posted

Okay.  I've never done it that way, and I have pretty organized media files.  Is there a reference somewhere about what files are created in my media folders when I turn that on?  For instance, what the file names are?  Is this with .NFO files, or something?  Posters, backdrops, etc...  I just don't don't want to do it that way without knowing how it's going to clutter up the folder structure.  That's why I never did it.

 

Happy2Play
Posted

It is only one file and could remove everything at parent folder level.

Emby Excluding Files & Folders :

 

Depending on your structure you could possibly just remove user access also.

HouseOfCards
Posted
7 minutes ago, Happy2Play said:

It is only one file and could remove everything at parent folder level.

Emby Excluding Files & Folders :

 

Depending on your structure you could possibly just remove user access also.

Yeah, but I'm trying to physically remove a file, while keeping the custom metadata, etc...  I don't just want to exclude it.

Happy2Play
Posted
26 minutes ago, SWORMUTH said:

I have no way to test it yet, but would adding an ".ignore" file alongside the ".disc" file perform the same task?

The ignore file will remove the entire folder/content from Emby.  But if you do not store metadata/image in media folders yes it will delete all metadata/images from DB and programdata\metadata\library\xx\xxxxxxxxx folder.

If metadata/images are not with media moving content around will nuke that metadata/images also.

  • Thanks 1
HouseOfCards
Posted

I'm going to look into storing information with the files.  NFO's, etc...  Thanks for the input.  I'm reading around the forums now.  👍

Happy2Play
Posted
10 minutes ago, SWORMUTH said:

I'm going to look into storing information with the files.  NFO's, etc...  Thanks for the input.  I'm reading around the forums now.  👍

There really is no good option changing these library options after the fact.  Sure you can get nfo files written with Media by Refresh Search for missing but images will not move from \metadata\library with media.

  • Thanks 1
crusher11
Posted

I store all my metadata and images with my media, and have a "movies unowned" folded that only my admin account has access to. I move things in and out as required. 

HouseOfCards
Posted

Yeah, what I'm leaning towards is storing metadata inside an NFO file to record any custom information.  Right now I'm messing with TinyMediaManager to pull down metadata to NFO files, but a lot of what images it wants to pull I don't like.  Still need to mess with seeing how Emby writes the information.  I'd much rather just have Emby store the images/artwork I choose instead of some external program.

HouseOfCards
Posted

To satisfy my OCD before I enable anything that creates 1000's of files, can someone point me to the file name convention that Emby will use when saving metadata and artwork to disk.  I know it supports existing names in multiple ways, but which ones will it actually create on it's own? 

<movie>.nfo

poster.jpg

That sort of thing...  If left to it's own devices, what will it create for a file named "Godzilla.mkv", for example?

Sorry for the questions, I just don't want to enable it and regret it.  😉

Happy2Play
Posted
36 minutes ago, SWORMUTH said:

To satisfy my OCD before I enable anything that creates 1000's of files, can someone point me to the file name convention that Emby will use when saving metadata and artwork to disk.  I know it supports existing names in multiple ways, but which ones will it actually create on it's own? 

<movie>.nfo

poster.jpg

That sort of thing...  If left to it's own devices, what will it create for a file named "Godzilla.mkv", for example?

Sorry for the questions, I just don't want to enable it and regret it.  😉

Metadata should be <VideoFileName>.nfo.  But @Lukeor someone else would have to confirm movie.nfo can be used.

Images have an order of precedence.

Video images

Series and Season Images

Posted
On 2/7/2023 at 8:14 PM, SWORMUTH said:

To satisfy my OCD before I enable anything that creates 1000's of files, can someone point me to the file name convention that Emby will use when saving metadata and artwork to disk.  I know it supports existing names in multiple ways, but which ones will it actually create on it's own? 

<movie>.nfo

poster.jpg

That sort of thing...  If left to it's own devices, what will it create for a file named "Godzilla.mkv", for example?

Sorry for the questions, I just don't want to enable it and regret it.  😉

Hi, Emby will save to <VideoFileName>.nfo. Does this answer your question?

  • Thanks 1
HouseOfCards
Posted
On 2/11/2023 at 10:47 PM, Luke said:

Hi, Emby will save to <VideoFileName>.nfo. Does this answer your question?

Yes, sir!  Thanks @Luke...

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...