[RELEASE]XSqueeze - Squeezebox player, music chooser and visualiser for XBMC

  Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
volleynbike Offline
Junior Member
Posts: 13
Joined: Jan 2015
Reputation: 0
Post: #1396
I have OpenELEC 5.0.0 on RPi.
Installed XSqueeze from repository (v1.1.6).
Followed instructions from Add-on:XSqueeze#General_Issues. (wiki)
If i start XSqueeze from OpenELEC GUI, it gives "can't find player" error then it exits.
If i start squeezelite from command line, it works and plays music from my LMS (lthough streaming radio from internet gives "cant play ... file" error.)

When loading XSqueeze from GUI this is the log error:
11:59:47 T:2756703296 NOTICE: ### XSqueeze - 1.1.6 ### Process ID for player is 981
11:59:47 T:2756703296 NOTICE: ### XSqueeze - 1.1.6 ### Brief pause for dust to settle - 1
11:59:52 T:2756703296 ERROR: Traceback (most recent call last):
11:59:52 T:2756703296 ERROR: File "/storage/.kodi/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 205, in __init__
11:59:52 T:2756703296 ERROR: self.player = SqueezePlayer()
11:59:52 T:2756703296 ERROR: File "/storage/.kodi/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 110, in __init__
11:59:52 T:2756703296 ERROR: raise Exception
11:59:52 T:2756703296 ERROR: Exception
11:59:52 T:2756703296 ERROR: Traceback (most recent call last):
11:59:52 T:2756703296 ERROR: File "/storage/.kodi/addons/script.xsqueeze/default.py", line 363, in <module>
11:59:52 T:2756703296 ERROR: window = NowPlayingWindow("XSqueezeNowPlaying" + version_stub + ".xml",CWD,"Default")
11:59:52 T:2756703296 ERROR: File "/storage/.kodi/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 205, in __init__
11:59:52 T:2756703296 ERROR: self.player = SqueezePlayer()
11:59:52 T:2756703296 ERROR: File "/storage/.kodi/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py", line 110, in __init__
11:59:52 T:2756703296 ERROR: raise Exception
11:59:52 T:2756703296 ERROR: Exception
11:59:52 T:2756703296 NOTICE: ### XSqueeze - 1.1.6 ### Doing Cleanup
11:59:52 T:2756703296 NOTICE: ### XSqueeze - 1.1.6 ### Killing player process...

Any suggestions?
find quote
bossanova808 Offline
Donor
Posts: 2,621
Joined: Sep 2009
Reputation: 45
Location: Melbourne, Australia
Post: #1397
I suggest you post a full debug log

(note how I ask for this for every single help request? There's a reason!).

Sorry, no help w/out a *full debug log*
find quote
DanielSon Offline
Junior Member
Posts: 1
Joined: Jan 2015
Reputation: 0
Post: #1398
I have an ERROR 409, no mp3 playback. Need help.
Setup =
1 x RPi Server Squeezeplug 7.5 running LMS with USB HDD connected with huge MP3 collection.
3 x RPi Openelec Kodi V5 running xsqueeze /squeezelite.
2 x Windows 7 Kodi V5 xsqueeze incompatiable at moment, using squeezelite-win.

Am all out of ideas, googled for a week now and not getting anywhere fast.


BBC Radio 2 plays brilliantly all in sync, happy
switch to a mp3 track, no playback HELP

Also how do i properly add a log file[/quote]

[log]

"pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:02:38.0121] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:02:38.0309] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:03:00.0041] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:03:00.0176] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:03:45.0044] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:03:45.0095] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:03:57.0053] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:03:57.0228] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:04:24.0380] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:04:24.0603] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:04:44.0131] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:04:44.0338] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:05:10.0190] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:05:11.0120] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:06:05.0115] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:06:06.0088] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:06:30.0077] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:06:30.0231] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:07:13.0104] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:07:13.0281] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:07:21.0104] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:07:21.0316] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:07:49.0106] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:07:49.0277] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:07:59.0102] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:07:59.0387] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:09:21.0079] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:09:21.0211] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:10:31.0277] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:10:31.0410] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:11:08.0056] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:11:08.0269] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:11:31.0078] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:11:31.0279] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:12:11.0277] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:12:11.0383] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:13:03.0114] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 09:13:03.0307] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:49:14.0214] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/AVTransport.pm line 216.
[15-01-25 09:49:19.1200] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Plugin::UPnP::Events::expire failed: Can't call method "pluginData" on an undefined value at /usr/share/perl5/Slim/Plugin/UPnP/MediaRenderer/RenderingControl.pm line 161.
[15-01-25 14:46:02.7906] Slim::Utils::Misc::msg (1346) Warning: [14:46:02.7873] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1876
[15-01-26 10:04:30.3516] Slim::Utils::Misc::msg (1346) Warning: [10:04:30.3412] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1876
[15-01-26 10:06:50.6070] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/Happy%20Hardcore%201-7/VA_-_Happy_Hardcore_6-2CD-1996-exp/102-nakatomi-children_of_the_night-exp.mp3]
[15-01-26 10:06:51.0813] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/Happy%20Hardcore%201-7/VA_-_Happy_Hardcore_7-2CD-1996-exp/208-highlander-roughneck_(original_mix)-exp.mp3]
[15-01-26 10:06:51.5639] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/Happy%20Hardcore%201-7/VA_-_Happy_Hardcore_4-2CD-1996-exp/202-brothers_in_crime-forever-exp.mp3]
[15-01-26 10:21:44.1940] Slim::Utils::Scanner::scanDirectory (332) Found 1 files in /mnt/hd1/media/audio/01 - Adele - 21/Adele - Set Fire To The Rain.mp3
[15-01-26 10:22:06.2644] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/01%20-%20%20Adele%20-%2021/Adele%20-%20Set%20Fire%20To%20The%20Rain.mp3]
[15-01-26 10:23:13.5951] Slim::Utils::Scanner::Remote::__ANON__ (193) Error: Can't connect to remote server to retrieve playlist for, http://bbcmedia.ic.llnwd.net/stream/bbcm...16b6e2129: 404 File Not Found.
[15-01-26 10:37:19.1441] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/01%20-%20%20Adele%20-%2021/Adele%20-%20Set%20Fire%20To%20The%20Rain.mp3]
2015-01-26 10:37:43 squeezeboxserver_safe stopped.
2015-01-26 10:39:17 squeezeboxserver_safe started.
[15-01-26 10:39:55.7885] main::init (370) Starting Logitech Media Server (v7.9.0, 1421168630, Wed Jan 14 04:04:53 UTC 2015) perl 5.014002
[15-01-26 10:40:17.6468] Slim::Utils::Misc::msg (1346) Warning: [10:40:17.6431] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1876
[15-01-26 10:44:29.4452] Slim::Utils::Scanner::scanDirectory (332) Found 1 files in /mnt/hd1/media/audio/(Flashdance Soundtrack) - What a Feeling.mp3
[15-01-26 10:44:29.8158] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/(Flashdance%20Soundtrack)%20-%20What%20a%20Feeling.mp3]
[15-01-26 10:45:13.1519] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/(Flashdance%20Soundtrack)%20-%20What%20a%20Feeling.mp3]
[15-01-26 10:47:14.2416] Slim::Utils::Scanner::Remote::__ANON__ (193) Error: Can't connect to remote server to retrieve playlist for, http://bbcmedia.ic.llnwd.net/stream/bbcm...069321d18: 404 File Not Found.
[15-01-26 10:47:17.5812] Slim::Utils::Scanner::Remote::__ANON__ (193) Error: Can't connect to remote server to retrieve playlist for, http://bbcmedia.ic.llnwd.net/stream/bbcm...b337b3773: 404 File Not Found.
[15-01-26 10:55:19.3298] Slim::Web::JSONRPC::requestMethod (443) request not dispatchable!
[15-01-26 10:55:19.3741] Slim::Web::JSONRPC::requestMethod (443) request not dispatchable!
[15-01-26 10:57:45.1091] Slim::Utils::Scanner::scanDirectory (332) Found 1 files in /mnt/hd1/media/audio/(Flashdance Soundtrack) - What a Feeling.mp3
[15-01-26 10:57:51.4174] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/(Flashdance%20Soundtrack)%20-%20What%20a%20Feeling.mp3]
[15-01-26 10:58:24.5106] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/(Flashdance%20Soundtrack)%20-%20What%20a%20Feeling.mp3]
[15-01-26 10:58:31.4407] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/(Flashdance%20Soundtrack)%20-%20What%20a%20Feeling.mp3]
[15-01-26 10:58:37.6956] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/(Flashdance%20Soundtrack)%20-%20What%20a%20Feeling.mp3]
[15-01-26 10:58:44.3172] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/(Flashdance%20Soundtrack)%20-%20What%20a%20Feeling.mp3]
2015-01-26 10:58:49 squeezeboxserver_safe stopped.
2015-01-26 11:00:19 squeezeboxserver_safe started.
[15-01-26 11:00:58.4473] main::init (370) Starting Logitech Media Server (v7.9.0, 1421168630, Wed Jan 14 04:04:53 UTC 2015) perl 5.014002
[15-01-26 11:01:07.4544] Slim::Utils::Misc::msg (1346) Warning: [11:01:07.4406] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1876
[15-01-26 11:08:09.7309] Slim::Utils::Scanner::scanDirectory (332) Found 1 files in /mnt/hd1/media/audio/(Flashdance Soundtrack) - What a Feeling.mp3
[15-01-26 11:08:09.9607] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:///mnt/hd1/media/audio/(Flashdance%20Soundtrack)%20-%20What%20a%20Feeling.mp3]
[15-01-26 11:14:05.8766] Slim::Web::JSONRPC::requestMethod (443) request not dispatchable!
[15-01-26 11:14:06.0596] Slim::Web::JSONRPC::requestMethod (443) request not dispatchable!
find quote
nickr Online
Donor
Posts: 12,797
Joined: May 2009
Reputation: 243
Location: Christchurch NZ
Post: #1399
Put a complete debug log on pastebin and remove from here.

If I have helped you or increased your knowledge, click the 'thank user' button to give thanks :) (People with less than 20 posts won't see the "Thank you" button.)
find quote
bossanova808 Offline
Donor
Posts: 2,621
Joined: Sep 2009
Reputation: 45
Location: Melbourne, Australia
Post: #1400
@DanielSon are you saying that windows is not playing mp3 files for you? Or OE - someone else mentoned issues with OE5 and MP3s, I haven't had a chance to test yet as my house is being renovated and half my shit is packed up. I know Windows is working fine though....

Sorry, no help w/out a *full debug log*
find quote
bossanova808 Offline
Donor
Posts: 2,621
Joined: Sep 2009
Reputation: 45
Location: Melbourne, Australia
Post: #1401
(2015-01-20 03:47)imro2 Wrote:  I will post there and ask. Meanwhile I downloaded all the missing library packages from http://packages.ubuntu.com/ unpacked and then copied to /storage/.kodi/addons/script.xsqueeze/lib. I had to extract the tars out of deb packages before uploading them to openelec, because openelec does not seem to have way to extract deb packages.

@imro2 - can you give me a list of packages you needed? I think I might add them to xsqueeze as someone else has mentioned issues. Or better yet stick them somewhere so I can grab them?

Sorry, no help w/out a *full debug log*
find quote
volleynbike Offline
Junior Member
Posts: 13
Joined: Jan 2015
Reputation: 0
Post: #1402
(2015-01-26 00:41)bossanova808 Wrote:  I suggest you post a full debug log

(note how I ask for this for every single help request? There's a reason!).

my first time using pastebin, hopefully i did it right. the post name is "volleynbike to bossanova808".
http://pastebin.com/mdU1vCgR
(This post was last modified: 2015-01-27 08:07 by volleynbike.)
find quote
bossanova808 Offline
Donor
Posts: 2,621
Joined: Sep 2009
Reputation: 45
Location: Melbourne, Australia
Post: #1403
@volleynbike - post the link please

Sorry, no help w/out a *full debug log*
find quote
volleynbike Offline
Junior Member
Posts: 13
Joined: Jan 2015
Reputation: 0
Post: #1404
(2015-01-27 08:08)bossanova808 Wrote:  @volleynbike - post the link please

http://pastebin.com/mdU1vCgR
find quote
bossanova808 Offline
Donor
Posts: 2,621
Joined: Sep 2009
Reputation: 45
Location: Melbourne, Australia
Post: #1405
I think the issue is settings - there's a space or quote or something where there shouldn't be in your -a 160 maybe?

21:36:03 T:2848932928 NOTICE: ### XSqueeze - 1.1.6 ### Attempting to start player: ['/storage/.kodi/addons/script.xsqueeze/resources/bin/arm/squeezelite', '-m', '01:02:03:04:abBig Grine', '-a', '', '160', '-s', '192.168.1.57']

It might be how I build things but it is more likely how you put them in xsqueeze settings.... '-a', '', '160' should just come out as '-a','160'

Have a play with those and see how you go

Also - what are you trying to achieve - squeezelite has a -a option but I don't think you're using it right?

-a <f> Specify sample format (16|24|32) of output file when using -o - to output samples to stdout (interleaved little endian only)

....the -a advice in the wiki is for squeezeslave. I'd just take that out and you should be right.

@volleynbike see added note about -a

Sorry, no help w/out a *full debug log*
(This post was last modified: 2015-01-27 08:17 by bossanova808.)
find quote
volleynbike Offline
Junior Member
Posts: 13
Joined: Jan 2015
Reputation: 0
Post: #1406
(2015-01-27 08:14)bossanova808 Wrote:  I think the issue is settings - there's a space or quote or something where there shouldn't be in your -a 160 maybe?
You were right, there was an extra space between -a and 160. That fixed the issue.

Quote:Also - what are you trying to achieve - squeezelite has a -a option but I don't think you're using it right?

-a <f> Specify sample format (16|24|32) of output file when using -o - to output samples to stdout (interleaved little endian only)

....the -a advice in the wiki is for squeezeslave. I'd just take that out and you should be right.

@volleynbike see added note about -a
There is another option for -a:
-a <b>:<p>:<f>:<m> Specify ALSA params to open output device, b = buffer time in ms or size in bytes, p = period count or size in bytes, f sample format (16|24|24_3|32), m = use mmap (0|1)
-a <f> Specify sample format (16|24|32) of output file when using -o - to output samples to stdout (interleaved little endian only)

I believe the instructions in the wiki is for the -a <b> buffer time. Without the -a 160 there is noise in the playback. With the -a 160 the noise disappears.

Thank you for your help!
find quote
bossanova808 Offline
Donor
Posts: 2,621
Joined: Sep 2009
Reputation: 45
Location: Melbourne, Australia
Post: #1407
Yeah sorry, forgot about that. Glad you're going.

Sorry, no help w/out a *full debug log*
find quote
Snyder Offline
Junior Member
Posts: 10
Joined: Jan 2015
Reputation: 0
Post: #1408
(2015-01-19 01:01)bossanova808 Wrote:  Obviously, if you can shell script the CEC stuff, it would be easy to add a call to the script in XSqueeze.

The harder stuff would be the volume, as that normally is intercepted and goes to squeezeland instead of XBMC. But that too could be changed easily enough.

Looks like you could hack this in to XSqueeze:
https://github.com/trainman419/python-cec

If you do it in such a way as to not interfere with normal XSqueeze I'd be happy to accept a pull request for it...but I don't use CEC so I am not going to be able to help beyond pointing you to the right places etc.

I signed up for a github account and forked your repository in order to send a pull request as soon as I will have figured out the hdmi cec support. Although I am not sure, if I will ever manage it. Sorry for being such a newbie.

I read a lot about the hdmi cec commands and now I am able to send cec commands via shell to my devices.

Could you please point to the place in Xsqueeze where the call to the cec script must be made?
I guess the call to the script should be made everytime when the player is turned on/off or the volume is changed. I just canĀ“t find these events in Xsqueeze.Confused
(This post was last modified: 2015-01-28 21:44 by Snyder.)
find quote
bossanova808 Offline
Donor
Posts: 2,621
Joined: Sep 2009
Reputation: 45
Location: Melbourne, Australia
Post: #1409
/resources/lib/NowPlayngWindow.py is where the event handling is - onClick and onAction handle the actual stuff that happens. You would want to test if the user had scripts set up in the settings area for certain actions and if so execute those instead of the default actions already handled, basically.

So in a nutshell:
Modify settings.xml to have a new page with your needed settings which would be pointers to your script files
Grab these settings into python variables - see /constants.py
And then work your way through the action handling stuff testing if your constants have values and if so calling out to the system to exec those scripts

The top of NowPlayingWindow.py has the action codes etc. BUTTON_VOLUP etc.
OnClick deals with click events on the buttons at the bottom of the screen
OnAction deals with remote actions

Good luck!

Sorry, no help w/out a *full debug log*
find quote
Snyder Offline
Junior Member
Posts: 10
Joined: Jan 2015
Reputation: 0
Post: #1410
Many thanks for explaining it to me in a nutshell. It helps me a lot to get into Python. It will probably take a while until I am able to contribute someting, but at least it is a start and a useful little project for the beginning.

I found the action codes for changing the volume. There is no code for standby/idle mode. If we want to provide hdmi cec support, we will also need a button for turning on/off the connected hdmi devices. The controller app Ipeng already supports it, but there doesn't seem to be a link to Xsqueeze yet.
find quote
Post Reply