SwanStream 59 Posted July 18, 2022 Share Posted July 18, 2022 (edited) Over here: I started to working a problem with EmbyforKodi that appears to be an emby db issue instead. More than one show, more than one episode but rather than explain it all here, can I ask the next few posts over there be looked at for a bunch of screen shots that outline a problem with 'ghost' episodes, that don't show up with info, don't show in Gui for normal access/playing (on emby) but show up if using showid. I have done many library rescans and shy of going in and deleting each episode manually in emby/file system I'm not sure what to do next.... Ideas Anyone? Edited July 18, 2022 by SwanStream Link to comment Share on other sites More sharing options...
SwanStream 59 Posted July 18, 2022 Author Share Posted July 18, 2022 An example of this: one episode file Handcrafted America - S01E10.mkv is listed correctly, wtih with season/episode info and media info per below. There is also a 'shadow' db entry with the same file, no season, no episode and no media info... per below. There's more peculiar behavior, when scrolling "more from season x" It won't scroll to episodes that don't have this double entry. I've got a bunch of these issues, so a one at a time fix is unlikely to be possible. The blank one: (this one doesn't play) The correct one: (plays fine) When imported into kodi it looks like this: Link to comment Share on other sites More sharing options...
Happy2Play 8252 Posted July 18, 2022 Share Posted July 18, 2022 I guess the real question is has it been this way for over a year? Can only guess a defect in a previous version. Does removing that item remove both entries? But unfortunately minus manaully looking in the database I am guessing library will have to be removed, library scan, and readd the library or just series itself. Link to comment Share on other sites More sharing options...
SwanStream 59 Posted July 18, 2022 Author Share Posted July 18, 2022 Date of file add is listed above... 5/25/21. What happens to watched status if library is removed? I'm guessing it's all lost? Anyway of avoiding that? Link to comment Share on other sites More sharing options...
SwanStream 59 Posted July 18, 2022 Author Share Posted July 18, 2022 And since this isn't the only case of this, is there any way to do a db querry to list out all the files with no file size (as shown above... the bad has no file size) Link to comment Share on other sites More sharing options...
Happy2Play 8252 Posted July 18, 2022 Share Posted July 18, 2022 3 minutes ago, SwanStream said: Date of file add is listed above... 5/25/21. What happens to watched status if library is removed? I'm guessing it's all lost? Anyway of avoiding that? Watch status is maintained by providerid so only items without online provider data will ever lose played state. But would test on one item ie your example as both entries should be removed if the item is removed. Link to comment Share on other sites More sharing options...
SwanStream 59 Posted July 18, 2022 Author Share Posted July 18, 2022 Could it be as simple as kill NFO file and rescan? Here's the example's nfo. <?xml version="1.0" encoding="utf-8" standalone="yes"?> <episodedetails> <plot /> <outline /> <lockdata>false</lockdata> <dateadded>2021-05-25 08:58:27</dateadded> <title>Handcrafted America - S01E10</title> <sorttitle>Handcrafted America - S01E10</sorttitle> <art /> <isuserfavorite>false</isuserfavorite> <playcount>0</playcount> <watched>false</watched> <resume> <position>0</position> <total>0</total> </resume> <fileinfo> <streamdetails /> </fileinfo> <showtitle>Handcrafted America</showtitle> <ratings> <rating name="default" max="10" default="true"> <value>0.0</value> <votes>0</votes> </rating> </ratings> <votes>0</votes> </episodedetails> Link to comment Share on other sites More sharing options...
Happy2Play 8252 Posted July 18, 2022 Share Posted July 18, 2022 50 minutes ago, SwanStream said: Could it be as simple as kill NFO file and rescan? No as you have mentioned there are two different itemids so the item must be removed from the database to correct the issue. Otherwise you will have to dig through the database to manually delete these rogue entries. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now