Jump to content

file renamed ( Not folder ) losses watched state


unclebob88

Recommended Posts

unclebob88

If I rename a file ( Not folder ) say from:

 

my-movie.mp4

 

to

 

my-new-move.mp4

 

so the content of the movie is still the same, just the filename has been renamed.

 

Emby will lose the watched status.

 

 

Any idea?

 

 

Link to comment
Share on other sites

Happy2Play

Watched status is tracked by providerids (tmdb, tvdb, imdb) and if the media does not contain these it will be tracked by databaseid.  If a item changes paths to include filename it is removed from the database and re-added so it will get a new databaseid and loose watched status.

 

So you will need to go over a specific example.

Link to comment
Share on other sites

qazwsx10

Watched status is tracked by providerids (tmdb, tvdb, imdb) and if the media does not contain these it will be tracked by databaseid.  If a item changes paths to include filename it is removed from the database and re-added so it will get a new databaseid and loose watched status.

 

So you will need to go over a specific example.

 

Very cool! So if I later down the road update one of 1080p movies with a higher quality 4k version, it will still show up has watched as long it has one of the providerids?

Link to comment
Share on other sites

Happy2Play

Very cool! So if I later down the road update one of 1080p movies with a higher quality 4k version, it will still show up has watched as long it has one of the providerids?

 

Correct

Link to comment
Share on other sites

unclebob88

Watched status is tracked by providerids (tmdb, tvdb, imdb) and if the media does not contain these it will be tracked by databaseid.  If a item changes paths to include filename it is removed from the database and re-added so it will get a new databaseid and loose watched status.

 

So you will need to go over a specific example.

 Not quite, lets go over an example:

 

1.  Downloaded a movie called my-girlfriend-[internet].mkv

2.  I then watched it and the status is now watched.

3. I don't like the filename so I renamed it to be my-girlfriend.mkv  ( I simply removed [internet] from the filename, content has not changed )

4. Go back to the movie, it now shows as un-watched and that is just because it consider this is a new movie, not an existing movie.  I checked Plex, it does not do that.

Link to comment
Share on other sites

Happy2Play

 Not quite, lets go over an example:

 

1.  Downloaded a movie called my-girlfriend-[internet].mkv

2.  I then watched it and the status is now watched.

3. I don't like the filename so I renamed it to be my-girlfriend.mkv  ( I simply removed [internet] from the filename, content has not changed )

4. Go back to the movie, it now shows as un-watched and that is just because it consider this is a new movie, not an existing movie.  I checked Plex, it does not do that.

 

And you just described exactly what you quoted.  I have no idea how Plex does it as I am not a Plex user.

 

Watched status is tracked by providerids (tmdb, tvdb, imdb) and if the media does not contain these it will be tracked by databaseid.  If a item changes paths to include filename it is removed from the database and re-added so it will get a new databaseid and loose watched status.

 

So you will need to go over a specific example.

Link to comment
Share on other sites

unclebob88

 Not quite, lets go over an example:

 

1.  Downloaded a movie called my-girlfriend-[internet].mkv

2.  I then watched it and the status is now watched.

3. I don't like the filename so I renamed it to be my-girlfriend.mkv  ( I simply removed [internet] from the filename, content has not changed )

4. Go back to the movie, it now shows as un-watched and that is just because it consider this is a new movie, not an existing movie.  I checked Plex, it does not do that.

 

Very funny.  Probably a bad example but you get the point.

Link to comment
Share on other sites

Hi.  As described already, as long as the item has a global identifier of some sort, we can keep track of the status.  If not, then there is no way for the system to know the two files are the same one.

Link to comment
Share on other sites

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