Jalle19 / xbmc-video-server

Web interface for streaming or downloading media from a Kodi/XBMC library
GNU General Public License v3.0
191 stars 39 forks source link

Please provide Dockerfile for mysql installation #320

Closed niko2 closed 5 years ago

niko2 commented 5 years ago

Using mysql seems to be possible, but needs some code to be modified. Would it be possible to use mysql without code update ? I can try to do a PR if you mind.

Jalle19 commented 5 years ago

It's not officially supported but it shoulf work. Why do you want to use it, if I may ask?

niko2 commented 5 years ago
  1. I am already using mysql for kodi.
  2. I want to limit (at least control) local I/Os.
  3. I can easily access the SQL data (from another tool) if I want to
Jalle19 commented 5 years ago

So basically you want to be able to use MySQL without having to edit this file: https://github.com/Jalle19/xbmc-video-server/blob/master/src/protected/config/_db.php ?

Jalle19 commented 5 years ago

Could you test https://github.com/Jalle19/xbmc-video-server/pull/323 ? I've only verified that SQLite still works with this change, haven't actually tested with MySQL.