So, first question. It looks basic, but with the SQL script I could not make this work. Well, I want to split AutoPlaylists and Playlists because both are store differently. So for AutoPlaylists I use
Code: Select all
SELECT COUNT(*) FROM Playlists WHERE isAutoPlaylist=1
Code: Select all
SELECT COUNT(*) FROM Playlists WHERE isAutoPlaylist!=1
Second question. As stated before it would be best if I could do some SQL statement, but I could not find an SQL statement that gives me an AutoPlaylist song list. I know there is the Code field in the Playlists table, but instead of reworking it from scratch, I want to know if somebody has some sort of script for translation or knows a better way to do it. There are some tricky parts that I really do not want to do, like size limit. It really looks time consuming if I cannot make it work via SQL.
That is all. Thanks for your time.
PS: Do not ask me for the UPNP server yet, it is causing me more trouble than what it is worth. I am learning C# Express and .NET while coding, and I just begun in coding on monday. So it is really crappy at the time being. If anyone experienced wants to review the code and send in suggestions, please send me a PM. A simple threaded HTTP server is also welcome.