New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanonupdate does not work completely for tv shows #25137
Comments
I also was just recently surprised to recognize that Kodi shows "empty" TV shows. But this somehow seems to be conceptual. You can for example also create an empty folder named after a TV show and do scan. The TV show will show up, but w/o any episodes. As a workaround you can disable Kodi's setting "Show empty TV shows". |
This is the expected way to remove a TV Show. |
Sorry but form my perspective it is not consistent. Movies are removed automatically, TvShows not... why should an already removed tvshow (the whole folder is gone) still persist as empty in the library? doesn't make sense at all |
@Hitcher and @wutschel I somewhat agree. Especially on that comment:
But in that case, and I can also reproduce it, the user also removes the folder. So the folder doesn't exist anymore. What sense does it make to keep the tv show if the folder for it doesn't exist anymore? I would completely agree if the folder would still exist, but that's not the case. Hence "cleanonupdate" should do what it's meant for....cleaning the database and remove the tv-show completely. I can confirm that disabling "show empty tv shows" kind of solves that problem. But from my POV, if the folder doesn't exist anymore, there's no need to keep the tv-show at the library. |
Addtional Comment: |
I talked to @Hitcher and he's fine for me to re-open this issue. It might have been this way since "ever", but that doesn't mean it's correct. If the folder would exist and only the files have been removed, that I would totally agree. But if the folder doesn't exist anymore, then there's no need to fill the database with information which doesn't have any source anymore. |
Bug report
Describe the bug
Here is a clear and concise description of what the problem is:
Setup:
Expected Behavior
Here is a clear and concise description of what was expected to happen:
For Movies: When the scraped movie file or whole movie folder is removed from source / NAS, the movie is automatically removed from MyVideos131 Database and consequently not visible any more in the KODI GUI => works as expected
For TVShows: When all TV Show episode files or the whole folder is removed from source / NAS, the TVShow and all episodes shall be automatically removed from MyVideos131 Database and consequently not visible any more in the KODI GUI => does not work
Actual Behavior
All episodes are removed from the database and GUI, but the main TV Show is still in place. Observations:
Possible Fix
Workaround: Manually enter the context menu of the TV show in GUI -> Manage -> Remove from library
To Reproduce
Steps to reproduce the behavior:
Debuglog
The debuglog can be found here:
Debug Log of first scraping:
kodi1_scraping.log
Debug Log of KODI start after tvshow has been removed from file system:
kodi2_deleting.log
MyVideos131 Database file after step 2:
MyVideos131.db.zip
Screenshots
Here are some links or screenshots to help explain the problem:
n/A
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
n/A
Your Environment
Used Operating system:
[ X ] Android
iOS
tvOS
[ X ] Linux
[ X ] macOS
Windows
Windows UWP
Operating system version/name: Tested with LibreELEC, MacOS and Android on NVIDIA Shield
Kodi version: 21.0 Omega (but in place for years)
note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.
The text was updated successfully, but these errors were encountered: