Overwriting existing .nfo files causes problems
#1
Hi there,

I found a bug, which almost drove me crazy. Some episodes were not recognized, when scraping with Kodi into the library.

The thing is that TMM (2.9.13) overwrites existring .nfo files. Say you have (before TMM scraping):
Game.of.Thrones.S01E01.mkv
Game.of.Thrones.S01E01.nfo
in a folder, then this is not a big deal (you just loose the "original" .nfo file) when scraping with TMM, but the resulting files are (after TMM scraping):
Game.of.Thrones.S01E01.mkv
Game.of.Thrones.S01E01.nfo

A problem occures when the files are named the following (before TMM scraping):
Game.of.Thrones.S01E01.mkv
game.of.thrones.s01e01.nfo
because TMM will overwrite the .nfo file while scraping, but not change the (non-)capital letters in the filename (after TMM scraping):
Game.of.Thrones.S01E01.mkv
game.of.thrones.s01e01.nfo

Kodi looks for the .nfo files case sensitive, the episode in example 2 would not appear in the library.

I see two options:
1. apply the .mkv name to the .nfo
2. rename existing .nfo into .nfo.bak and create a new one

I would prefer option 2.

Best wishes and great work with TMM!!
Reply
#2
which OS do you use? because in windows game.of.thrones.s01e01.nfo is the same as Game.Of.Thrones.S01E01.nfo (GAME.OF.THRONES.S01E01.NFO would also be the same)
iirc tmm tries to create the NFO with the same name as the base video file name and (at least with movies) that should work!
tinyMediaManager - THE media manager of your choice - available for Windows, Mac OSX and Linux
Help us translate tinyMediaManager Weblate
[Image: 1qbFVy]
Reply
#3
sorry, forgot to mention it.

so TMM is running on windows here, but Kodi is running on a Libreelec-fork (Coreelec) and accesses the files over SMB.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Overwriting existing .nfo files causes problems00