Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings Unavailable, Unable to search for videos Youtube #32

Open
parallelsys opened this issue Oct 21, 2018 · 10 comments
Open

Settings Unavailable, Unable to search for videos Youtube #32

parallelsys opened this issue Oct 21, 2018 · 10 comments

Comments

@parallelsys
Copy link

parallelsys commented Oct 21, 2018

I am unable to click on settings, When I do it does nothing.
Also the google plugin works but when I search it does nothing.

 Failed to lookup view "pages/settings" in views directory "/opt/sonos-web/src/views/"
    at Function.render (/opt/sonos-web/node_modules/express/lib/application.js:580:17)
    at ServerResponse.render (/opt/sonos-web/node_modules/express/lib/response.js:1008:7)
    at app.get (/opt/sonos-web/server.js:311:9)
    at Layer.handle [as handle_request] (/opt/sonos-web/node_modules/express/lib/router/layer.js:95:5)
    at next (/opt/sonos-web/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/opt/sonos-web/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/opt/sonos-web/node_modules/express/lib/router/layer.js:95:5)
    at /opt/sonos-web/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/opt/sonos-web/node_modules/express/lib/router/index.js:335:12)
    at next (/opt/sonos-web/node_modules/express/lib/router/index.js:275:10)
    at SendStream.error (/opt/sonos-web/node_modules/serve-static/index.js:121:7)
    at emitOne (events.js:116:13)
    at SendStream.emit (events.js:211:7)
    at SendStream.error (/opt/sonos-web/node_modules/send/index.js:270:17)
    at SendStream.onStatError (/opt/sonos-web/node_modules/send/index.js:421:12)
    at next (/opt/sonos-web/node_modules/send/index.js:736:16)
    at onstat (/opt/sonos-web/node_modules/send/index.js:725:14)
    at FSReqWrap.oncomplete (fs.js:152:21)
@denysvitali denysvitali changed the title settings and search Settings and Search Oct 21, 2018
@denysvitali
Copy link
Owner

Currently the "Settings" menu entry doesn't do anything at all (expected behavior).
What's the "Google Plugin"? There is no such plugin: https://github.com/denysvitali/sonos-web/tree/master/plugins

@parallelsys
Copy link
Author

That was my fault. I meant to say. the youtube plugin. :)

@denysvitali
Copy link
Owner

Can you please try to search for some video, and paste here the output generated in the terminal?

@denysvitali denysvitali changed the title Settings and Search Settings Unavailable, Unable to search for videos Youtube Oct 21, 2018
@parallelsys
Copy link
Author

parallelsys commented Oct 27, 2018

Here is what I got so far when I search and try to play a youtube song:

    PossibleRecordStorageMedia: [ { '$': { val: 'NOT_IMPLEMENTED' } } ],
    RecordMediumWriteStatus: [ { '$': { val: 'NOT_IMPLEMENTED' } } ],
    CurrentRecordQualityMode: [ { '$': { val: 'NOT_IMPLEMENTED' } } ],
    PossibleRecordQualityModes: [ { '$': { val: 'NOT_IMPLEMENTED' } } ] } ]
[D] Service Event
[D] =========== MUSIC SERVICES EVENT ============
{ ServiceListVersion: 'RINCON_949F3E73A72201400:380' }
[D] Service Event
[D] Found ZP at 10.30.2.34:1400
Promise { <pending> }
[D] Listening...
[D] Successfully subscribed, with subscription id
[D] Successfully subscribed, with subscription id
[D] Successfully subscribed, with subscription id
[D] Successfully subscribed, with subscription id
[D] Successfully subscribed, with subscription id
[D] Service Event
[D] Got a new event with enpoint: /MediaServer/ContentDirectory/Event
[D] Service Event
[ { '$': { val: '0' },
    TransportState: [ { '$': { val: 'STOPPED' } } ],
    CurrentPlayMode: [ { '$': { val: 'NORMAL' } } ],
    CurrentCrossfadeMode: [ { '$': { val: '0' } } ],
    NumberOfTracks: [ { '$': { val: '1' } } ],
    CurrentTrack: [ { '$': { val: '1' } } ],
    CurrentSection: [ { '$': { val: '0' } } ],
    CurrentTrackURI: [ { '$': { val: 'http://10.30.2.90:2252/c7O91GDWGPU.mp4' } } ],
    CurrentTrackDuration: [ { '$': { val: '0:00:00' } } ],
    CurrentTrackMetaData: 
     [ { '$': 
          { val: '<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="http-get:*:audio/mp4:*">http://10.30.2.90:2252/c7O91GDWGPU.mp4</res><r:streamContent></r:streamContent><dc:title>Rossini: William Tell Overture: Final</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator></dc:creator><upnp:album></upnp:album><upnp:albumArtURI>https://i.ytimg.com/vi/c7O91GDWGPU/hqdefault.jpg</upnp:albumArtURI></item></DIDL-Lite>' } } ],
    'r:NextTrackURI': [ { '$': { val: '' } } ],
    'r:NextTrackMetaData': [ { '$': { val: '' } } ],
    'r:EnqueuedTransportURI': [ { '$': { val: 'http://10.30.2.90:2252/c7O91GDWGPU.mp4' } } ],
    'r:EnqueuedTransportURIMetaData': 
     [ { '$': 
          { val: '<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="http-get:*:audio/mp4:*">http://10.30.2.90:2252/c7O91GDWGPU.mp4</res><r:streamContent></r:streamContent><dc:title>Rossini: William Tell Overture: Final</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator></dc:creator><upnp:album></upnp:album><upnp:albumArtURI>https://i.ytimg.com/vi/c7O91GDWGPU/hqdefault.jpg</upnp:albumArtURI></item></DIDL-Lite>' } } ],
    PlaybackStorageMedium: [ { '$': { val: 'NETWORK' } } ],
    AVTransportURI: [ { '$': { val: 'http://10.30.2.90:2252/c7O91GDWGPU.mp4' } } ],
    AVTransportURIMetaData: 
     [ { '$': 
          { val: '<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="http-get:*:audio/mp4:*">http://10.30.2.90:2252/c7O91GDWGPU.mp4</res><r:streamContent></r:streamContent><dc:title>Rossini: William Tell Overture: Final</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator></dc:creator><upnp:album></upnp:album><upnp:albumArtURI>https://i.ytimg.com/vi/c7O91GDWGPU/hqdefault.jpg</upnp:albumArtURI></item></DIDL-Lite>' } } ],
    NextAVTransportURI: [ { '$': { val: '' } } ],
    NextAVTransportURIMetaData: [ { '$': { val: '' } } ],
    CurrentTransportActions: 
     [ { '$': 
          { val: 'Set, Stop, Pause, Play, X_DLNA_SeekTime, X_DLNA_SeekTrackNr' } } ],
    'r:CurrentValidPlayModes': [ { '$': { val: 'CROSSFADE' } } ],
    'r:MuseSessions': [ { '$': { val: '' } } ],
    'r:DirectControlClientID': [ { '$': { val: '' } } ],
    'r:DirectControlIsSuspended': [ { '$': { val: '0' } } ],
    'r:DirectControlAccountID': [ { '$': { val: '' } } ],
    TransportStatus: [ { '$': { val: 'OK' } } ],
    'r:SleepTimerGeneration': [ { '$': { val: '0' } } ],
    'r:AlarmRunning': [ { '$': { val: '0' } } ],
    'r:SnoozeRunning': [ { '$': { val: '0' } } ],
    'r:RestartPending': [ { '$': { val: '0' } } ],
    TransportPlaySpeed: [ { '$': { val: 'NOT_IMPLEMENTED' } } ],
    CurrentMediaDuration: [ { '$': { val: 'NOT_IMPLEMENTED' } } ],
    RecordStorageMedium: [ { '$': { val: 'NOT_IMPLEMENTED' } } ],
    PossiblePlaybackStorageMedia: [ { '$': { val: 'NONE, NETWORK' } } ],
    PossibleRecordStorageMedia: [ { '$': { val: 'NOT_IMPLEMENTED' } } ],
    RecordMediumWriteStatus: [ { '$': { val: 'NOT_IMPLEMENTED' } } ],
    CurrentRecordQualityMode: [ { '$': { val: 'NOT_IMPLEMENTED' } } ],
    PossibleRecordQualityModes: [ { '$': { val: 'NOT_IMPLEMENTED' } } ] } ]
[D] Service Event
[D] =========== MUSIC SERVICES EVENT ============
{ ServiceListVersion: 'RINCON_949F3E73A72201400:380' }
[D] Service Event
[D] Got ZoneGroupTopology event
{ ZoneGroups: 
   { ZoneGroup: 
      [ { '$': 
           { Coordinator: 'RINCON_949F3E73A72201400',
             ID: 'RINCON_949F3E73A72201400:301' },
          ZoneGroupMember: 
           [ { '$': 
                { UUID: 'RINCON_949F3E022CA601400',
                  Location: 'http://10.30.2.67:1400/xml/device_description.xml',
                  ZoneName: 'Kitchen',
                  Icon: 'x-rincon-roomicon:bathroom',
                  Configuration: '1',
                  Invisible: '1',
                  SoftwareVersion: '45.1-56150',
                  MinCompatibleVersion: '44.0-00000',
                  LegacyCompatibleVersion: '36.0-00000',
                  ChannelMapSet: 'RINCON_949F3E73A72201400:LF,LF;RINCON_949F3E022CA601400:RF,RF',
                  BootSeq: '361',
                  TVConfigurationError: '0',
                  HdmiCecAvailable: '0',
                  WirelessMode: '1',
                  WirelessLeafOnly: '0',
                  HasConfiguredSSID: '1',
                  ChannelFreq: '2412',
                  BehindWifiExtender: '0',
                  WifiEnabled: '1',
                  Orientation: '0',
                  RoomCalibrationState: '5',
                  SecureRegState: '3',
                  VoiceState: '0',
                  AirPlayEnabled: '0' } },
             { '$': 
                { UUID: 'RINCON_B8E937D5824E01400',
                  Location: 'http://10.30.2.52:1400/xml/device_description.xml',
                  ZoneName: 'Living Room',
                  Icon: 'x-rincon-roomicon:kitchen',
                  Configuration: '1',
                  SoftwareVersion: '45.1-56150',
                  MinCompatibleVersion: '44.0-00000',
                  LegacyCompatibleVersion: '36.0-00000',
                  BootSeq: '327',
                  TVConfigurationError: '0',
                  HdmiCecAvailable: '0',
                  WirelessMode: '1',
                  WirelessLeafOnly: '0',
                  HasConfiguredSSID: '1',
                  ChannelFreq: '2412',
                  BehindWifiExtender: '0',
                  WifiEnabled: '1',
                  Orientation: '0',
                  RoomCalibrationState: '4',
                  SecureRegState: '3',
                  VoiceState: '0',
                  AirPlayEnabled: '0' } },
             { '$': 
                { UUID: 'RINCON_949F3E73A72201400',
                  Location: 'http://10.30.2.34:1400/xml/device_description.xml',
                  ZoneName: 'Kitchen',
                  Icon: 'x-rincon-roomicon:bathroom',
                  Configuration: '1',
                  SoftwareVersion: '45.1-56150',
                  MinCompatibleVersion: '44.0-00000',
                  LegacyCompatibleVersion: '36.0-00000',
                  ChannelMapSet: 'RINCON_949F3E73A72201400:LF,LF;RINCON_949F3E022CA601400:RF,RF',
                  BootSeq: '8097',
                  TVConfigurationError: '0',
                  HdmiCecAvailable: '0',
                  WirelessMode: '1',
                  WirelessLeafOnly: '0',
                  HasConfiguredSSID: '1',
                  ChannelFreq: '2412',
                  BehindWifiExtender: '0',
                  WifiEnabled: '1',
                  Orientation: '0',
                  RoomCalibrationState: '4',
                  SecureRegState: '3',
                  VoiceState: '0',
                  AirPlayEnabled: '0' } } ] } ] } }
'Kitchen'
{ ZoneGroupState: '<ZoneGroups><ZoneGroup Coordinator="RINCON_949F3E73A72201400" ID="RINCON_949F3E73A72201400:301"><ZoneGroupMember UUID="RINCON_949F3E022CA601400" Location="http://10.30.2.67:1400/xml/device_description.xml" ZoneName="Kitchen" Icon="x-rincon-roomicon:bathroom" Configuration="1" Invisible="1" SoftwareVersion="45.1-56150" MinCompatibleVersion="44.0-00000" LegacyCompatibleVersion="36.0-00000" ChannelMapSet="RINCON_949F3E73A72201400:LF,LF;RINCON_949F3E022CA601400:RF,RF" BootSeq="361" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2412" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="5" SecureRegState="3" VoiceState="0" AirPlayEnabled="0"/><ZoneGroupMember UUID="RINCON_B8E937D5824E01400" Location="http://10.30.2.52:1400/xml/device_description.xml" ZoneName="Living Room" Icon="x-rincon-roomicon:kitchen" Configuration="1" SoftwareVersion="45.1-56150" MinCompatibleVersion="44.0-00000" LegacyCompatibleVersion="36.0-00000" BootSeq="327" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2412" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceState="0" AirPlayEnabled="0"/><ZoneGroupMember UUID="RINCON_949F3E73A72201400" Location="http://10.30.2.34:1400/xml/device_description.xml" ZoneName="Kitchen" Icon="x-rincon-roomicon:bathroom" Configuration="1" SoftwareVersion="45.1-56150" MinCompatibleVersion="44.0-00000" LegacyCompatibleVersion="36.0-00000" ChannelMapSet="RINCON_949F3E73A72201400:LF,LF;RINCON_949F3E022CA601400:RF,RF" BootSeq="8097" TVConfigurationError="0" HdmiCecAvailable="0" WirelessMode="1" WirelessLeafOnly="0" HasConfiguredSSID="1" ChannelFreq="2412" BehindWifiExtender="0" WifiEnabled="1" Orientation="0" RoomCalibrationState="4" SecureRegState="3" VoiceState="0" AirPlayEnabled="0"/></ZoneGroup></ZoneGroups>',
  ThirdPartyMediaServersX: '2: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',
  AvailableSoftwareUpdate: '<UpdateItem xmlns="urn:schemas-rinconnetworks-com:update-1-0" Type="Software" Version="46.3-57250" UpdateURL="http://update-firmware.sonos.com/firmware/Gold/46.3-57271-v9.2-bogynm-GA-1/^46.3-57250" DownloadSize="0" ManifestURL="http://update-firmware.sonos.com/firmware/Gold/46.3-58150-v9.2.1-fqhnxf-SP-1/update_1539648149.upm"/>',
  AlarmRunSequence: 'RINCON_949F3E73A72201400:8097:0',
  ZoneGroupName: '',
  ZoneGroupID: '',
  ZonePlayerUUIDsInGroup: '',
  MuseHouseholdId: 'Sonos_HlwmQqFzIbwHN9nbT0nVtpHrNl.8vcCoN4y5fRW8BC2fcBI' }
[D] Service Event
[D] [SC] Client ID set LBCcHmRB8XSStWL6wKH2HPACspQlXg2P
[D] Got connection
[D] New client, now we have 1 client
[D] Got connection
[D] New client, now we have 2 clients
[D] Got connection
[D] New client, now we have 3 clients
[D] Playing Direct File (http://undefined:8888/plugins/youtube/play/nQWFzMvCfLE.mp4)
[D] [object Object]
[D] Playing Direct File (http://undefined:8888/plugins/youtube/play/nQWFzMvCfLE.mp4)
[D] [object Object]
[D] Playing Direct File (http://undefined:8888/plugins/youtube/play/nQWFzMvCfLE.mp4)
[D] [object Object]
[D] Service Event
[D] Got a new event with enpoint: /MediaServer/ContentDirectory/Event
[D] Service Event
[D] Got a new event with enpoint: /MediaServer/ContentDirectory/Event
[D] Playing Direct File (http://undefined:8888/plugins/youtube/play/nQWFzMvCfLE.mp4)
[D] [object Object]
[D] Playing Direct File (http://undefined:8888/plugins/youtube/play/nQWFzMvCfLE.mp4)
[D] [object Object]
[D] Playing Direct File (http://undefined:8888/plugins/youtube/play/nQWFzMvCfLE.mp4)
[D] [object Object]
[D] Service Event
[D] Got a new event with enpoint: /MediaServer/ContentDirectory/Event
[D] Service Event
[D] Got a new event with enpoint: /MediaServer/ContentDirectory/Event
[D] Playing Direct File (http://undefined:8888/plugins/youtube/play/qCZAynQU_-8.mp4)
[D] [object Object]
[D] Playing Direct File (http://undefined:8888/plugins/youtube/play/qCZAynQU_-8.mp4)
[D] [object Object]
[D] Playing Direct File (http://undefined:8888/plugins/youtube/play/qCZAynQU_-8.mp4)
[D] [object Object]
[D] Service Event
[D] Got a new event with enpoint: /MediaServer/ContentDirectory/Event
[D] Service Event
[D] Service Event
[D] Service Event
[D] Service Event
[ { '$': { val: '0' },
    TransportState: [ { '$': { val: 'TRANSITIONING' } } ],
    CurrentPlayMode: [ { '$': { val: 'NORMAL' } } ],
    CurrentCrossfadeMode: [ { '$': { val: '0' } } ],
    NumberOfTracks: [ { '$': { val: '1' } } ],
    CurrentTrack: [ { '$': { val: '1' } } ],
    CurrentSection: [ { '$': { val: '0' } } ],
    CurrentTrackURI: [ { '$': { val: 'http://10.30.2.90:2252/c7O91GDWGPU.mp4' } } ],
    CurrentTrackDuration: [ { '$': { val: '0:00:00' } } ],
    CurrentTrackMetaData: 
     [ { '$': 
          { val: '<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="http-get:*:audio/mp4:*">http://10.30.2.90:2252/c7O91GDWGPU.mp4</res><r:streamContent></r:streamContent><dc:title>Rossini: William Tell Overture: Final</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator></dc:creator><upnp:album></upnp:album><upnp:albumArtURI>https://i.ytimg.com/vi/c7O91GDWGPU/hqdefault.jpg</upnp:albumArtURI></item></DIDL-Lite>' } } ],
    'r:NextTrackURI': [ { '$': { val: '' } } ],
    'r:NextTrackMetaData': [ { '$': { val: '' } } ],
    'r:EnqueuedTransportURI': [ { '$': { val: 'http://10.30.2.90:2252/c7O91GDWGPU.mp4' } } ],
    'r:EnqueuedTransportURIMetaData': 
     [ { '$': 
          { val: '<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="http-get:*:audio/mp4:*">http://10.30.2.90:2252/c7O91GDWGPU.mp4</res><r:streamContent></r:streamContent><dc:title>Rossini: William Tell Overture: Final</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator></dc:creator><upnp:album></upnp:album><upnp:albumArtURI>https://i.ytimg.com/vi/c7O91GDWGPU/hqdefault.jpg</upnp:albumArtURI></item></DIDL-Lite>' } } ],
    TransportStatus: [ { '$': { val: 'ERROR_CANT_REACH_SERVER' } } ],
    TransportErrorDescription: 
     [ { '$': 
          { val: '2,0,Rossini: William Tell Overture: Final,10.30.2.90:2252,http://10.30.2.90:2252/c7O91GDWGPU.mp4,' } } ],
    TransportErrorURI: [ { '$': { val: 'http://10.30.2.90:2252/c7O91GDWGPU.mp4' } } ] } ]
[D] Service Event
[ { '$': { val: '0' },
    TransportState: [ { '$': { val: 'STOPPED' } } ],
    CurrentPlayMode: [ { '$': { val: 'NORMAL' } } ],
    CurrentCrossfadeMode: [ { '$': { val: '0' } } ],
    NumberOfTracks: [ { '$': { val: '1' } } ],
    CurrentTrack: [ { '$': { val: '1' } } ],
    CurrentSection: [ { '$': { val: '0' } } ],
    CurrentTrackURI: [ { '$': { val: 'http://10.30.2.90:2252/c7O91GDWGPU.mp4' } } ],
    CurrentTrackDuration: [ { '$': { val: '0:00:00' } } ],
    CurrentTrackMetaData: 
     [ { '$': 
          { val: '<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="http-get:*:audio/mp4:*">http://10.30.2.90:2252/c7O91GDWGPU.mp4</res><r:streamContent></r:streamContent><dc:title>Rossini: William Tell Overture: Final</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator></dc:creator><upnp:album></upnp:album><upnp:albumArtURI>https://i.ytimg.com/vi/c7O91GDWGPU/hqdefault.jpg</upnp:albumArtURI></item></DIDL-Lite>' } } ],
    'r:NextTrackURI': [ { '$': { val: '' } } ],
    'r:NextTrackMetaData': [ { '$': { val: '' } } ],
    'r:EnqueuedTransportURI': [ { '$': { val: 'http://10.30.2.90:2252/c7O91GDWGPU.mp4' } } ],
    'r:EnqueuedTransportURIMetaData': 
     [ { '$': 
          { val: '<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><res protocolInfo="http-get:*:audio/mp4:*">http://10.30.2.90:2252/c7O91GDWGPU.mp4</res><r:streamContent></r:streamContent><dc:title>Rossini: William Tell Overture: Final</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:creator></dc:creator><upnp:album></upnp:album><upnp:albumArtURI>https://i.ytimg.com/vi/c7O91GDWGPU/hqdefault.jpg</upnp:albumArtURI></item></DIDL-Lite>' } } ],
    TransportStatus: [ { '$': { val: 'ERROR_CANT_REACH_SERVER' } } ],
    TransportErrorDescription: 
     [ { '$': 
          { val: '2,0,Rossini: William Tell Overture: Final,10.30.2.90:2252,http://10.30.2.90:2252/c7O91GDWGPU.mp4,' } } ],
    TransportErrorURI: [ { '$': { val: 'http://10.30.2.90:2252/c7O91GDWGPU.mp4' } } ] } ]
^C
[root@darkdreams sonos-web]# npm start > sonos-web.log
(node:20717) UnhandledPromiseRejectionWarning: StatusCodeError: 500 - "<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns=\"urn:schemas-upnp-org:control-1-0\"><errorCode>800</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>"
    at new StatusCodeError (/opt/sonos-web/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (/opt/sonos-web/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1161:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9)
(node:20717) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:20717) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:20717) UnhandledPromiseRejectionWarning: StatusCodeError: 500 - "<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns=\"urn:schemas-upnp-org:control-1-0\"><errorCode>800</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>"
    at new StatusCodeError (/opt/sonos-web/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (/opt/sonos-web/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1161:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9)
(node:20717) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:20717) UnhandledPromiseRejectionWarning: StatusCodeError: 500 - "<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns=\"urn:schemas-upnp-org:control-1-0\"><errorCode>800</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>"
    at new StatusCodeError (/opt/sonos-web/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (/opt/sonos-web/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1161:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9)
(node:20717) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:20717) UnhandledPromiseRejectionWarning: StatusCodeError: 500 - "<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns=\"urn:schemas-upnp-org:control-1-0\"><errorCode>800</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>"
    at new StatusCodeError (/opt/sonos-web/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (/opt/sonos-web/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1161:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9)
(node:20717) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
(node:20717) UnhandledPromiseRejectionWarning: StatusCodeError: 500 - "<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns=\"urn:schemas-upnp-org:control-1-0\"><errorCode>800</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>"
    at new StatusCodeError (/opt/sonos-web/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (/opt/sonos-web/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1161:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9)
(node:20717) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
(node:20717) UnhandledPromiseRejectionWarning: StatusCodeError: 500 - "<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns=\"urn:schemas-upnp-org:control-1-0\"><errorCode>800</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>"
    at new StatusCodeError (/opt/sonos-web/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (/opt/sonos-web/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1161:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9)
(node:20717) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6)

@denysvitali
Copy link
Owner

This is caused by the fact that your server's IP address cannot be found (multiple network interfaces?).
You can fix this error by adding:
"ip": "10.30.2.x" (change that with the IP of the PC that sonos-web is running on) to the settings.json file (:
Clear the queue, then retry. It should work 🚀

@parallelsys
Copy link
Author

parallelsys commented Oct 27, 2018

It did not work.

[D] Got an error: Error: Hostname/IP doesn't match certificate's altnames: "Host: d.ymcdn.cc. is not in the cert's altnames: DNS:*.user.fm, DNS:user.fm"
Video ID: gh72dXr4fTM
[D] Got an error: Error: Hostname/IP doesn't match certificate's altnames: "Host: d.ymcdn.cc. is not in the cert's altnames: DNS:*.user.fm, DNS:user.fm"
Video ID: gh72dXr4fTM
[D] Got an error: Error: Hostname/IP doesn't match certificate's altnames: "Host: d.ymcdn.cc. is not in the cert's altnames: DNS:*.user.fm, DNS:user.fm"
Video ID: gh72dXr4fTM
[D] Got an error: Error: Hostname/IP doesn't match certificate's altnames: "Host: d.ymcdn.cc. is not in the cert's altnames: DNS:*.user.fm, DNS:user.fm"
Video ID: gh72dXr4fTM
[D] Got an error: Error: Hostname/IP doesn't match certificate's altnames: "Host: d.ymcdn.cc. is not in the cert's altnames: DNS:*.user.fm, DNS:user.fm"
Video ID: gh72dXr4fTM
[D] Got an error: Error: Hostname/IP doesn't match certificate's altnames: "Host: d.ymcdn.cc. is not in the cert's altnames: DNS:*.user.fm, DNS:user.fm"
[D] Service Event
[ { '$': { val: '0' },
    TransportState: [ { '$': { val: 'STOPPED' } } ],
    CurrentPlayMode: [ { '$': { val: 'NORMAL' } } ],
    CurrentCrossfadeMode: [ { '$': { val: '0' } } ],
    NumberOfTracks: [ { '$': { val: '6' } } ],
    CurrentTrack: [ { '$': { val: '1' } } ],
    CurrentSection: [ { '$': { val: '0' } } ],
    CurrentTrackURI: 
     [ { '$': 
          { val: 'http://10.30.2.54:8888/plugins/youtube/play/gh72dXr4fTM.mp4' } } ],
    CurrentTrackDuration: [ { '$': { val: '0:02:37' } } ],
    CurrentTrackMetaData: 
     [ { '$': 
          { val: '<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"> <item id="-1" parentID="-1"> \t<res protocolInfo="http-get:*:audio/mpeg:*" duration="0:02:37">http://10.30.2.54:8888/plugins/youtube/play/gh72dXr4fTM.mp4</res> \t<upnp:albumArtURI>https://i.ytimg.com/vi/gh72dXr4fTM/maxresdefault.jpg</upnp:albumArtURI> \t<upnp:class>object.item.audioItem.musicTrack</upnp:class> \t<dc:title>Kendrick Lamar - HUMBLE. (Skrillex Remix) [Official Audio]</dc:title> \t<dc:creator>Skrillex - YouTube</dc:creator> \t<upnp:album></upnp:album> \t<!--<upnp:originalTrackNumber>2</upnp:originalTrackNumber>--> </item> </DIDL-Lite>' } } ],
    'r:NextTrackURI': 
     [ { '$': 
          { val: 'http://10.30.2.54:8888/plugins/youtube/play/gh72dXr4fTM.mp4' } } ],
    'r:NextTrackMetaData': 
     [ { '$': 
          { val: '<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"> <item id="-1" parentID="-1"> \t<res protocolInfo="http-get:*:audio/mpeg:*" duration="0:02:37">http://10.30.2.54:8888/plugins/youtube/play/gh72dXr4fTM.mp4</res> \t<upnp:albumArtURI>https://i.ytimg.com/vi/gh72dXr4fTM/maxresdefault.jpg</upnp:albumArtURI> \t<upnp:class>object.item.audioItem.musicTrack</upnp:class> \t<dc:title>Kendrick Lamar - HUMBLE. (Skrillex Remix) [Official Audio]</dc:title> \t<dc:creator>Skrillex - YouTube</dc:creator> \t<upnp:album></upnp:album> \t<!--<upnp:originalTrackNumber>2</upnp:originalTrackNumber>--> </item> </DIDL-Lite>' } } ],
    'r:EnqueuedTransportURI': 
     [ { '$': 
          { val: 'http://10.30.2.54:8888/plugins/youtube/play/gh72dXr4fTM.mp4' } } ],
    'r:EnqueuedTransportURIMetaData': 
     [ { '$': 
          { val: '<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"> <item id="-1" parentID="-1"> \t<res protocolInfo="http-get:*:audio/mpeg:*" duration="0:02:37">http://10.30.2.54:8888/plugins/youtube/play/gh72dXr4fTM.mp4</res> \t<upnp:albumArtURI>https://i.ytimg.com/vi/gh72dXr4fTM/maxresdefault.jpg</upnp:albumArtURI> \t<upnp:class>object.item.audioItem.musicTrack</upnp:class> \t<dc:title>Kendrick Lamar - HUMBLE. (Skrillex Remix) [Official Audio]</dc:title> \t<dc:creator>Skrillex - YouTube</dc:creator> \t<upnp:album></upnp:album> \t<!--<upnp:originalTrackNumber>2</upnp:originalTrackNumber>--> </item> </DIDL-Lite>' } } ],
    PlaybackStorageMedium: [ { '$': { val: 'NETWORK' } } ],
    AVTransportURI: 
     [ { '$': { val: 'x-rincon-queue:RINCON_949F3E73A72201400#0' } } ],
    AVTransportURIMetaData: [ { '$': { val: '' } } ],
    CurrentTransportActions: 
     [ { '$': 
          { val: 'Set, Stop, Pause, Play, X_DLNA_SeekTime, Next, X_DLNA_SeekTrackNr' } } ],
    'r:CurrentValidPlayModes': [ { '$': { val: 'SHUFFLE,REPEAT,REPEATONE,CROSSFADE' } } ],
    TransportStatus: [ { '$': { val: 'ERROR_CORRUPT_FILE' } } ],
    TransportErrorDescription: 
     [ { '$': 
          { val: '11,0,Kendrick Lamar - HUMBLE. (Skrillex Remix) [Official Audio],10.30.2.54:8888,http://10.30.2.54:8888/plugins/youtube/play/gh72dXr4fTM.mp4,' } } ],
    TransportErrorURI: 
     [ { '$': 
          { val: 'http://10.30.2.54:8888/plugins/youtube/play/gh72dXr4fTM.mp4' } } ] } ]
[D] Service Event
[D] Service Event

@denysvitali
Copy link
Owner

You now need to disable the "external_provider" feature (set it to disabled in settings.json).

@parallelsys
Copy link
Author

parallelsys commented Oct 28, 2018

Still wont work :(

(node:3590) UnhandledPromiseRejectionWarning: StatusCodeError: 500 - "<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns=\"urn:schemas-upnp-org:control-1-0\"><errorCode>800</errorCode></UPnPError></detail></s:Fault></s:Body></s:Envelope>"
    at new StatusCodeError (/opt/sonos-web/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (/opt/sonos-web/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (/opt/sonos-web/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1161:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/opt/sonos-web/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9)
(node:3590) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 12)

@denysvitali
Copy link
Owner

Meh, it doesn't look like a Sonos-Web issue 🤔
Can you try by clearing the queue and adding again a single youtube video to the queue?

@svrooij
Copy link

svrooij commented Dec 9, 2019

The sonos won't play anything other then mp3 or flaac. So you'll have to convert the video to mp3 only before playing. Like with ffmpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants