Man is that a mouthful. So, as Tom Malsbury described in a different thread (http://forums.slimdevices.com/showpo...&postcount=97), the handy publicradiofan.com plugin works great via the remote but, by request of the site owner, has no slimserver browser access. In light of that, I wrote up a greasemonkey script that does the following when installed:
any page loaded from publicradiofan.com will reformat all mp3 stream links to immediately stream to the squeezebox (via the 'radio tune-in' URL logic of the slimserver).
You will need to do several things before you get this working for you:
* use firefox/mozilla as your browser (there are so many other reasons for this; just make the jump)
* install greasemonkey
* download the script from http://benklaas.com/slimserver/slimserverize.user.js and edit in the correct mac addr and ip address for your slimserver
* point your web browser to the directory where your edited script is (hint: use file://path_to_dir if you have it in a local directory)
* right-click on the file and select 'install user script...'
* make sure your slimserver server settings has Security->CSRF set to NONE, or else you will get a 403 error from slimserver
This is a first pass, so if you try it out and have suggestions for improvement, I'm all ears.
most of this text is more or less reprinted at http://benklaas.com/slimserver/
cheers,
#!/ben
any page loaded from publicradiofan.com will reformat all mp3 stream links to immediately stream to the squeezebox (via the 'radio tune-in' URL logic of the slimserver).
You will need to do several things before you get this working for you:
* use firefox/mozilla as your browser (there are so many other reasons for this; just make the jump)
* install greasemonkey
* download the script from http://benklaas.com/slimserver/slimserverize.user.js and edit in the correct mac addr and ip address for your slimserver
* point your web browser to the directory where your edited script is (hint: use file://path_to_dir if you have it in a local directory)
* right-click on the file and select 'install user script...'
* make sure your slimserver server settings has Security->CSRF set to NONE, or else you will get a 403 error from slimserver
This is a first pass, so if you try it out and have suggestions for improvement, I'm all ears.
most of this text is more or less reprinted at http://benklaas.com/slimserver/
cheers,
#!/ben
Comment