Announcement
Collapse
No announcement yet.
SqueezeBox plugin V2.0.0 beta 2
Collapse
This is a sticky topic.
X
X
-
Joe (zimmer62)
BLSecurtiy, AC-RF2, RCS Serial Thermostats, RFXCOM SMarthome SwitchLinc, mcsXap, Global Cache GC100, SqueezeBox, TWA_ONKYOINTEGRA, BLLogMonitor, BLPlugins, BLRadar, BLSpeech, BLZLog.aspx, HSTouch (Windows, iPhone, iPod), USB Mimo touchscreens, VMWare Server, Vortexbox, Windows Home Server, MyMovies, Windows Media Center, X10, ZWave, and much much much more.
-
I haven't done it yet, but two things I was thinking of is either turning off HS logging in the SB plugin configuration or downloading some kind of alarm sound and using that in my alarm instead of the SB sound effect. But I agree, I would hope that this gets addressed in the plugin as well.
Comment
-
One thing I noticed is the path
'plugins/Sounds/html/images/icon.png'
there is an actual file at
'/Slim/Plugin/Sounds/HTML/EN/plugins/Sounds/html/images/icon.png'
I wonder if it's supposed to map that path '/Slim/Plugin/Sounds/HTML/EN/' to the root of where it's looking for images.
If not, we should find out where it's looking and maybe I can just put the image in that spot.
I did also look in the install.xml file, and it lists the path
<icon>plugins/Sounds/html/images/icon.png</icon>
None of this really seems out of the ordinary to me.Joe (zimmer62)
BLSecurtiy, AC-RF2, RCS Serial Thermostats, RFXCOM SMarthome SwitchLinc, mcsXap, Global Cache GC100, SqueezeBox, TWA_ONKYOINTEGRA, BLLogMonitor, BLPlugins, BLRadar, BLSpeech, BLZLog.aspx, HSTouch (Windows, iPhone, iPod), USB Mimo touchscreens, VMWare Server, Vortexbox, Windows Home Server, MyMovies, Windows Media Center, X10, ZWave, and much much much more.
Comment
-
Originally posted by zimmer62 View PostSeeing the same thing, is there a way to make this not show up in my log file?
Comment
-
Originally posted by zimmer62 View PostOne thing I noticed is the path
'plugins/Sounds/html/images/icon.png'
there is an actual file at
'/Slim/Plugin/Sounds/HTML/EN/plugins/Sounds/html/images/icon.png'
I wonder if it's supposed to map that path '/Slim/Plugin/Sounds/HTML/EN/' to the root of where it's looking for images.
If not, we should find out where it's looking and maybe I can just put the image in that spot.
I did also look in the install.xml file, and it lists the path
<icon>plugins/Sounds/html/images/icon.png</icon>
None of this really seems out of the ordinary to me.
Comment
-
yes, from the sound effects app. I use them for sleeping, and morning alarms.
Thunderstorms at night sometimesJoe (zimmer62)
BLSecurtiy, AC-RF2, RCS Serial Thermostats, RFXCOM SMarthome SwitchLinc, mcsXap, Global Cache GC100, SqueezeBox, TWA_ONKYOINTEGRA, BLLogMonitor, BLPlugins, BLRadar, BLSpeech, BLZLog.aspx, HSTouch (Windows, iPhone, iPod), USB Mimo touchscreens, VMWare Server, Vortexbox, Windows Home Server, MyMovies, Windows Media Center, X10, ZWave, and much much much more.
Comment
-
Originally posted by pcp View PostFor those that encountered problems using HSTouch on iPhone/iTouch/iPad with the Squeezebox plug-in enabled, try it again with the latest HSTouch client version sent to Apple store (should be available sometimes this week) as it should resolve the issue.Joe (zimmer62)
BLSecurtiy, AC-RF2, RCS Serial Thermostats, RFXCOM SMarthome SwitchLinc, mcsXap, Global Cache GC100, SqueezeBox, TWA_ONKYOINTEGRA, BLLogMonitor, BLPlugins, BLRadar, BLSpeech, BLZLog.aspx, HSTouch (Windows, iPhone, iPod), USB Mimo touchscreens, VMWare Server, Vortexbox, Windows Home Server, MyMovies, Windows Media Center, X10, ZWave, and much much much more.
Comment
-
Can I ask how some of the media functions of the plugin can be used with HSTouch? Specifically, I am referring to controlling shuffle, repeat and mute. In HSTouch there doesn't seem to be a way to "toggle" these. So do I need to have separate buttons for setting to shuffle and then setting to no shuffle? Or is there a clean way of doing this with events, hiding buttons, etc.? Any input would be appreciated.
Thanks!
Comment
-
Rosentaarn
Originally posted by heatvent View PostCan I ask how some of the media functions of the plugin can be used with HSTouch? Specifically, I am referring to controlling shuffle, repeat and mute. In HSTouch there doesn't seem to be a way to "toggle" these. So do I need to have separate buttons for setting to shuffle and then setting to no shuffle? Or is there a clean way of doing this with events, hiding buttons, etc.? Any input would be appreciated.
Thanks!
Code:Sub toggleScript(Optional ByVal pParms As String = "") Dim hspi As Object = hs.plugin("SqueezeBox") If hspi Is Nothing Then hs.WriteLog("SqueezeBox Script", "Plugin not found!") Exit Sub End If Dim musicAPI as Object = hspi.GetMusicAPI("Squeezeslave") If hspi Is Nothing Then hs.WriteLog("SqueezeBox Script", "musicAPI creation for Squeezeslave failed") Exit Sub End If if pParms.toLower = "mute" then If MusicApi.playerMute Then MusicApi.playerMute = False Else MusicApi.playerMute = True End if elseif pParms.toLower = "shuffle" then MusicApi.shuffleToggle elseif pParms.toLower = "repeat" then If MusicApi.repeat = 0 Then MusicApi.repeat = 1 Elseif MusicApi.repeat = 1 then MusicApi.repeat = 2 else MusicApi.repeat = 0 End if end if End Sub
Comment
-
Thanks Rosentaarn. This is very helpful. I may just leave my button as activating shuffle. Can't think of a time I would want songs to play in order. If that comes up, I could just control directly. 99.9% of the time I leave on shuffle.
I am surprised however that it returns "unknown" status. Is this a bug in the plugin?
Comment
-
FYI, when I was looking through your script, I noticed a second "if HSPI is nothing" I think the second one should be "If musicAPI is nothing".
Originally posted by Rosentaarn View PostTo toggle mute, repeat and shuffle w/o separate buttons I use a script (SB_controller.vb) which is triggered by the buttons:
Code:Sub toggleScript(Optional ByVal pParms As String = "") Dim hspi As Object = hs.plugin("SqueezeBox") If hspi Is Nothing Then hs.WriteLog("SqueezeBox Script", "Plugin not found!") Exit Sub End If Dim musicAPI as Object = hspi.GetMusicAPI("Squeezeslave") If hspi Is Nothing Then hs.WriteLog("SqueezeBox Script", "musicAPI creation for Squeezeslave failed") Exit Sub End If
Comment
-
Originally posted by zimmer62 View Postyes, from the sound effects app. I use them for sleeping, and morning alarms.
Thunderstorms at night sometimes
In fact, the Pandora icon doesn't show up as album art when using the plug-in MusicAPI but it does show up on the SB Radio display.
Let me know what I can do to help debug.
Ken"if I have seen further [than others], it is by standing on the shoulders of giants." --Sir Isaac Newton (1675)
Comment
-
Rosentaarn, how are you triggering the script in HSTouch? I am doing it via a replacement variable in the text field of a button. I am getting some weird results where it is getting stuck in a loop for the repeat toggle. Are you triggering it some other way?
Thanks!
EDIT: If someone is trying to do this, answer can be found at post #3 in this thread...
http://forums.homeseer.com/showthread.php?t=136333Last edited by heatvent; May 18, 2010, 10:45 PM.
Comment
-
Have another question. I want to have a button and indicator in HSTouch to select/show which squeezeboxes are currently synchronized. I see that you can sync/unsync either via an event action or using the SB API. However, is there a way to see if a given player is synchronized? I don't really care which player they are synchronized to. I plan to have sqeezeplay on my HS PC and name it server and then sync each squeezebox/zone to that instance of squeezeplay. Then use HSTouch to control the server squeezeplay and the other zones should follow suit. Or is there a better way to do this?
Comment
Comment