finch1000 1 Posted May 10, 2024 Posted May 10, 2024 I have a couple of folders in my Movie Library that no longer exist so I have tried to remove them from the library in settings. When I click the minus sign and confirm the deletion, the item disappears from the list and the movie entries are removed from the library as expected. The issue I am having is, when I go back into settings, the folder shows back up in the library. It does not seem to try to add anything again, but it just pops back up. Is there a backdoor way that I can remove the items from the list so they don't reappear?
Luke 42080 Posted May 10, 2024 Posted May 10, 2024 Hi there, can you please provide a specific example? How to Report a Problem Thanks.
finch1000 1 Posted May 10, 2024 Author Posted May 10, 2024 59 minutes ago, Luke said: Hi there, can you please provide a specific example? How to Report a Problem Thanks. Hello Luke, I have a folder that was a part of my Mainstream Movies library. https://1drv.ms/i/s!AmRBjR1rdwLBmIAaaZFY61c7M5STpw?e=EFnXtm I use the minus sign to the right of the folder to remove it from the library. https://1drv.ms/i/s!AmRBjR1rdwLBmIAb6rHA6-Xh9YpjFQ?e=gAex91 When prompted, I click Remove to confirm the removal. https://1drv.ms/i/s!AmRBjR1rdwLBmIAcQlL6lB1Ndlu2kw?e=PxwNKi The folder disappears from the list and any associated movies are removed from my Mainstream Movies library. https://1drv.ms/i/s!AmRBjR1rdwLBmIAd7Q85rO3rZZMY1w?e=D8fJwf When I leave settings and return later (even after restarting the server or rebooting the computer) the folder shows back up in the list in settings. https://1drv.ms/i/s!AmRBjR1rdwLBmIAaaZFY61c7M5STpw?e=EFnXtm It is more of an irritation than a real problem because nothing is added to the library listing, I would just like to get rid of the non-existent folders that are listed there. I am using Windows 11 Pro https://1drv.ms/i/s!AmRBjR1rdwLBmIAeTdSMS8bLmrePRw?e=N1jwFU and Emby Version 4.9.0.17 beta https://1drv.ms/i/s!AmRBjR1rdwLBmIAfV3IFj_n6bMuqqA?e=PNI0YG My Emby log is attached. embyserver.txt
Happy2Play 9782 Posted May 10, 2024 Posted May 10, 2024 Not seeing any error as the log shows the delete command sent twice. But at the same time cannot reproduce the issue.
finch1000 1 Posted May 11, 2024 Author Posted May 11, 2024 4 hours ago, Happy2Play said: Not seeing any error as the log shows the delete command sent twice. But at the same time cannot reproduce the issue. Yeah, it's really strange. I've cleared my cache. I just thought maybe there is somewhere in an INI file or in the registry that might be holding on to them.
Happy2Play 9782 Posted May 11, 2024 Posted May 11, 2024 7 minutes ago, finch1000 said: Yeah, it's really strange. I've cleared my cache. I just thought maybe there is somewhere in an INI file or in the registry that might be holding on to them. This is database only information now. So in theory the api call should be all that is needed. 2024-05-10 15:20:02.107 Info Server: http/1.1 POST http://host:8096/emby/Library/VirtualFolders/Paths/Delete?refreshLibrary=true&path=L:\Emby Media\Mainstream Movies&name=Mainstream Movies&Id=5935&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id={deviceid}&X-Emby-Client-Version=4.9.0.17&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 2024-05-10 15:20:02.110 Info Server: http/1.1 Response 204 to host. Time: 3ms. POST http://host:8096/emby/Library/VirtualFolders/Paths/Delete?refreshLibrary=true&path=L:\Emby Media\Mainstream Movies&name=Mainstream Movies&Id=5935&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id={deviceid}&X-Emby-Client-Version=4.9.0.17&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us So can only guess there is something off with your database.
finch1000 1 Posted May 11, 2024 Author Posted May 11, 2024 7 minutes ago, Happy2Play said: This is database only information now. So in theory the api call should be all that is needed. 2024-05-10 15:20:02.107 Info Server: http/1.1 POST http://host:8096/emby/Library/VirtualFolders/Paths/Delete?refreshLibrary=true&path=L:\Emby Media\Mainstream Movies&name=Mainstream Movies&Id=5935&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id={deviceid}&X-Emby-Client-Version=4.9.0.17&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 2024-05-10 15:20:02.110 Info Server: http/1.1 Response 204 to host. Time: 3ms. POST http://host:8096/emby/Library/VirtualFolders/Paths/Delete?refreshLibrary=true&path=L:\Emby Media\Mainstream Movies&name=Mainstream Movies&Id=5935&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id={deviceid}&X-Emby-Client-Version=4.9.0.17&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us So can only guess there is something off with your database. Do I need to delete my database and start over or is there something else I can do to clean up the database? This started because I upgraded my hard drives to larger faster drives so I don't have as many now.
Happy2Play 9782 Posted May 11, 2024 Posted May 11, 2024 Just now, finch1000 said: Do I need to delete my database and start over or is there something else I can do to clean up the database? This started because I upgraded my hard drives to larger faster drives so I don't have as many now. I would wait for dev to reply. Doubt it will make a difference but does 4.9.0.18 make a difference.
finch1000 1 Posted May 11, 2024 Author Posted May 11, 2024 12 hours ago, Happy2Play said: I would wait for dev to reply. Doubt it will make a difference but does 4.9.0.18 make a difference. It actually installed right after my second post and doesn't see to make a difference for the issue I am seeing.
sa2000 674 Posted May 14, 2024 Posted May 14, 2024 (edited) There are known issues yet to be addressed and resolved when libraries have overlapping paths. Do any of these paths overlap with other paths i.e. lower level or upper level folders specified as folder paths? F:\Emby Media\Mainstream Movies G:\Emby Media\Mainstream Movies H:\Emby Media\Mainstream Movies I:\Emby Media\Mainstream Movies J:\Videos\Mainstream Movies K:\Emby Media\Mainstream Movies L:\Emby Media\Mainstream Movies I could have a look at your library.db and see if there any anomalies that can be easily adjusted/fixed If you are happy to do that, shut down emby server and once it has exited, copy out these files and zip and upload externally and send me link by private message C:\Users\xxxx\AppData\Roaming\Emby-Server\programdata\data\library.db C:\Users\xxxx\AppData\Roaming\Emby-Server\programdata\data\library.db-wal C:\Users\xxxx\AppData\Roaming\Emby-Server\programdata\data\library.db-shm the .db-shm and .db-wal may not exist, but include them if they do Update: One further bit of info - if a database structure changes between versions of emby server - eg between a public release and a beta, the database does not get adjusted when downgrading from beta to the public version and may end up with corruptions / inconsistencies. So if upgrading to a beta, server must not be downgraded to public version after and instead stay with the beta stream. Can only switch back to public version when a beta gets released as a public version. Basically - database structure is not updated on downgrades - it is only done on upgrades Edited May 14, 2024 by sa2000
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