Happy Volumio2 usere here. Thanks for all the work!
I’m still trying to get these webradio stations working. The UDP stream is sent from an IP (basically IPTV service provider). I can receive it successfully and play with VLC. VLC reports the codec to be “MPEG Audio layer 1/2 (mpga)” 48000Hz and 256kb/s.
The UDP aadress is udp://@239.3.12.101:1234, but it’s not receivable outside of this ISP. When I try to add it with mpc, I get an error
error adding udp://@239.3.12.101:1234: No such song
I can also use udpxy (UDP-to-HTTP multicast traffic relay daemon), so that the address is 192.168.16.1:4022/udp/239.3.12.101:1234
This I can already add though mpc
mpc add http://192.168.16.1:4022/udp/239.3.12.101:1234
MPD log as follows:
2016-11-30T14:56:31.838Z - info:
[1480517791838] ---------------------------- MPD announces system state update
2016-11-30T14:56:31.839Z - info: Mpd Status Update: playlist
2016-11-30T14:56:31.840Z - info:
[1480517791839] ---------------------------- MPD announces state update
2016-11-30T14:56:31.841Z - info: [1480517791840] ControllerMpd::getState
2016-11-30T14:56:31.841Z - info: [1480517791841] ControllerMpd::sendMpdCommand status
2016-11-30T14:56:31.843Z - info: [1480517791843] sending command...
2016-11-30T14:56:31.847Z - info: [1480517791847] ------------------------------ 9ms
2016-11-30T14:56:31.883Z - info: [1480517791883] parsing response...
2016-11-30T14:56:31.884Z - info: [1480517791884] ControllerMpd::parseState
2016-11-30T14:56:31.885Z - info: [1480517791885] ControllerMpd::pushState
2016-11-30T14:56:31.885Z - info: CoreCommandRouter::servicePushState
2016-11-30T14:56:31.886Z - info: [1480517791886] CoreStateMachine::syncState
2016-11-30T14:56:31.886Z - info: [1480517791886] CorePlayQueue::getTrack 0
2016-11-30T14:56:31.887Z - info: [1480517791886] Received update from a service different from the one supposed to be playing music. Skipping notification.Current webradio Received mpd
2016-11-30T14:56:31.888Z - info: [1480517791887] ------------------------------ 48ms
When I play it with mpc, nothing happens and no log generatedmpc play
http://192.168.16.1:4022/udp/239.3.12.101:1234
[playing] #1/1 0:00/0:00 (0%)
volume:100% repeat: off random: off single: off consume: off
I also post here log, when playing webradio from volumio2 web interface.
The first one is using directly the UDP address and second one is thought udpxy (HTTP address).
2016-11-30T14:43:38.594Z - info: CoreCommandRouter::volumioReplaceandPlayItems
2016-11-30T14:43:38.595Z - info: [1480517018594] CoreStateMachine::ClearQueue
2016-11-30T14:43:38.596Z - info: [1480517018595] CoreStateMachine::stop
2016-11-30T14:43:38.596Z - info: [1480517018596] CoreStateMachine::setConsumeUpdateService undefined
2016-11-30T14:43:38.597Z - info: [1480517018597] CorePlayQueue::clearPlayQueue
2016-11-30T14:43:38.598Z - info: [1480517018597] CorePlayQueue::saveQueue
2016-11-30T14:43:38.598Z - info: CoreCommandRouter::volumioPushQueue
2016-11-30T14:43:38.599Z - info: [1480517018599] interfaceApi::pushQueue
2016-11-30T14:43:38.600Z - info: [1480517018599] InterfaceWebUI::pushQueue
2016-11-30T14:43:38.600Z - info: [1480517018600] CoreStateMachine::addQueueItems
2016-11-30T14:43:38.601Z - info: [1480517018601] CorePlayQueue::addQueueItems
2016-11-30T14:43:38.602Z - info: uri=udp://@239.3.12.101:1234, title=R2 UDP, service=webradio
2016-11-30T14:43:38.603Z - info: First index is 0
2016-11-30T14:43:38.603Z - info: ADDING THIS ITEM TO QUEUE: {"uri":"udp://@239.3.12.101:1234","title":"R2 UDP","service":"webradio"}
2016-11-30T14:43:38.611Z - info: [1480517018611] CorePlayQueue::saveQueue
2016-11-30T14:43:38.613Z - info: Adding item to queue: {"uri":"udp://@239.3.12.101:1234","title":"R2 UDP","service":"webradio","name":"R2 UDP","albumart":"/albumart","samplerate":"","bitdepth":0,"channels":0}
2016-11-30T14:43:38.614Z - info: CoreCommandRouter::volumioPushQueue
2016-11-30T14:43:38.615Z - info: [1480517018615] interfaceApi::pushQueue
2016-11-30T14:43:38.616Z - info: [1480517018616] InterfaceWebUI::pushQueue
2016-11-30T14:43:38.619Z - info: [1480517018619] CoreStateMachine::updateTrackBlock
2016-11-30T14:43:38.620Z - info: [1480517018619] CorePlayQueue::getTrackBlock
2016-11-30T14:43:38.623Z - info: CoreCommandRouter::volumioPlay
2016-11-30T14:43:38.625Z - info: [1480517018623] CoreStateMachine::play
2016-11-30T14:43:38.628Z - info: [1480517018625] CoreStateMachine::setConsumeUpdateService undefined
2016-11-30T14:43:38.628Z - info: [1480517018628] CoreStateMachine::stop
2016-11-30T14:43:38.629Z - info: [1480517018629] CoreStateMachine::setConsumeUpdateService undefined
2016-11-30T14:43:38.630Z - info: [1480517018629] CoreStateMachine::play
2016-11-30T14:43:38.630Z - info: [1480517018630] CoreStateMachine::setConsumeUpdateService undefined
2016-11-30T14:43:38.631Z - info: [1480517018630] CorePlayQueue::getTrack 0
2016-11-30T14:43:38.632Z - info: [1480517018631] CoreStateMachine::startPlaybackTimer
2016-11-30T14:43:38.632Z - info: [1480517018632] CorePlayQueue::getTrack 0
2016-11-30T14:43:38.634Z - info: [1480517018633] ControllerWebradio::clearAddPlayTrack
2016-11-30T14:43:38.634Z - info: [1480517018634] ControllerMpd::sendMpdCommand stop
2016-11-30T14:43:38.638Z - info: [1480517018638] sending command...
2016-11-30T14:43:39.318Z - info: [1480517019318] parsing response...
2016-11-30T14:43:39.319Z - info: [1480517019319] ControllerMpd::sendMpdCommand clear
2016-11-30T14:43:39.320Z - info: [1480517019320] sending command...
2016-11-30T14:43:39.321Z - info: Mpd Status Update: player
2016-11-30T14:43:39.322Z - info:
[1480517019322] ---------------------------- MPD announces state update
2016-11-30T14:43:39.323Z - info: [1480517019322] ControllerMpd::getState
2016-11-30T14:43:39.323Z - info: [1480517019323] ControllerMpd::sendMpdCommand status
2016-11-30T14:43:39.324Z - info: [1480517019324] parsing response...
2016-11-30T14:43:39.324Z - info: [1480517019324] sending command...
2016-11-30T14:43:39.326Z - info: [1480517019325] ControllerMpd::sendMpdCommand load "udp://@239.3.12.101:1234"
2016-11-30T14:43:39.326Z - info: [1480517019326] sending command...
2016-11-30T14:43:39.328Z - info:
[1480517019327] ---------------------------- MPD announces system state update
2016-11-30T14:43:39.328Z - info: Mpd Status Update: playlist
2016-11-30T14:43:39.329Z - info:
[1480517019329] ---------------------------- MPD announces state update
2016-11-30T14:43:39.330Z - info: [1480517019329] ControllerMpd::getState
2016-11-30T14:43:39.330Z - info: [1480517019330] ControllerMpd::sendMpdCommand status
2016-11-30T14:43:39.331Z - info: [1480517019331] sending command...
2016-11-30T14:43:39.367Z - info:
2016-11-30T14:43:39.368Z - info: [1480517019367] parsing response...
2016-11-30T14:43:39.369Z - info: [1480517019368] ControllerMpd::sendMpdCommand add "udp://@239.3.12.101:1234"
2016-11-30T14:43:39.370Z - info: [1480517019370] ------------------------------ 43ms
2016-11-30T14:43:39.371Z - info: [1480517019371] parsing response...
2016-11-30T14:43:39.372Z - info: [1480517019372] ControllerMpd::parseState
2016-11-30T14:43:39.373Z - info: [1480517019372] sending command...
2016-11-30T14:43:39.374Z - info: [1480517019374] ControllerMpd::parseState
2016-11-30T14:43:39.376Z - info: [1480517019374] ControllerMpd::pushState
2016-11-30T14:43:39.376Z - info: CoreCommandRouter::servicePushState
2016-11-30T14:43:39.377Z - info: [1480517019376] CoreStateMachine::syncState
2016-11-30T14:43:39.377Z - info: [1480517019377] CorePlayQueue::getTrack 0
2016-11-30T14:43:39.378Z - info: [1480517019377] Received update from a service different from the one supposed to be playing music. Skipping notification.Current webradio Received mpd
2016-11-30T14:43:39.378Z - info: [1480517019378] ControllerMpd::pushState
2016-11-30T14:43:39.379Z - info: CoreCommandRouter::servicePushState
2016-11-30T14:43:39.383Z - info: [1480517019382] CoreStateMachine::syncState
2016-11-30T14:43:39.383Z - info: [1480517019383] CorePlayQueue::getTrack 0
2016-11-30T14:43:39.384Z - info: [1480517019383] Received update from a service different from the one supposed to be playing music. Skipping notification.Current webradio Received mpd
2016-11-30T14:43:39.384Z - info: [1480517019384] ------------------------------ 63ms
2016-11-30T14:43:39.385Z - info: [1480517019385] ------------------------------ 57ms
2016-11-30T14:43:40.563Z - info: CALLMETHOD: audio_interface upnp stopUpnpPlayback [object Object]
2016-11-30T14:43:40.563Z - info: CoreCommandRouter::executeOnPlugin: upnp , stopUpnpPlayback
2016-11-30T14:43:40.565Z - info: Stopping playback through UPNP
2016-11-30T14:43:40.566Z - info: [1480517020565] CoreStateMachine::setConsumeUpdateService undefined
[code]2016-11-30T14:41:00.476Z - info: CoreCommandRouter::volumioReplaceandPlayItems
2016-11-30T14:41:00.478Z - info: [1480516860477] CoreStateMachine::ClearQueue
2016-11-30T14:41:00.479Z - info: [1480516860479] CoreStateMachine::stop
2016-11-30T14:41:00.480Z - info: [1480516860480] CoreStateMachine::setConsumeUpdateService undefined
2016-11-30T14:41:00.482Z - info: [1480516860481] CorePlayQueue::clearPlayQueue
2016-11-30T14:41:00.483Z - info: [1480516860483] CorePlayQueue::saveQueue
2016-11-30T14:41:00.485Z - info: CoreCommandRouter::volumioPushQueue
2016-11-30T14:41:00.486Z - info: [1480516860486] interfaceApi::pushQueue
2016-11-30T14:41:00.487Z - info: [1480516860487] InterfaceWebUI::pushQueue
2016-11-30T14:41:00.488Z - info: [1480516860488] CoreStateMachine::addQueueItems
2016-11-30T14:41:00.491Z - info: [1480516860490] CorePlayQueue::addQueueItems
2016-11-30T14:41:00.493Z - info: uri=http://192.168.16.1:4022/udp/239.3.12.101:1234, title=R2 UDP HTTP, service=webradio
2016-11-30T14:41:00.495Z - info: First index is 0
2016-11-30T14:41:00.495Z - info: ADDING THIS ITEM TO QUEUE: {“uri”:“http://192.168.16.1:4022/udp/239.3.12.101:1234",“title”:"R2 UDP HTTP”,“service”:“webradio”}
2016-11-30T14:41:00.502Z - info: [1480516860501] CorePlayQueue::saveQueue
2016-11-30T14:41:00.503Z - info: Adding item to queue: {“uri”:“http://192.168.16.1:4022/udp/239.3.12.101:1234",“title”:"R2 UDP HTTP”,“service”:“webradio”,“name”:“R2 UDP HTTP”,“albumart”:"/albumart",“samplerate”:"",“bitdepth”:0,“channels”:0}
2016-11-30T14:41:00.504Z - info: CoreCommandRouter::volumioPushQueue
2016-11-30T14:41:00.505Z - info: [1480516860504] interfaceApi::pushQueue
2016-11-30T14:41:00.505Z - info: [1480516860505] InterfaceWebUI::pushQueue
2016-11-30T14:41:00.508Z - info: [1480516860508] CoreStateMachine::updateTrackBlock
2016-11-30T14:41:00.509Z - info: [1480516860508] CorePlayQueue::getTrackBlock
2016-11-30T14:41:00.511Z - info: CoreCommandRouter::volumioPlay
2016-11-30T14:41:00.513Z - info: [1480516860512] CoreStateMachine::play
2016-11-30T14:41:00.514Z - info: [1480516860513] CoreStateMachine::setConsumeUpdateService undefined
2016-11-30T14:41:00.515Z - info: [1480516860515] CoreStateMachine::stop
2016-11-30T14:41:00.516Z - info: [1480516860515] CoreStateMachine::setConsumeUpdateService undefined
2016-11-30T14:41:00.517Z - info: [1480516860516] CoreStateMachine::play
2016-11-30T14:41:00.518Z - info: [1480516860517] CoreStateMachine::setConsumeUpdateService undefined
2016-11-30T14:41:00.518Z - info: [1480516860518] CorePlayQueue::getTrack 0
2016-11-30T14:41:00.520Z - info: [1480516860519] CoreStateMachine::startPlaybackTimer
2016-11-30T14:41:00.521Z - info: [1480516860520] CorePlayQueue::getTrack 0
2016-11-30T14:41:00.524Z - info: [1480516860523] ControllerWebradio::clearAddPlayTrack
2016-11-30T14:41:00.530Z - info: [1480516860529] ControllerMpd::sendMpdCommand stop
2016-11-30T14:41:00.534Z - info: [1480516860533] sending command…
2016-11-30T14:41:00.541Z - info: Mpd Status Update: player
2016-11-30T14:41:00.542Z - info:
[1480516860542] ---------------------------- MPD announces state update
2016-11-30T14:41:00.545Z - info: [1480516860544] parsing response…
2016-11-30T14:41:00.546Z - info: [1480516860546] ControllerMpd::getState
2016-11-30T14:41:00.548Z - info: [1480516860547] ControllerMpd::sendMpdCommand status
2016-11-30T14:41:00.549Z - info: [1480516860548] ControllerMpd::sendMpdCommand clear
2016-11-30T14:41:00.550Z - info: [1480516860549] sending command…
2016-11-30T14:41:00.551Z - info: [1480516860550] sending command…
2016-11-30T14:41:00.585Z - info: [1480516860584] parsing response…
2016-11-30T14:41:00.586Z - info: [1480516860586] parsing response…
2016-11-30T14:41:00.588Z - info: [1480516860587] ControllerMpd::parseState
2016-11-30T14:41:00.589Z - info: [1480516860589] ControllerMpd::sendMpdCommand playlistinfo
2016-11-30T14:41:00.591Z - info: [1480516860590] ControllerMpd::sendMpdCommand load “http://192.168.16.1:4022/udp/239.3.12.101:1234”
2016-11-30T14:41:00.591Z - info: [1480516860591] sending command…
2016-11-30T14:41:00.594Z - info: [1480516860593] sending command…
2016-11-30T14:41:00.595Z - info:
[1480516860595] ---------------------------- MPD announces system state update
2016-11-30T14:41:00.596Z - info: Mpd Status Update: playlist
2016-11-30T14:41:00.596Z - info:
[1480516860596] ---------------------------- MPD announces state update
2016-11-30T14:41:00.597Z - info: [1480516860597] ControllerMpd::getState
2016-11-30T14:41:00.598Z - info: [1480516860597] ControllerMpd::sendMpdCommand status
2016-11-30T14:41:00.598Z - info: [1480516860598] parsing response…
2016-11-30T14:41:00.600Z - info: [1480516860599] sending command…
2016-11-30T14:41:00.602Z - info: [1480516860602] ControllerMpd::parseTrackInfo
2016-11-30T14:41:00.604Z - info: [1480516860603] ControllerMpd::pushState
2016-11-30T14:41:00.604Z - info: CoreCommandRouter::servicePushState
2016-11-30T14:41:00.605Z - info: [1480516860604] CoreStateMachine::syncState
2016-11-30T14:41:00.606Z - info: [1480516860605] CorePlayQueue::getTrack 0
2016-11-30T14:41:00.606Z - info: [1480516860606] Received update from a service different from the one supposed to be playing music. Skipping notification.Current webradio Received mpd
2016-11-30T14:41:00.607Z - info: [1480516860607] ------------------------------ 66ms
2016-11-30T14:41:00.680Z - info:
2016-11-30T14:41:00.682Z - info: [1480516860681] ControllerMpd::sendMpdCommand add “http://192.168.16.1:4022/udp/239.3.12.101:1234”
2016-11-30T14:41:00.683Z - info: [1480516860682] ------------------------------ 87ms
2016-11-30T14:41:00.683Z - info: [1480516860683] parsing response…
2016-11-30T14:41:00.685Z - info: [1480516860684] sending command…
2016-11-30T14:41:00.687Z - info: [1480516860686] ControllerMpd::parseState
2016-11-30T14:41:00.688Z - info: [1480516860687] ControllerMpd::pushState
2016-11-30T14:41:00.688Z - info: CoreCommandRouter::servicePushState
2016-11-30T14:41:00.689Z - info: [1480516860688] CoreStateMachine::syncState
2016-11-30T14:41:00.689Z - info: [1480516860689] CorePlayQueue::getTrack 0
2016-11-30T14:41:00.690Z - info: [1480516860689] Received update from a service different from the one supposed to be playing music. Skipping notification.Current webradio Received mpd
2016-11-30T14:41:00.695Z - info: [1480516860694] ------------------------------ 99ms
2016-11-30T14:41:00.701Z - info:
[1480516860695] ---------------------------- MPD announces system state update
2016-11-30T14:41:00.708Z - info: Mpd Status Update: playlist
2016-11-30T14:41:00.708Z - info:
[1480516860708] ---------------------------- MPD announces state update
2016-11-30T14:41:00.710Z - info: [1480516860709] parsing response…
2016-11-30T14:41:00.711Z - info: [1480516860710] ControllerMpd::getState
2016-11-30T14:41:00.712Z - info: [1480516860711] ControllerMpd::sendMpdCommand status
2016-11-30T14:41:00.713Z - info: [1480516860713] CoreStateMachine::setConsumeUpdateService mpd
2016-11-30T14:41:00.714Z - info: [1480516860714] ControllerMpd::sendMpdCommand play
2016-11-30T14:41:00.716Z - info: [1480516860715] sending command…
2016-11-30T14:41:00.718Z - info: [1480516860717] sending command…
2016-11-30T14:41:00.749Z - info: [1480516860748] ------------------------------ 53ms
2016-11-30T14:41:00.750Z - info: [1480516860749] parsing response…
2016-11-30T14:41:00.750Z - info: [1480516860750] parsing response…
2016-11-30T14:41:00.751Z - info: [1480516860751] ControllerMpd::parseState
2016-11-30T14:41:00.752Z - info: [1480516860751] ControllerMpd::pushState
2016-11-30T14:41:00.752Z - info: CoreCommandRouter::servicePushState
2016-11-30T14:41:00.753Z - info: [1480516860752] CoreStateMachine::syncState
2016-11-30T14:41:00.753Z - info: [1480516860753] CorePlayQueue::getTrack 0
2016-11-30T14:41:00.754Z - info: STATE SERVICE {“status”:“stop”,“position”:null,“seek”:null,“duration”:null,“samplerate”:null,“bitdepth”:null,“channels”:null,“random”:false,“updatedb”:false,“repeat”:false,“isStreaming”:false,“title”:null,“artist”:null,“album”:null,“uri”:null}
2016-11-30T14:41:00.755Z - info: CURRENT POSITION 0
2016-11-30T14:41:00.756Z - info: [1480516860755] CoreStateMachine::syncState stateService stop
2016-11-30T14:41:00.757Z - info: [1480516860756] CoreStateMachine::syncState currentStatus stop
2016-11-30T14:41:00.757Z - info: [1480516860757] CoreStateMachine::pushState
2016-11-30T14:41:00.758Z - info: [1480516860757] CoreStateMachine::getState
2016-11-30T14:41:00.758Z - info: [1480516860758] CorePlayQueue::getTrack 0
2016-11-30T14:41:00.759Z - info: CoreCommandRouter::volumioPushState
2016-11-30T14:41:00.761Z - info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
2016-11-30T14:41:00.764Z - info: [1480516860763] interfaceApi::pushState
2016-11-30T14:41:00.765Z - info: [1480516860764] InterfaceWebUI::pushState
2016-11-30T14:41:00.780Z - info: [1480516860779] No code
2016-11-30T14:41:00.780Z - info: [1480516860780] CoreStateMachine::pushState
2016-11-30T14:41:00.781Z - info: [1480516860780] CoreStateMachine::getState
2016-11-30T14:41:00.781Z - info: [1480516860781] CorePlayQueue::getTrack 0
2016-11-30T14:41:00.782Z - info: CoreCommandRouter::volumioPushState
2016-11-30T14:41:00.782Z - info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
2016-11-30T14:41:00.783Z - info: [1480516860783] interfaceApi::pushState
2016-11-30T14:41:00.784Z - info: [1480516860784] InterfaceWebUI::pushState
2016-11-30T14:41:00.801Z - info: [1480516860801] ------------------------------ 94ms
2016-11-30T14:41:00.806Z - info: Pushing Favourites {“service”:“webradio”,“uri”:“http://192.168.16.1:4022/udp/239.3.12.101:1234","favourite”:false}
2016-11-30T14:41:00.809Z - info: Pushing Favourites {“service”:“webradio”,“uri”:“http://192.168.16.1:4022/udp/239.3.12.101:1234","favourite”:false}
[/code]
It this totally MPD matter and should I post it as MPD but or RFC?
I would really love to get it working.
Thanks in advance.