You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all - thank you for your work on making this API public!
I am trying to get my radio (DIR3100) to play a song from a network share. But can't figure out how to do this over the API. whenever I try to list the navigation items - I get FS_FAIL (even though I have set NavState before).
I tried you PHP api and the fsapi calls directly. php unit tests an other calls work as expected.
Would be great if you could help me further.
best regards
The text was updated successfully, but these errors were encountered:
turns out, if the radio is off for too long, it cannot switch to nav.state and refuses to list items. (other commands still work even in off mode). fixed it by, switching it on and then off again.
whole chain of raw commands to play a certain song from a playlist on a shared server:
# turn radio on
/fsapi/SET/netRemote.sys.power?value=1
# switch to mode media player (maybe different on other devices)
/fsapi/SET/netRemote.sys.mode?value=3
# set nav.state
/fsapi/SET/netRemote.nav.state?value=1
# seleced first entry "shared media"
/fsapi/SET/netRemote.nav.action.navigate?value=0
# select first available server
/fsapi/SET/netRemote.nav.action.navigate?value=0
# select first directory on the server (may differ)
/fsapi/SET/netRemote.nav.action.navigate?value=0
# select entry for playlists (differs for sure)
/fsapi/SET/netRemote.nav.action.navigate?value=7
# select specific playlist (differs for sure)
/fsapi/SET/netRemote.nav.action.navigate?value=2
# select first song - will start auto play
/fsapi/SET/netRemote.nav.action.selectItem?value=0
# set volume
/fsapi/SET/netRemote.sys.audio.volume?value=12
# check if song is played
/fsapi/GET/netRemote.play.info.name
Hi,
first of all - thank you for your work on making this API public!
I am trying to get my radio (DIR3100) to play a song from a network share. But can't figure out how to do this over the API. whenever I try to list the navigation items - I get FS_FAIL (even though I have set NavState before).
I tried you PHP api and the fsapi calls directly. php unit tests an other calls work as expected.
Would be great if you could help me further.
best regards
The text was updated successfully, but these errors were encountered: