Home of the Squeezebox™ & Transporter® network music players.
Page 26 of 28 FirstFirst ... 162425262728 LastLast
Results 251 to 260 of 275
  1. #251
    Junior Member
    Join Date
    Dec 2016
    Posts
    12
    Quote Originally Posted by philippe_44 View Post
    Does it do the same in term of every 60s interruption?
    YES, takes about 6-7 seconds to start, then plays for about 55s and drops out for 3s.
    I have also just noticed that when playing from itunes, the timing is off, the track plays too fast.

  2. #252
    Junior Member
    Join Date
    Dec 2016
    Posts
    12
    Quote Originally Posted by Sailorboy View Post
    YES, takes about 6-7 seconds to start, then plays for about 55s and drops out for 3s.
    I have also just noticed that when playing from itunes, the timing is off, the track plays too fast.
    As I keep playing a track, the interval of drop out seems to be reducing; first drop at around 60s, second at 45s, third at 40s.

  3. #253
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    2,890
    Quote Originally Posted by Sailorboy View Post
    As I keep playing a track, the interval of drop out seems to be reducing; first drop at around 60s, second at 45s, third at 40s.
    And you have no drop when you play to a real SB, correct?

    [edit]: maybe we could move to PM to avoid loading too much the forum
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express

  4. #254
    Junior Member
    Join Date
    Dec 2016
    Posts
    12
    Quote Originally Posted by philippe_44 View Post
    And you have no drop when you play to a real SB, correct?

    [edit]: maybe we could move to PM to avoid loading too much the forum
    Yes, mostly correct. I can get a very quick drop out (less than a second) playing TIDAL through the bridge. Might happen once over a playlist of 5-6 albums (3-4 hours).

    Yes, will move to PM now.

  5. #255
    Senior Member
    Join Date
    Jan 2011
    Location
    Germany
    Posts
    179

    Shairtunes not starting due to not found executables...

    Hi Philippe,

    I got a strange behavior in Shaitunes2W. I have several iOS 10.3 clients and one iTunes 12.something. (all latest version).

    First of all I connect the clients to LMS/Shairtunes2W which seems to work.

    Code:
    [17-04-04 21:29:50.8157] Plugins::ShairTunes2W::Plugin::handleSocketConnect (388) New connection from: 192.168.47.88
    [17-04-04 21:29:50.8186] Plugins::ShairTunes2W::Plugin::handleSocketRead (526) header: OPTIONS * RTSP/1.0
    CSeq: 0
    DACP-ID: AAC8BEEEEFC2166B
    Active-Remote: 1853094913
    User-Agent: AirPlay/320.20
    
    [17-04-04 21:29:50.8192] Plugins::ShairTunes2W::Plugin::handleSocketRead (536) ContentBody length already received: 0
    [17-04-04 21:29:50.8203] Plugins::ShairTunes2W::Plugin::conn_handle_request (722) got command / method: OPTIONS
    [17-04-04 21:29:50.8206] Plugins::ShairTunes2W::Plugin::conn_handle_request (738) DACP-ID: AAC8BEEEEFC2166B, Active Remote: 1853094913
    [17-04-04 21:29:50.8208] Plugins::ShairTunes2W::Plugin::conn_handle_request (739) Send mDNS data: _dacp._tcp.local, $VAR1 = '_dacp_tcplocal
                                                                                                                                               ';
    [17-04-04 21:29:50.8211] Plugins::ShairTunes2W::Plugin::conn_handle_request (1011) 
    
    PLAYER_MESSAGE_START: 
    RTSP/1.0 200 OK
    Audio-Jack-Status: connected; type=analog
    CSeq: 0
    Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER
    
    
    PLAYER_MESSAGE_END
    Then I press the "Play" button in the Apple Software which results in the following debug log:
    Code:
    [17-04-04 21:30:22.2208] Plugins::ShairTunes2W::Plugin::handleSocketRead (526) header: OPTIONS * RTSP/1.0
    CSeq: 1
    DACP-ID: AAC8BEEEEFC2166B
    Active-Remote: 1853094913
    User-Agent: AirPlay/320.20
    
    [17-04-04 21:30:22.2215] Plugins::ShairTunes2W::Plugin::handleSocketRead (536) ContentBody length already received: 0
    [17-04-04 21:30:22.2227] Plugins::ShairTunes2W::Plugin::conn_handle_request (722) got command / method: OPTIONS
    [17-04-04 21:30:22.2236] Plugins::ShairTunes2W::Plugin::conn_handle_request (738) DACP-ID: AAC8BEEEEFC2166B, Active Remote: 1853094913
    [17-04-04 21:30:22.2243] Plugins::ShairTunes2W::Plugin::conn_handle_request (739) Send mDNS data: _dacp._tcp.local, $VAR1 = '_dacp_tcplocal
                                                                                                                                               ';
    [17-04-04 21:30:22.2251] Plugins::ShairTunes2W::Plugin::conn_handle_request (1011) 
    
    PLAYER_MESSAGE_START: 
    RTSP/1.0 200 OK
    Audio-Jack-Status: connected; type=analog
    CSeq: 1
    Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER
    
    
    PLAYER_MESSAGE_END
    
    [17-04-04 21:30:22.2545] Plugins::ShairTunes2W::Plugin::handleSocketRead (526) header: OPTIONS * RTSP/1.0
    Apple-Challenge: oKICqF4QsB/O3XY3UO/utA==
    CSeq: 2
    DACP-ID: AAC8BEEEEFC2166B
    Active-Remote: 1853094913
    User-Agent: AirPlay/320.20
    
    [17-04-04 21:30:22.2551] Plugins::ShairTunes2W::Plugin::handleSocketRead (536) ContentBody length already received: 0
    [17-04-04 21:30:22.2835] Plugins::ShairTunes2W::Plugin::conn_handle_request (722) got command / method: OPTIONS
    [17-04-04 21:30:22.2838] Plugins::ShairTunes2W::Plugin::conn_handle_request (738) DACP-ID: AAC8BEEEEFC2166B, Active Remote: 1853094913
    [17-04-04 21:30:22.2841] Plugins::ShairTunes2W::Plugin::conn_handle_request (739) Send mDNS data: _dacp._tcp.local, $VAR1 = '_dacp_tcplocal
                                                                                                                                               ';
    [17-04-04 21:30:22.2843] Plugins::ShairTunes2W::Plugin::conn_handle_request (1011) 
    
    PLAYER_MESSAGE_START: 
    RTSP/1.0 200 OK
    Apple-Response: ga8LQ5nF6lLL9i+r0RLbhmO2eY3rywCKtZ/ntyADzZXuVzcVVZX4IWPFrnPxf0mjPdHXjEyA3RK8fGPCS/OrZdmtMTyGMhouJ8Uq9EOSGLefZJGXcpdv6bLh+1d0EwucCMzP3BRw1A7/kWESB1CAdVRmn1jVKbbOWQzUTyuyBVyo0UMGFbqf+y53uAhS8NTF9or6GPTYgbDyQSUf7PDMTD03c9OXPk6sKpYwm1EvyW3uYMpoYsDtIJWIfZnmm1hDbGFLwnHt58ckyG/uy+h8f3Pp3Owo3vx+VyxdCFFf/FGZnsJvP/L1KbwZoa7UJIGGnxpkdk4qg0I+mV6X7Noq8g
    Audio-Jack-Status: connected; type=analog
    CSeq: 2
    Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER
    
    
    PLAYER_MESSAGE_END
    
    [17-04-04 21:30:22.2936] Plugins::ShairTunes2W::Plugin::handleSocketRead (526) header: ANNOUNCE rtsp://192.168.47.11/10590304467113429081 RTSP/1.0
    Content-Length: 643
    Content-Type: application/sdp
    CSeq: 3
    DACP-ID: AAC8BEEEEFC2166B
    Active-Remote: 1853094913
    User-Agent: AirPlay/320.20
    
    v=0
    o=AirTunes 10590304467113429081 0 IN IP4 192.168.47.88
    s=AirTunes
    i=iPhone7
    c=IN IP4 192.168.47.88
    t=0 0
    m=audio 0 RTP/AVP 96
    a=rtpmap:96 AppleLossless
    a=fmtp:96 352 0 16 40 10 14 2 255 0 0 44100
    a=rsaaeskey:fbOCYlxUd2kDonQd+aSLUlpLmeMmAz9C7XOCITqfEL/TQY5cqbydl1mI1sjFSwno5WbJMD2269ord4kknivD7HdHVA4BwDTBLNAVB/UJxBjdBpEqgXBayE9EnGQ9UMPHeFt4d0YPdMJCnq75phwA8/UzjNVkDYMYKLYG0h8tFB58iIA5FdpzpMdYnOID+0WVaFhtbBA1zOWMwgmyqGV2Ni7Ucrd94SLUgP2Vsbl+LCX1ca5CPUuQ3dYThyhJ5sPuy6rWcdCdZ108g1GaiOQvHtDjMqXAEyqxgSQPuSKkDUeEyk3OeFov/4/wkQDDCWHGFzY58u8NnNkziTuXe/WZEw==
    a=aesiv:td/MsWMBuIdtB54pvSGdmQ==
    a=min-latency:11025
    a=max-latency:88200
    [17-04-04 21:30:22.2938] Plugins::ShairTunes2W::Plugin::handleSocketRead (533) Content Length is: 643
    [17-04-04 21:30:22.2940] Plugins::ShairTunes2W::Plugin::handleSocketRead (536) ContentBody length already received: 643
    [17-04-04 21:30:22.2948] Plugins::ShairTunes2W::Plugin::conn_handle_request (722) got command / method: ANNOUNCE
    [17-04-04 21:30:22.3032] Plugins::ShairTunes2W::Plugin::conn_handle_request (1011) 
    
    PLAYER_MESSAGE_START: 
    RTSP/1.0 200 OK
    Audio-Jack-Status: connected; type=analog
    CSeq: 3
    
    
    PLAYER_MESSAGE_END
    
    [17-04-04 21:30:22.3084] Plugins::ShairTunes2W::Plugin::handleSocketRead (526) header: SETUP rtsp://192.168.47.11/10590304467113429081 RTSP/1.0
    Transport: RTP/AVP/UDP;unicast;mode=record;timing_port=65147;control_port=54694
    CSeq: 4
    DACP-ID: AAC8BEEEEFC2166B
    Active-Remote: 1853094913
    User-Agent: AirPlay/320.20
    
    [17-04-04 21:30:22.3086] Plugins::ShairTunes2W::Plugin::handleSocketRead (536) ContentBody length already received: 0
    [17-04-04 21:30:22.3090] Plugins::ShairTunes2W::Plugin::conn_handle_request (722) got command / method: SETUP
    [17-04-04 21:30:22.3097] Plugins::ShairTunes2W::Plugin::conn_handle_request (799) decode command: $VAR1 = 'ipv4_only';
    $VAR2 = 'socket';
    $VAR3 = '60893,38645,62749';
    $VAR4 = 'iv';
    $VAR5 = 'b5dfccb16301b8876d079e29bd219d99';
    $VAR6 = 'key';
    $VAR7 = '8042641c802c22b52fbbc64205eee732';
    $VAR8 = 'fmtp';
    $VAR9 = '96 352 0 16 40 10 14 2 255 0 0 44100';
    $VAR10 = 'cport';
    $VAR11 = '54694';
    $VAR12 = 'tport';
    $VAR13 = '65147';
    [17-04-04 21:30:22.3101] Slim::Utils::Misc::msg (1244) Warning: [21:30:22.3100] /opt/lms-7.9.0/slimserver.pl: no executable program located at /opt/lms-7.9.0/Bin/i86pc-solaris-thread-multi-64int
    [17-04-04 21:30:27.3117] Slim::Utils::Misc::msg (1244) Warning: [21:30:27.3111] Use of uninitialized value $helper_pid in concatenation (.) or string at /export/lmsdata/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 842.
    [17-04-04 21:30:27.3125] Plugins::ShairTunes2W::Plugin::conn_handle_request (842) launched decoder:  on ports: ///, http port: 39513
    [17-04-04 21:30:27.3135] Plugins::ShairTunes2W::Plugin::conn_handle_request (1011) 
    
    PLAYER_MESSAGE_START: 
    RTSP/1.0 200 OK
    Audio-Jack-Status: connected; type=analog
    CSeq: 4
    Session: DEADBEEF
    Transport: RTP/AVP/UDP;unicast;mode=record;control_port=;timing_port=;server_port=
    
    
    PLAYER_MESSAGE_END
    
    [17-04-04 21:30:27.3156] Plugins::ShairTunes2W::Plugin::mDNSlistener (1040) Found remote: AAC8BEEEEFC2166B, 192.168.47.88:53683
    [17-04-04 21:30:27.3238] Plugins::ShairTunes2W::Plugin::handleSocketRead (515) Closed: IO::Socket::INET=GLOB(0xcd2ba70)
    The lines I do not understand are these ones:
    Code:
    [17-04-04 21:30:22.3101] Slim::Utils::Misc::msg (1244) Warning: [21:30:22.3100] /opt/lms-7.9.0/slimserver.pl: no executable program located at /opt/lms-7.9.0/Bin/i86pc-solaris-thread-multi-64int
    [17-04-04 21:30:27.3117] Slim::Utils::Misc::msg (1244) Warning: [21:30:27.3111] Use of uninitialized value $helper_pid in concatenation (.) or string at /export/lmsdata/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 842.
    Could you give me a hint where to look for the bug???
    Which executable is LMS searching where?
    The helper binary is installed from your repo automatically into the respective cache/InstalledPlugins-folder and starts without any problems and is also accessible.

    Thanks a lot for your help.

    Best regards.

  6. #256
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    2,890
    Quote Originally Posted by chincheta0815 View Post
    Hi Philippe,

    The lines I do not understand are these ones:
    Code:
    [17-04-04 21:30:22.3101] Slim::Utils::Misc::msg (1244) Warning: [21:30:22.3100] /opt/lms-7.9.0/slimserver.pl: no executable program located at /opt/lms-7.9.0/Bin/i86pc-solaris-thread-multi-64int
    [17-04-04 21:30:27.3117] Slim::Utils::Misc::msg (1244) Warning: [21:30:27.3111] Use of uninitialized value $helper_pid in concatenation (.) or string at /export/lmsdata/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 842.
    Could you give me a hint where to look for the bug???
    Which executable is LMS searching where?
    The helper binary is installed from your repo automatically into the respective cache/InstalledPlugins-folder and starts without any problems and is also accessible.

    Thanks a lot for your help.

    Best regards.
    Is this a new thing? It used to work before as I did the solaris versio explicitely for you. Did you change something in LMS or your Solaris version? The plugin is locating the helper automatically
    Code:
    	if ($os->{'os'} eq 'Solaris') {
    		$bin = "shairport_helper-i86pc-solaris";
    	}	
    	
    	if ($os->{'os'} ne 'Windows') {
    		my $exec = catdir(Slim::Utils::PluginManager->allPlugins->{'ShairTunes2W'}->{'basedir'}, 'Bin', $bin);
    		$exec = Slim::Utils::OSDetect::getOS->decodeExternalHelperPath($exec);
    			
    		if (!((stat($exec))[2] & 0100)) {
    			$log->warn('executable not having \'x\' permission, correcting');
    			chmod (0555, $exec);
    		}	
    	}	
    	
    	my $shairtunes_helper = Slim::Utils::Misc::findbin($bin) || do {
    		$log->warn("$bin not found");
    		return;
    	};
    
    	$shairtunes_helper = Slim::Utils::OSDetect::getOS->decodeExternalHelperPath($shairtunes_helper);
    			
    	if (!-e $shairtunes_helper) {
    		$log->warn("$shairtunes_helper not executable");
    		return;
    	}
    So it should whine if it does not find it. Do you have something (the executable) by mistake in /opt/lms-7.9.0/ ?
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express

  7. #257
    Senior Member
    Join Date
    Jan 2011
    Location
    Germany
    Posts
    179
    [QUOTE=philippe_44;880189]Is this a new thing? It used to work before as I did the solaris versio explicitely for you. Did you change something in LMS or your Solaris version? The plugin is locating the helper automatically[/QUOTA]
    The error message is totally new, also to me. I never had that before. It worked perfectly while you were developing the plugin for solaris.

    Quote Originally Posted by philippe_44 View Post
    So it should whine if it does not find it. Do you have something (the executable) by mistake in /opt/lms-7.9.0/ ?
    I know the message when it does not find it. The Utils code is also known to me. In my version of the plusing I did some years ago I put something similar...

    Now I just do not get the clue of the line that there is "no executable in /opt/lms-7.9.0/Bin..."

    For your info:
    -> I only updated my solaris via pkg. I did that very often before without problems in LMS. Everything else in LMS works perfectly.
    -> /opt/lms-7.9.1 is the directory my LMS code resides (git repo of slimserver.git)
    -> I updated to the latest lms-7.9.1, problem stays the same
    -> I copied the helper binary to that path /opt/lms-7.9.1/Bin/i86pc-solaris-thread-multi-64int, the error message stays the same
    -> I started the help manually to see whether there is a problem with the binary: It starts without problems.

    I would dig really deep into it, put I cannot interpret the error message that there is "no exectuable program located at in /opt/lms-7.9.1/Bin/i86pc-solaris-thread-multi-64int" as I do not find the lines causing this message... To me it seems that this is not directly linked into the plugin's code...
    That there is no helper_pid set afterwards should be the logical consequence of the not found executable...

  8. #258
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    2,890

    announce: ShairTunes2W - Airtunes on LMS (forked version with Windows support)

    Can you put a log in utils.pm for the bin and exec?

    [edit]: and shairtunes_helper as well. Just to be sure, there is no log to complain about the binary not being executable (should not because you're able to run it manually)


    EnvoyÚ de mon iPad en utilisant Tapatalk
    Last edited by philippe_44; 2017-04-04 at 21:37.
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express

  9. #259
    Senior Member
    Join Date
    Jan 2011
    Location
    Germany
    Posts
    179
    Quote Originally Posted by philippe_44 View Post
    Can you put a log in utils.pm for the bin and exec?

    [edit]: and shairtunes_helper as well. Just to be sure, there is no log to complain about the binary not being executable (should not because you're able to run it manually)
    Shure I can.
    Do you need some special info like the helper search path, binary name or so?
    Just to make shure up front I get as much info you need

    Another information that might be important:
    -> Michael put some decoder/encoder binaries into "<lmsBaseDir>/Bin/i86-solaris.../", so this path did not exist as we both worked on the version for solaris (okay you worked, I tested). Maybe that is a problem? Do we maybe need some specialsfor the OS in ".../Slim/Utils/OS/"?
    -> I remember that I defintively worked well in version 0.50... of Shairtunes2W without the binaries in "i86-solaris", did you change some code for the helper-binary finding process?

    As I do not have access to my LMS right now I will post the log then this afternoon...

  10. #260
    Senior Member
    Join Date
    Jan 2011
    Location
    Germany
    Posts
    179
    I digged a little bit in the code:

    As you are using a lot of LMS routines (as it has to be for professional coding), it might be possible that LMS does not find the help due to search path problems...

    Is it possible that there is a file such as "https://github.com/Logitech/slimserver/blob/public/7.9/Slim/Utils/OS/Linux.pm" needed?
    If yes what shall I put in there?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •