I didn't say it worked. I said thanks to peter since I did NOT try plugin.irblaster:volumeup_count before.
plugin.irblaster:volumeup_count
> Works for everything but this one.
Which one? I'm confused...
It works for prefs within the "normal" player namespace, e.g. "playtrackalbum" and "digitalVolumeControl", that's what I use now.
Should I file a bug?
Results 11 to 14 of 14
-
2009-03-16, 08:23 #11---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
New: Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
at penguinlovesmusic.com
-
2009-03-16, 08:28 #12
Help Needed: Can I read plugin prefs throughserverstatus?
On Mar 16, 2009, at 11:23 AM, pippin wrote:
>
> mherger;406932 Wrote:
>>> "serverstatus" has a "playerprefs:xxx" tag. That's what I use to get
>>> notified about all player states.
>>
>> Oops... then I'd assume you've hit a bug. But what did you mean when
>> you
>> mentioned it worked with plugin.irblaster
ref in comment #4?
>>
>
> I didn't say it worked. I said thanks to peter since I did NOT try
> plugin.irblaster:volumeup_count before.
>
>>
>>
>>> Works for everything but this one.
>>
>> Which one? I'm confused...
>>
>
> plugin.irblaster:volumeup_count
>
> It works for prefs within the "normal" player namespace, e.g.
> "playtrackalbum" and "digitalVolumeControl", that's what I use now.
>
> Should I file a bug?
I wouldn't expect to be able to retrieve prefs via serverstatus. I
don't understand why it even supports that? You should probably use a
separate call to get the value of pref(s).
-
2009-03-16, 09:05 #13
???
This is a documented feature!
I get all players and a lot of states for each player.
I thought the whole sense of the "xxxstatus" calls is to prevent polling now I should start to poll for a few preferences???
http://localhost:9000/en/html/docs/c...l#serverstatus---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
New: Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
at penguinlovesmusic.com
-
2009-03-16, 09:18 #14
BTW, what I'm requesting is not really specific, here's what SqueezePlay subscribes through serverstatus:
Code:{ channel => "/2918a3e3/slim/serverstatus", data => { "info total albums" => 756, "info total artists" => 381, "info total genres" => 96, "info total songs" => 8345, "other player count" => 0, "player count" => 3, players_loop => [ { canpoweroff => 1, connected => 1, displaytype => "graphic-320x32", ip => "192.168.0.35:47330", isplayer => 1, model => "squeezebox3", name => "JoergsSqueezy", playerid => "...", power => 1, uuid => undef, }, ... ], "sn player count" => 1, sn_players_loop => [ { id => ..., name => "EssSqueezy", playerid => "..." }, ], version => "7.4", }, ext => { priority => "" }, id => 1,---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
New: Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
at penguinlovesmusic.com


Reply With Quote

