2013-11-21, 18:40
Hi,
I have a small server here that holds some content, mostly TV shows.
The clients (RPi's) can connect only via SSH (SFTP) to stream the content.
In order to have some control about the content one can access (mostly because I don't want the kids to be able to watch all TV shows)
I'm working with user authentications at the server.
Now here is the problem:
I would like to setup a central MySQL database to avoid those long content-scraping tasks on the Raspberry Pi's.
The problem is that within the database (I guess it is the "path" column) the usernames and passwords are stored (sftp://username:[email protected]/TV/...)
That's why I'm struggling to setup such a centralized solution.
I have tried playing with passwords.xml already, but no luck. It seems that it ignores it (I guess it's for SMB shares only - isn't it?!).
I also tried leaving the username + password out while creating the share because I thought XBMC might ask for the password afterwards, but it didn't.
Anybody out there that managed to build this up already?
I have a small server here that holds some content, mostly TV shows.
The clients (RPi's) can connect only via SSH (SFTP) to stream the content.
In order to have some control about the content one can access (mostly because I don't want the kids to be able to watch all TV shows)
I'm working with user authentications at the server.
Now here is the problem:
I would like to setup a central MySQL database to avoid those long content-scraping tasks on the Raspberry Pi's.
The problem is that within the database (I guess it is the "path" column) the usernames and passwords are stored (sftp://username:[email protected]/TV/...)
That's why I'm struggling to setup such a centralized solution.
I have tried playing with passwords.xml already, but no luck. It seems that it ignores it (I guess it's for SMB shares only - isn't it?!).
I also tried leaving the username + password out while creating the share because I thought XBMC might ask for the password afterwards, but it didn't.
Anybody out there that managed to build this up already?