2015-03-17, 18:51
Running Kodi 14.1 on my Ubuntu HTPC.
Library is on my server, MySQL.
Logs: http://xbmclogs.com/peiapxwbb#line-1479
Probably contibutory setup:
I'm running 4 storage drives pooled with mhddfs. I've only added the pooled mount, /mnt/pool, as an NFS share.
Kodi is running
The underlying disks (/mnt/disk1 through disk4; /mnt/pool) are all assigned to user "server" as well, with full read/write permissions for everyone.
As an example, ls /mnt/pool/TV/Bubble.Guppies/Season.3 shows (in addition to everything else):
When I do a library update, that episode is not picked up and scanned in, and as can be seen in the log it reports "no change". When I go to the library, that episode is not there.
However - and this is where it gets baffling - I can go to Video>Files>TV(my one TV video source)>Bubble Guppies>Season 3> and see all the scanned in episodes as names, and the unscanned episode as a filename. I can then manually add it by refreshing the info for that episode, after which it appears in the library just fine. So, Kodi can clearly see the file in /mnt/pool/TV/Bubble.Guppies/Season.3.
Now, this episode actually resides on /mnt/disk2, while the remainder of the episodes in that folder are in /mnt/disk1. If I manually copy that episode to /mnt/disk1 alongside the other episodes, it will scan in just fine on a regular update.
My confusion here is that Kodi should not be aware that they are on different drives, as mhddfs is presenting /mnt/pool as a single filesystem, and Kodi CAN see the file and add it manually without issue.
This appears to only be an issue with TV shows spread between multiple folders, as movies are scattered between all four drives as well and scan in on updates just fine, and they're added in the same manner (/mnt/pool/Movies source).
There's no kodi-end multi-path setup - as I said, there's just one TV source added, and it's just a regular source, /mnt/pool/TV.
If all else fails, I can ditch mhddfs, spend a couple days moving files around (to move each TV series onto a single drive) and add all four drives as individual sources which will fix this problem, but at the same time it'll remove the wonderful joy of being able to just throw more drives into my system and be unconcerned about how much space is free on individual drives (leading to constant shuffling and the resulting potential library screwups). Clearly, I'd rather not do that.
Any ideas?
Library is on my server, MySQL.
Logs: http://xbmclogs.com/peiapxwbb#line-1479
Probably contibutory setup:
I'm running 4 storage drives pooled with mhddfs. I've only added the pooled mount, /mnt/pool, as an NFS share.
Kodi is running
The underlying disks (/mnt/disk1 through disk4; /mnt/pool) are all assigned to user "server" as well, with full read/write permissions for everyone.
As an example, ls /mnt/pool/TV/Bubble.Guppies/Season.3 shows (in addition to everything else):
Code:
<snipped other episodes>
-rw-rw-rw- 1 server server 216449294 Mar 8 17:31 Bubble.Guppies.S03E17.Swimtastic.Check-Up.WEBDL-720p.mp4
-rw-rw-rw- 1 server server 387 Mar 12 09:38 Bubble.Guppies.S03E17.Swimtastic.Check-Up.WEBDL-720p.nfo
-rw-rw-rw- 1 server server 31246 Mar 8 17:31 Bubble.Guppies.S03E17.Swimtastic.Check-Up.WEBDL-720p-thumb.jpg
-rw-rw-rw- 1 server server 223918660 Mar 8 17:31 Bubble.Guppies.S03E19.A.Very.Guppy.Christmas!.WEBDL-720p.mp4
-rw-rw-rw- 1 server server 434 Mar 12 09:38 Bubble.Guppies.S03E19.A.Very.Guppy.Christmas!.WEBDL-720p.nfo
-rw-rw-rw- 1 server server 36760 Mar 8 17:31 Bubble.Guppies.S03E19.A.Very.Guppy.Christmas!.WEBDL-720p-thumb.jpg
-rw-rw-rw- 1 server server 245609202 Mar 14 20:29 Bubble.Guppies.S03E20.Puddleball!.WEBDL-720p.mp4
-rw-rw-rw- 1 server server 397 Mar 14 20:30 Bubble.Guppies.S03E20.Puddleball!.WEBDL-720p.nfo
-rw-rw-rw- 1 server server 25050 Mar 14 20:30 Bubble.Guppies.S03E20.Puddleball!.WEBDL-720p-thumb.jpg
server@server:/mnt/pool/TV/Bubble.Guppies/Season.3$
When I do a library update, that episode is not picked up and scanned in, and as can be seen in the log it reports "no change". When I go to the library, that episode is not there.
However - and this is where it gets baffling - I can go to Video>Files>TV(my one TV video source)>Bubble Guppies>Season 3> and see all the scanned in episodes as names, and the unscanned episode as a filename. I can then manually add it by refreshing the info for that episode, after which it appears in the library just fine. So, Kodi can clearly see the file in /mnt/pool/TV/Bubble.Guppies/Season.3.
Now, this episode actually resides on /mnt/disk2, while the remainder of the episodes in that folder are in /mnt/disk1. If I manually copy that episode to /mnt/disk1 alongside the other episodes, it will scan in just fine on a regular update.
My confusion here is that Kodi should not be aware that they are on different drives, as mhddfs is presenting /mnt/pool as a single filesystem, and Kodi CAN see the file and add it manually without issue.
This appears to only be an issue with TV shows spread between multiple folders, as movies are scattered between all four drives as well and scan in on updates just fine, and they're added in the same manner (/mnt/pool/Movies source).
There's no kodi-end multi-path setup - as I said, there's just one TV source added, and it's just a regular source, /mnt/pool/TV.
If all else fails, I can ditch mhddfs, spend a couple days moving files around (to move each TV series onto a single drive) and add all four drives as individual sources which will fix this problem, but at the same time it'll remove the wonderful joy of being able to just throw more drives into my system and be unconcerned about how much space is free on individual drives (leading to constant shuffling and the resulting potential library screwups). Clearly, I'd rather not do that.
Any ideas?