(2015-07-27 17:31)Anthirian Wrote: This appears to be an incompatibility issue with Emby. KFC does indeed get confused where the video file is actually stored. From the looks of it, this location is masked by having another addon provide it via a plugin:// URI. I suspect there is nothing that can be done about this unless Emby stores the actual file path in the Kodi library. This means the addon will not work for you unfortunately.
I solved my problem, if anyone is interested in this. In Emby settings there's an option to turn the links into real path linkes instead of plugin:// links. Once I did that (and refreshed the entire library) - it completely solved the issue and I can use this plugin. Works wonderfully.
One issue I do have now is this: I'm also using SickRage (a fork of SickBeard) to auto-download shows, organize them, etc. The process works like that: files (torrents) are downloaded into a special download folder (I'm using Deluge for the actual d/l, but that doesn't matter). From this Download folder, SickRage automatically renames the files and creates a *hard link* to the appropriate place in the TV Shows folder. In short, the hard linking allows the file to exist in two places at the same time (while taking up room for one file only) - the copy in the download folder remains as it was (for seeding, removed once it's done seeding) and a copy in the show folder (removed by THIS plugin once it is watched).
The catch is this: If the show is watched before the file has done seeding, this plugin will erase the copy from the TV shows folder and then SickRage will just create the hard link again and copy it again into the TV shows folder.
The proposed solution: This plugin should also check the number of hard links which a file has (in python I think: os.stat("foo.txt").st_nlink). Delete the watched show only if the number is *1*...
At any rate, this is a wonderful plugin, one of the most useful plugins in Kodi, no doubt.
Thank you very much.