maihde / roku_subsonic

Roku TV frontend for the Subsonic streaming music server
GNU General Public License v3.0
21 stars 7 forks source link

Check server API version during connection setup #2

Closed MidnightJava closed 12 years ago

MidnightJava commented 12 years ago

Check server API version against client minimum requirement, and report required server version if upgrade is needed. Also changed function names to avoid use of reserved words: Stop -> f_Stop and Goto -> f_Goto. Also added "exit while" statement at line 636. There was no block specified for the "if" condition, so I did this to make the error marker go away. Is there something missing here?

MidnightJava commented 12 years ago

Re client api version, yes you told e a while ago that you had 1.5.0 originally but ended up not using any 1.5.0 capabilities; so 1.4.0 is the correct version.

Re the "exit while" I added, I'll remove the if test instead and add to this Pull request.