Remove empty TV Show with a directory and a .nfo file with special characters
#1
Hi,
today I added a TV Show with a directory like "tvshow_name! (1990)". The .nfo file had the following info:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tvshow>
  <title>tvshow_name!</title>
</tvshow>

After scanning the library for the new show to be picked up, I noticed that whenever from the show list I hovered over that specific show kodi would totally crash. I checked this several times. I couldn't even get inside the show, just hovering over it caused kodi to crash.
After several tests I realized that it was the exclamation mark that was bothering me. In fact by removing it (both from the folder and the nfo file) kodi created another show (without the exclamation mark) which this time worked perfectly.
Now, however, I am left with the old show in the list and if I happen to even hover over it kodi crashes completely. I would like to remove the old tvshow but I cannot get over it to go to the settings and remove from there because, as I said, it completely crashes.
How can I delete a show WITHOUT going through GUI? I already tried cleaning the library but it is not enough.

P.s.: I supposed this was a problem regarding special characters but.. could it be that the problem actually was the fact that I added to the folder 4 images named "artwork.jpg", "banner.jpg", "poster.jpg" and "fanart.jpg"? Maybe the fact that they hadn't the correct resolution/aspect ratio?
Reply
#2
(2024-11-28, 18:32)NathanDrake Wrote: How can I delete a show WITHOUT going through GUI
The only method I can think of will require you to rescan/rescrape your Source again.
Go to your Source in Kodi and from the context menu select Change Content
Change the source from TV Shows to None
Let the Clean library run when asked.
Then change the Source back to TV Shows and rescan the Source again.

But a Debug Log capturing the crash might reveal something.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
Sorry, I do not understand what this "Source" is. Where can I find it?
Reply
#4
(2024-11-28, 21:01)NathanDrake Wrote: Sorry, I do not understand what this "Source" is.
See the images here... https://kodi.wiki/view/Changing_Scrapers
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
No such crash or problem navigating into the show here with the given tv show name and .nfo, v21 or v22, sqlite or mariadb.
There seems to be something else going on, maybe some sort of db corruption. I seem to recall there is a db cleaner addon, maybe it would remove the tv show entry. Beyond that there is the library partial reset as explained by Karellen.
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
Remove empty TV Show with a directory and a .nfo file with special characters0