Jump to content

How to still show movies in the database that have been deleted


Go to solution Solved by Happy2Play,

Recommended Posts

Posted

Bit of a silly question, but...

Is there a way to still show something in the library, that has had its file deleted?

I tried deleting just the .mkv from the folder and leaving the .nfo etc but it doesn't show up in the list any longer.

It does show up the metadata manager but that's sorted by file structure, so has two lists, one for each drive I have. I'd rather that they still showed in the library view with their 'watched' tick.

Couldn't find a filter or setting for it.

  • Solution
Happy2Play
Posted (edited)

@ErelyesNZ You can't, I guess you could make a stub file.

Emby Media Stubs :

Edited by Happy2Play
added link
Posted

Thanks, that works; should I repost in Feature Requests if it's something I think should be added without having the need for the files on disk?

Happy2Play
Posted
3 minutes ago, ErelyesNZ said:

Thanks, that works; should I repost in Feature Requests if it's something I think should be added without having the need for the files on disk?

It is a grey area as most users do not want to see folders without media.  So they only appear on folders view as an empty folder as they have no media.

So you have to provide something to be a placeholder to present it.

Posted

Yeah, sorry, I meant as an option in the settings somewhere that you could tick. "Show deleted items in library" or the like. Not on by default. Cheers

Happy2Play
Posted
3 minutes ago, ErelyesNZ said:

Yeah, sorry, I meant as an option in the settings somewhere that you could tick. "Show deleted items in library" or the like. Not on by default. Cheers

Sure if you like but if it were a deleted in Emby it would no longer exist.  So this is a problem also as deleted on filesystem would be missing media correct?  But I guess everyone will have there own opinion on this.  All you can do is ask.

  • 1 year later...
Posted

A feature like this would suit my use case well. I'd like to keep track of movies I've watched and deleted.

My semi-annual scenario goes like this:

1. I get a movie that sounds good to me (a 50's film-noir, for example), upload it to Emby.
2. Watch the movie, and decide I probably won't watch it again, so delete it.
3. Years go by..
4. Come across a fun-sounding 50's film noir (I've never heard of it...or so I think), upload it to Emby.
5. Sit down to watch it, only to discover that I have watched it at some point in the distant past (30+ minutes in).

First, it sucks to get old, and not be able to remember yesterday :P 
Second, I could/should track this kind of thing somewhere...but it would be nice if Emby had the option to add a DB flag of "deleted" or something and never show those rows in the existing UI. It'd be lovely to then be able to query that via the API. (I already query Emby via API to see if I've already uploaded something prior to going through the trouble.)

In short, when a user deletes a Movie, delete all traces of it except the DB row, which get flagged as "deleted", preventing it from showing up in the UI.

Happy2Play
Posted
9 hours ago, suomi35 said:

A feature like this would suit my use case well. I'd like to keep track of movies I've watched and deleted.

My semi-annual scenario goes like this:

1. I get a movie that sounds good to me (a 50's film-noir, for example), upload it to Emby.
2. Watch the movie, and decide I probably won't watch it again, so delete it.
3. Years go by..
4. Come across a fun-sounding 50's film noir (I've never heard of it...or so I think), upload it to Emby.
5. Sit down to watch it, only to discover that I have watched it at some point in the distant past (30+ minutes in).

First, it sucks to get old, and not be able to remember yesterday :P 
Second, I could/should track this kind of thing somewhere...but it would be nice if Emby had the option to add a DB flag of "deleted" or something and never show those rows in the existing UI. It'd be lovely to then be able to query that via the API. (I already query Emby via API to see if I've already uploaded something prior to going through the trouble.)

In short, when a user deletes a Movie, delete all traces of it except the DB row, which get flagged as "deleted", preventing it from showing up in the UI.

But Emby knows you have already watch it as its played state is maintained by providerid.  But this info is only lost if there are no providerid for the content ie TMDBid, TVDBid, IMDBid.  So deleting and readding any movie should really be irrelevant 99.9% of the time.

 

Would assume you would want Emby to try and use previous entry if item is ever readded also?  Or a new entry every time you add and delete something.

But sounds like a lot of database bloat. 

Posted

I agree...in thinking about this more, I think I will leverage the webhook capabilitites of Emby, to send deleted titles to a different DB. Cheers!

  • 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...