Fri Sep 09, 2011 1:15 pm by r-win
moltra wrote:One thing about using MySQL is the license.
- Code:
If you are developing and distributing open source applications under the GPL License, then you are free to use MySQL under the GPL License. More Info »
If you are developing and distributing open source applications under an OSI-Approved License, but not the GPL, MySQL provides the GPL License with a FLOSS Exception. More Info »
I do not think that serviio falls in the above catagory since The source code is not public.
I think it does. Serviio doesn't use MySQL, it uses JDBC. As long as you don't distribute MySQL, or have the default connection set to MySQL, I don't see a problem. Otherwise a license has to be bought for every possible database system with which a connection can be made by JDBC.
The good news is that after making the tables in MySQL lowercase, Serviio seems to have no problem in indexing my movies. The Serviio Console also works fine. Too bad browsing files on the TV doesn't work:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OFFSET 0 ROWS FETCH FIRST 1 ROWS ONLY' at line 1There seems no nice JDBC solution for this. JDBC only allows setMaxResults, which truncates the resultset at the application level instead of database level. setFetchSize is an option, but I'm not sure about that. Of course, I'm not sure if this is the only problem, I still have to index music and pictures.
Linksys WRT320N | Samsung PS-50C7700 | Microsoft XBOX 360 | Windows 8.1 | Linux Ubuntu 13.04