[ARCHIVED - WON'T UPDATE] XSqueeze - Squeezebox player for XBMC - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [ARCHIVED - WON'T UPDATE] XSqueeze - Squeezebox player for XBMC (/showthread.php?tid=122199) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - beefystripper - 2012-03-17 Strange, when I try to installe squeeze (0.4.2) from your latest repo it says addon status = damage. [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-17 Your script.artistslideshow will be out of date I'd say. Check your logs too RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - beefystripper - 2012-03-17 Hi Latest script.artistslideshow did the trick. Thanks! [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-18 So it works as a controller then? It should pull the artist thingy automatically, I don't get why it doesn't but I think the dependencies side of addons is not great yet... Certainly shouldn't say 'damaged' anyway... RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - beefystripper - 2012-03-18 Yes the controller is working on iOS. But it would have been nice to manage the songs with playback within the xbmc as well :-). Great addon anyway! RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-19 Well I believe this pull request, which *might* make Eden, will potentially open up the ability to hand the stream off to XBMC for playback more easily/for more formats, so a more traditional plugin type approach might then be feasible (you'd lose decent synchronisation, though, I expect, so the idea would be to have both options available...) I haven't really looked at it much though, how this would work. But music choosing, one way or another, is definitely something I want to look at if/when I get any time. https://github.com/xbmc/xbmc/pull/777 RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - CreasyMonster - 2012-03-19 Excellent XMBC program that I have been using on a MacMini running XBMC Eden on OSX. It is working very well and Squeezeslave is also syncing very well with a number of Squeezeboxes around my house. My only problem is that I am using a new style Apple Remote (Silver) and want to get the 'Menu' button to exit Xsqueeze (back to the XBMC Program Menu). Currently my only way out of Xsqueeze is pressing my right-mouse button. I've tried to change the setup within actionmap.py and have successfully set up/down as vol+/- and left/right as rev/fwd (my preference) but cannot get the 'Menu' button to action 'ACTION_PREVIOUS_MENU'. I'm sure I'm missing something simple... please help. Ps. I've got the Apple Remote 'Select' button to Play/Pause but ideally want the Apple Remote 'Play/Pause' button to do this. (I believe the 'Play/Pause' button is an additional code to that of the original 'white' Apple Remote). Cheers, CM RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-20 IN PREPARATION FOR SUBMITTING XSQUEEZE TO THE OFFICIAL REPO, I am re-organising my repo so please note for now to get XSqueeze the easiest way is to just get the .zip directly http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/script.xsqueeze/script.xsqueeze-0.4.3.zip On the apple remote, if you uncomment the lines 128 and 129 of \script.xsqueeze\resources\lib\classes\NowPlayingWindow.py Code: #if actionNum != 0: and then re-run XSqueeze and try the various keys on your remote, then it should print the action codes coming through and gives us some clues - do that and post your logs.... RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - CreasyMonster - 2012-03-20 Attached is the relevant section of xbmc.log. I couldn't find any debug appear with your debug strings even when having the log file live and with debug enabled on XBMC. I've attached the debug just in case I am missing something. All the log file was showing was the following repeating the whole time: 18:05:07 T:2959212544 ERROR: File "/Users/grahamcreasy/Library/Application Support/XBMC/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 309, in updatePlaylistDetails 18:05:07 T:2959212544 ERROR: tracknum = str(self.playlistDetails[trackOffset]['tracknum']) 18:05:07 T:2959212544 ERROR: KeyError: 'tracknum' 18:05:07 T:2959212544 NOTICE: XSqueeze-0.4.3: Exception! 18:05:07 T:2959212544 ERROR: Traceback (most recent call last): 18:05:07 T:2959212544 ERROR: File "/Users/grahamcreasy/Library/Application Support/XBMC/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 309, in updatePlaylistDetails 18:05:07 T:2959212544 ERROR: tracknum = str(self.playlistDetails[trackOffset]['tracknum']) 18:05:07 T:2959212544 ERROR: KeyError: 'tracknum' 18:05:07 T:2959212544 NOTICE: XSqueeze-0.4.3: Exception! 18:05:07 T:2959212544 ERROR: Traceback (most recent call last): 18:05:07 T:2959212544 ERROR: File "/Users/grahamcreasy/Library/Application Support/XBMC/addons/script.xsqueeze/resources/lib/classes/NowPlayingWindow.py", line 309, in updatePlaylistDetails 18:05:07 T:2959212544 ERROR: tracknum = str(self.playlistDetails[trackOffset]['tracknum']) 18:05:07 T:2959212544 ERROR: KeyError: 'tracknum' 18:05:07 T:2959212544 NOTICE: XSqueeze-0.4.3: Exception! 18:05:07 T:2959212544 ERROR: Traceback (most recent call last): Cheers, CM RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - CreasyMonster - 2012-03-20 Sorry, my mistake. Debug logging is working. 18:34:18 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 4 Name: ACTION_MOVE_DOWN SqueezeCode if any: voldown 18:34:18 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: voldown 18:34:29 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 3 Name: ACTION_MOVE_UP SqueezeCode if any: volup 18:34:29 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: volup 18:34:29 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 3 Name: ACTION_MOVE_UP SqueezeCode if any: volup 18:34:29 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: volup 18:34:32 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 1 Name: ACTION_MOVE_LEFT SqueezeCode if any: rew.hold 18:34:32 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: rew.hold 18:34:32 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 1 Name: ACTION_MOVE_LEFT SqueezeCode if any: rew.hold 18:34:32 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: rew.hold 18:34:32 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 1 Name: ACTION_MOVE_LEFT SqueezeCode if any: rew.hold 18:34:32 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: rew.hold 18:34:32 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 1 Name: ACTION_MOVE_LEFT SqueezeCode if any: rew.hold 18:34:32 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: rew.hold 18:34:34 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 2 Name: ACTION_MOVE_RIGHT SqueezeCode if any: fwd.hold 18:34:34 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: fwd.hold 18:34:34 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 2 Name: ACTION_MOVE_RIGHT SqueezeCode if any: fwd.hold 18:34:34 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: fwd.hold 18:34:34 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 2 Name: ACTION_MOVE_RIGHT SqueezeCode if any: fwd.hold 18:34:34 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: fwd.hold 18:34:35 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 2 Name: ACTION_MOVE_RIGHT SqueezeCode if any: fwd.hold 18:34:35 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: fwd.hold 18:34:35 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 2 Name: ACTION_MOVE_RIGHT SqueezeCode if any: fwd.hold 18:34:35 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: fwd.hold 18:35:10 T:2953850880 NOTICE: XSqueeze-0.4.3: Handling action id: 7 Name: ACTION_SELECT_ITEM SqueezeCode if any: pause.single 18:35:10 T:2953850880 NOTICE: XSqueeze-0.4.3: SqueezePlayer Action: pause.single 18:43:49 T:2695669056 DEBUG: ProcessMouse: trying mouse action rightclick 18:43:49 T:2965516288 NOTICE: XSqueeze-0.4.3: Handling action id: 10 Name: ACTION_PREVIOUS_MENU SqueezeCode if any: arrow_left 18:43:49 T:2965516288 NOTICE: XSqueeze-0.4.3: XBMC Action: Close exit only on right mouse button but xsqueeze is not recognising 'Menu' or 'Play/Pause' which should be Handling action id: 6 and 12 respectively, I believe. CM RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - CreasyMonster - 2012-03-20 Some more info for you on the Apple remote. Uncommenting line 123 within \script.xsqueeze\resources\lib\classes\NowPlayingWindow.py (Logger.log("Not handling eventid " + str(action.getId()))) enabled the following debug statements in xbmc.log: 18:53:22 T:2953850880 NOTICE: XSqueeze-0.4.3: Not handling eventid 107 18:53:22 T:2953850880 NOTICE: Previous line repeats 3 times. corresponding to 'Menu' button pressed 4 times and 18:53:24 T:2953850880 NOTICE: XSqueeze-0.4.3: Not handling eventid 79 18:53:25 T:2966130688 NOTICE: Previous line repeats 3 times. corresponding to 'Play/Pause' button (extra button on silver apple remote) pressed 4 times hope this helps RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-21 Yeah ok that second bit is what I need, sorry, I was in a hurry the other day. The actions in XBMC are here: https://github.com/xbmc/xbmc/blob/master/xbmc/guilib/Key.h Ok - I don't think you're right on 107 - that's mouse move - #define ACTION_MOUSE_MOVE 107 - unlikely to be the menu button - can you test that again? #define ACTION_PLAYER_PLAY 79 ...that one makes more sense. RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - bossanova808 - 2012-03-21 I will map ACTION_PLAYER_PLAY to play.single for the squeezebox CLI (as select is currently: 'ACTION_SELECT_ITEM' :'play.single', 'ACTION_PLAYER_PLAY' :'play.single', ) ...but I need to know the other code (and wait on the XBMC official repo thing to work itself out) before I can fix the other one...shouldn't be hard though. RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - FSM_ - 2012-03-21 Hi there This looks like a geat addon but I cannot get it to work. I am running Openelec on an Acer Aspire One netbook. Whenever I try the installed Xsqueeze (used the zip in a recent posting here) I get script failed. I have also tried to run squeezeslave from the command line (after chmod 755) it complains about a dependency on ALSA that it can'y find. I'm not sure if I'm dealing 2 seperate issues or not. This is the tail of the xbmc log file: Code: 16:04:20 T:2780867440 M:438849536 ERROR: WEATHER: Unable to get data: Invalid License Key. RE: [RELEASE][ALPHA] XSqueeze - Squeezebox control in XBMC, local playback w. Squeezeplay - CreasyMonster - 2012-03-21 Quote:Ok - I don't think you're right on 107 - that's mouse move - #define ACTION_MOUSE_MOVE 107 - unlikely to be the menu button - can you test that again? My mistake, using the mouse while logging. Actual Apple Remote 'Menu' button error code is: 17:47:25 T:2959818752 NOTICE: XSqueeze-0.4.3: Not handling eventid 92 Hope this helps. CM |