2013-04-07, 12:51
So, I was preparing an xbmc box for my sister to use, thinking in my latest insanity that, with some remote attention, it might *actually* be ready for a normal person to use. When, at the last minute, I realised than on restart it loses track of any video source on any internal drive.
A few tests later seem to bear this out.
The machine has a second internal drive, with a volume mounted from /dev/sdb1 to /media/Carousel. And it has an external firewire drive, with a volume mounted from /dev/sdc1 to /media/Biblio. Mount points, directories all have the same permissions etc.
XBMC->Videos->Files sees Biblio without me having to do anything. But I have to add Carousel as a new video source. OK, I think, that's a one-time operation, I'll do that. So I do it, and I set content on folders within and scan everything, everything's working...
Restart XBMC, the Carousel video source has gone. The library items on it are still there but obviously i can't do update library.
Repeat in disbelief a few times. With logging.
I note a set of UDisks lines where it detects *both* drives on startup, with nothing to tell them apart except one's removable and the other isn't. It even shows that it adds *both* of them. But Carousel goes mysteriously absent by the time a user can see anything, with nothing further being logged about that.
This is what I am currently having to do, to make it work:
mkdir /media/Biblio/Carousel
mount -o bind /media/Carousel /media/Biblio/Carousel
Now I can navigate to the content folders in /media/Biblio/Carousel, set content, scan, and it's all remembered on a restart.
Which rather puts paid to my future plans to consolidate things - possibly combined with an upgrade of that internal drive - so that everything is on the internal drive, and ditch the external one. I guess I'd have to leave a USB stick plugged in JUST SO I CAN MOUNT THE INTERNAL DRIVE INSIDE IT, so XBMC would remember it.
This is ppa:xbmc-xvba but i don't expect the xvba stuff has anything different regarding this.
A few tests later seem to bear this out.
The machine has a second internal drive, with a volume mounted from /dev/sdb1 to /media/Carousel. And it has an external firewire drive, with a volume mounted from /dev/sdc1 to /media/Biblio. Mount points, directories all have the same permissions etc.
XBMC->Videos->Files sees Biblio without me having to do anything. But I have to add Carousel as a new video source. OK, I think, that's a one-time operation, I'll do that. So I do it, and I set content on folders within and scan everything, everything's working...
Restart XBMC, the Carousel video source has gone. The library items on it are still there but obviously i can't do update library.
Repeat in disbelief a few times. With logging.
I note a set of UDisks lines where it detects *both* drives on startup, with nothing to tell them apart except one's removable and the other isn't. It even shows that it adds *both* of them. But Carousel goes mysteriously absent by the time a user can see anything, with nothing further being logged about that.
This is what I am currently having to do, to make it work:
mkdir /media/Biblio/Carousel
mount -o bind /media/Carousel /media/Biblio/Carousel
Now I can navigate to the content folders in /media/Biblio/Carousel, set content, scan, and it's all remembered on a restart.
Which rather puts paid to my future plans to consolidate things - possibly combined with an upgrade of that internal drive - so that everything is on the internal drive, and ditch the external one. I guess I'd have to leave a USB stick plugged in JUST SO I CAN MOUNT THE INTERNAL DRIVE INSIDE IT, so XBMC would remember it.
This is ppa:xbmc-xvba but i don't expect the xvba stuff has anything different regarding this.