Kodi Community Forum
[RELEASE] Spotimc: Another Spotify music addon - 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: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: [RELEASE] Spotimc: Another Spotify music addon (/showthread.php?tid=125147)



RE: [RELEASE] Spotimc: Another Spotify music addon - sverzijl - 2012-09-30

(2012-09-29, 14:38)tom101 Wrote: Hi,

Just tried this on Openelec 1.0.2 Beta 7. Everything looked fine until I tried to play a track and then XBMC restarted.

Here's the end of the log:

Code:
14:16:31 T:140224030041856  NOTICE: install include: /storage/.xbmc/addons/script.audio.spotimc/resources/skins/DefaultSkin/720p/includes.xml
14:16:33 T:140225099155264   ERROR: ClearBlock: Trying to clear non existent block /storage/.xbmc/addons/script.audio.spotimc
14:16:41 T:140225099155264   ERROR: Previous line repeats 2 times.
14:16:41 T:140225099155264   ERROR: LoadXML: Unable to load skin file /storage/.xbmc/addons/skin.confluence/720p/storage/.xbmc/addons/script.audio.spotimc/resources/skins/DefaultSkin/720p/loading-window.xml
14:16:55 T:140224617236224  NOTICE: CleanDatabase: Starting videodatabase cleanup ..
14:17:02 T:140224617236224  NOTICE: CleanDatabase: Cleaning videodatabase done. Operation took 00:07
14:17:02 T:140224617236224  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:39
14:17:55 T:140224576812800  NOTICE: libspotify log: 12:17:55.564 I [ap:1752] Connecting to AP ap.spotify.com:4070
14:17:55 T:140222939514624  NOTICE: libspotify log: 12:17:55.565 I [user_cache:135] UserCache::initiateGetUsers() will query for 1 users
14:17:55 T:140222939514624  NOTICE: libspotify: logged in: 0
14:17:55 T:140224576812800  NOTICE: libspotify log: 12:17:55.715 I [ap:1226] Connected to AP: 193.182.8.39:4070
14:17:56 T:140224030041856  NOTICE: port: 8080
14:17:56 T:140225099155264   ERROR: ClearBlock: Trying to clear non existent block /storage/.xbmc/addons/script.audio.spotimc
14:17:56 T:140222939514624  NOTICE: libspotify log: 12:17:56.093 I [offline-mgr:2084] Storage has been cleaned
14:17:56 T:140222427821824  NOTICE: Thread Jobworker start, auto delete: true
14:18:00 T:140225099155264  NOTICE: Previous line repeats 3 times.
14:18:00 T:140225099155264   ERROR: CWinSystemX11::XErrorHandler: BadDrawable, type:0, serial:58, error_code:9, request_code:136 minor_code:12
14:18:00 T:140225099155264   ERROR: CWinSystemX11::XErrorHandler: BadDrawable, type:0, serial:59, error_code:9, request_code:136 minor_code:12
14:18:00 T:140225099155264   ERROR: CWinSystemX11::XErrorHandler: BadDrawable, type:0, serial:60, error_code:9, request_code:136 minor_code:12

Can anyone help with this?

Thanks.
Same here on OpenElec 2.0beta6. XBMC crashes as soon as you try to play anything. Spotimc beta 1 seems to work ok though (only just installed it 5 mins ago. Liking it already Smile

Please let me know what kind of info/logs you'd like to see from us.



RE: [RELEASE] Spotimc: Another Spotify music addon - SKIBBE - 2012-10-01

I get a script error during start, and spotimc just loads forever "Beta2" beta1 i still get to work.

Quote:13:48:51 T:2837416816 NOTICE: -->Python Interpreter Initialized<--
13:49:11 T:12400400 ERROR: unmatched parentheses in SubString(Container.FolderPath,videodb://5/
13:51:29 T:2845809520 ERROR: Previous line repeats 1 times.
13:51:29 T:2845809520 NOTICE: -->Python Interpreter Initialized<--
13:51:29 T:2845809520 ERROR: Error Type: <type 'exceptions.IOError'>
13:51:29 T:2845809520 ERROR: Error Contents: (10, 'No child processes')
13:51:29 T:2845809520 ERROR: Traceback (most recent call last):
File "/home/skibbe/.xbmc/addons/script.audio.spotimc/default.py", line 37, in <module>
envutils.set_library_path(dll_dir)
File "/home/skibbe/.xbmc/addons/script.audio.spotimc/envutils.py", line 50, in set_library_path
full_path = os.path.join(os.path.abspath(root), get_platform_path())
File "/home/skibbe/.xbmc/addons/script.audio.spotimc/envutils.py", line 37, in get_platform_path
if platform.uname()[4] == 'armv6l':
File "/usr/lib/python2.7/platform.py", line 1273, in uname
processor = _syscmd_uname('-p','')
File "/usr/lib/python2.7/platform.py", line 1030, in _syscmd_uname
rc = f.close()
IOError: (10, 'No child processes')
that is the end of the crashlog from xbmc when i restart the machine
using an Intel atom330, if i am not misstaking that is no armv6? just x64?


RE: [RELEASE] Spotimc: Another Spotify music addon - nophbert - 2012-10-02

(2012-09-24, 14:23)SKIBBE Wrote:
(2012-09-23, 16:41)clubvibe Wrote: This is truly an amazing app. I'm using it with openelec on my Xtreamer ultra and I just love the looks of it.

Only problem I have is that once the app is started and stopped once i can not start it again from the music add-ons. A restart is required Sad
And the only thing missing for my needs is to add searched music to one of my playlists. I know this one is on the roadmap, but the more we let you know the sooner it might be available.

Anyways congrats with this super app! Will use it very much.
Do you use the exit button to exit spotimc? If not a restart is required! (And you cant multitask with spotimc since it's a script, meaning you can only run spotimc if you want to browse photos you will have to exit spotimc, thus turning of the music)

That's not right. You can use TAB to view some beautiful visualization when you use the addon and then press KEY_HOMEPAGE to get into XBMC Main Page where you can browse photos. The music plays on.The only problem is that you cannot return into spotify addon.




RE: [RELEASE] Spotimc: Another Spotify music addon - SKIBBE - 2012-10-02

True, iknow this but as you cant return to spotifymc and need to restart xbmc i would class it "not working" :-)
As for me i yave to reboot the computer when doing this (if not using ssh) so its a pain :-P


RE: [RELEASE] Spotimc: Another Spotify music addon - nophbert - 2012-10-03

Ok, thats right. Perhaps it is possible in a later release.


RE: [RELEASE] Spotimc: Another Spotify music addon - Stewinashoe - 2012-10-03

My new favorite xbmc addon. Awesomeness!


RE: [RELEASE] Spotimc: Another Spotify music addon - thebearnecessit - 2012-10-04

I'd like to lodge another vote for the ability to use xbmc whilst playing music through this addon.

It's amazing to have this addon. But I don't use it very much because i'm tied into it once i start.


RE: [RELEASE] Spotimc: Another Spotify music addon - gabzuka - 2012-10-04

Hi Guys,

Sorry if this has been said before (I couldn't find any mentions).
Just tried the Beta2 on a normal Win7 XBMC set up. But after I login the interface seems to be broken, it's not showing any results.

Image

If I press the move down and press enter it eventually plays a track, so it is finding results just not showing them.

I'm getting a bunch of WARNINGS like this in the log:
Code:
16:22:21 T:5232 WARNING: Skin has invalid include: spotimc_leftmenu_grouplist
16:22:21 T:5232 WARNING: Skin has invalid include: spotimc_leftmenu_label
16:22:21 T:5232 WARNING: Skin has invalid include: spotimc_leftmenu_button
16:22:21 T:5232 WARNING: Previous line repeats 2 times.
16:22:21 T:5232 WARNING: Skin has invalid include: spotimc_leftmenu_grouplist
16:22:21 T:5232 WARNING: Skin has invalid include: spotimc_leftmenu_label
16:22:21 T:5232 WARNING: Skin has invalid include: spotimc_leftmenu_button
16:22:21 T:5232 WARNING: Previous line repeats 1 times.
16:22:21 T:5232 WARNING: Skin has invalid include: spotimc_leftmenu_label
16:22:21 T:5232 WARNING: Skin has invalid include: spotimc_leftmenu_check
16:22:21 T:5232 WARNING: Previous line repeats 3 times.
16:22:21 T:5232 WARNING: Skin has invalid include: spotimc_leftmenu_label
16:22:21 T:5232 WARNING: Skin has invalid include: spotimc_leftmenu_check
16:22:22 T:4496  NOTICE: libspotify log: 15:22:22.608 I [offline-mgr:2032] 0 files are locked. 0 images are locked
16:22:22 T:4496  NOTICE: libspotify log: 15:22:22.608 I [offline-mgr:2058] 0 files unlocked. 0 images unlocked

Any ideas?


RE: [RELEASE] Spotimc: Another Spotify music addon - Luguber - 2012-10-04

(2012-10-01, 14:01)SKIBBE Wrote: I get a script error during start, and spotimc just loads forever "Beta2" beta1 i still get to work.

Quote:13:48:51 T:2837416816 NOTICE: -->Python Interpreter Initialized<--
13:49:11 T:12400400 ERROR: unmatched parentheses in SubString(Container.FolderPath,videodb://5/
13:51:29 T:2845809520 ERROR: Previous line repeats 1 times.
13:51:29 T:2845809520 NOTICE: -->Python Interpreter Initialized<--
13:51:29 T:2845809520 ERROR: Error Type: <type 'exceptions.IOError'>
13:51:29 T:2845809520 ERROR: Error Contents: (10, 'No child processes')
13:51:29 T:2845809520 ERROR: Traceback (most recent call last):
File "/home/skibbe/.xbmc/addons/script.audio.spotimc/default.py", line 37, in <module>
envutils.set_library_path(dll_dir)
File "/home/skibbe/.xbmc/addons/script.audio.spotimc/envutils.py", line 50, in set_library_path
full_path = os.path.join(os.path.abspath(root), get_platform_path())
File "/home/skibbe/.xbmc/addons/script.audio.spotimc/envutils.py", line 37, in get_platform_path
if platform.uname()[4] == 'armv6l':
File "/usr/lib/python2.7/platform.py", line 1273, in uname
processor = _syscmd_uname('-p','')
File "/usr/lib/python2.7/platform.py", line 1030, in _syscmd_uname
rc = f.close()
IOError: (10, 'No child processes')
that is the end of the crashlog from xbmc when i restart the machine
using an Intel atom330, if i am not misstaking that is no armv6? just x64?

Hi, I was getting the same error with beta2 on XBMCbuntu. Seems like it for some reason mistake our system for a Raspberry Pi, or other ARM system.
To fix it, you can comment out line 37 and 38 in envutils.py (add the '#' in front of the two lines you see below and save);
Code:
    elif os.name == "posix":
        if sys.platform.startswith('linux'):
            if arch == 32:
            #    if platform.uname()[4] == 'armv6l':
            #        return 'linux/armv6'
                return 'linux/x86'
That worked for me atleast.


RE: [RELEASE] Spotimc: Another Spotify music addon - Kib - 2012-10-05

(2012-10-04, 20:05)Luguber Wrote: Hi, I was getting the same error with beta2 on XBMCbuntu. Seems like it for some reason mistake our system for a Raspberry Pi, or other ARM system.
To fix it, you can comment out line 37 and 38 in envutils.py (add the '#' in front of the two lines you see below and save);
Code:
    elif os.name == "posix":
        if sys.platform.startswith('linux'):
            if arch == 32:
            #    if platform.uname()[4] == 'armv6l':
            #        return 'linux/armv6'
                return 'linux/x86'
That worked for me atleast.

It seems to simply crash on that piece of code, which appareantly doesn't work on our machines.
I commented it out as you did to get beta 2 working on my ION system as well (Shuttle XS35GTV2)

Thanks for the tip !



RE: [RELEASE] Spotimc: Another Spotify music addon - nophbert - 2012-10-05

(2012-09-24, 14:23)SKIBBE Wrote:
(2012-09-23, 16:41)clubvibe Wrote: This is truly an amazing app. I'm using it with openelec on my Xtreamer ultra and I just love the looks of it.

Only problem I have is that once the app is started and stopped once i can not start it again from the music add-ons. A restart is required Sad
And the only thing missing for my needs is to add searched music to one of my playlists. I know this one is on the roadmap, but the more we let you know the sooner it might be available.

Anyways congrats with this super app! Will use it very much.
Do you use the exit button to exit spotimc? If not a restart is required! (And you cant multitask with spotimc since it's a script, meaning you can only run spotimc if you want to browse photos you will have to exit spotimc, thus turning of the music)

(2012-09-30, 22:10)sverzijl Wrote:
(2012-09-29, 14:38)tom101 Wrote: Hi,

Just tried this on Openelec 1.0.2 Beta 7. Everything looked fine until I tried to play a track and then XBMC restarted.

Here's the end of the log:

Code:
14:16:31 T:140224030041856  NOTICE: install include: /storage/.xbmc/addons/script.audio.spotimc/resources/skins/DefaultSkin/720p/includes.xml
14:16:33 T:140225099155264   ERROR: ClearBlock: Trying to clear non existent block /storage/.xbmc/addons/script.audio.spotimc
14:16:41 T:140225099155264   ERROR: Previous line repeats 2 times.
14:16:41 T:140225099155264   ERROR: LoadXML: Unable to load skin file /storage/.xbmc/addons/skin.confluence/720p/storage/.xbmc/addons/script.audio.spotimc/resources/skins/DefaultSkin/720p/loading-window.xml
14:16:55 T:140224617236224  NOTICE: CleanDatabase: Starting videodatabase cleanup ..
14:17:02 T:140224617236224  NOTICE: CleanDatabase: Cleaning videodatabase done. Operation took 00:07
14:17:02 T:140224617236224  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:39
14:17:55 T:140224576812800  NOTICE: libspotify log: 12:17:55.564 I [ap:1752] Connecting to AP ap.spotify.com:4070
14:17:55 T:140222939514624  NOTICE: libspotify log: 12:17:55.565 I [user_cache:135] UserCache::initiateGetUsers() will query for 1 users
14:17:55 T:140222939514624  NOTICE: libspotify: logged in: 0
14:17:55 T:140224576812800  NOTICE: libspotify log: 12:17:55.715 I [ap:1226] Connected to AP: 193.182.8.39:4070
14:17:56 T:140224030041856  NOTICE: port: 8080
14:17:56 T:140225099155264   ERROR: ClearBlock: Trying to clear non existent block /storage/.xbmc/addons/script.audio.spotimc
14:17:56 T:140222939514624  NOTICE: libspotify log: 12:17:56.093 I [offline-mgr:2084] Storage has been cleaned
14:17:56 T:140222427821824  NOTICE: Thread Jobworker start, auto delete: true
14:18:00 T:140225099155264  NOTICE: Previous line repeats 3 times.
14:18:00 T:140225099155264   ERROR: CWinSystemX11::XErrorHandler: BadDrawable, type:0, serial:58, error_code:9, request_code:136 minor_code:12
14:18:00 T:140225099155264   ERROR: CWinSystemX11::XErrorHandler: BadDrawable, type:0, serial:59, error_code:9, request_code:136 minor_code:12
14:18:00 T:140225099155264   ERROR: CWinSystemX11::XErrorHandler: BadDrawable, type:0, serial:60, error_code:9, request_code:136 minor_code:12

Can anyone help with this?

Thanks.
Same here on OpenElec 2.0beta6. XBMC crashes as soon as you try to play anything. Spotimc beta 1 seems to work ok though (only just installed it 5 mins ago. Liking it already Smile

Please let me know what kind of info/logs you'd like to see from us.

The same here on ubuntu 12.10. Spotimc is opening but i neither can play a song nor move to another window. Both versions are not working Beta1 and Beta2.



RE: [RELEASE] Spotimc: Another Spotify music addon - TFHfony - 2012-10-06

*snif*...
I updated to the new OpenElec 2.0 RC1 and installed the new beta of SpotIMC. I had the same crashes as mentioned in earlier messages. I eddited the file as mentioned above. This didn't help for me. So I removed SpotIMC Beta2, and tried to reinstall Beta1, but I get an error that this file doesn't have the right structure?
Is there any way to get SpotIMC running again on my OpenElec 2.0 RC1 64bit ION set-up?

Thanks.

/Edit/
Problem solved: The beta1-download doesn't work for me for some reason. But I still had the ZIP file I download a few months ago: This solved my problem. SpotIMC works again Smile


RE: [RELEASE] Spotimc: Another Spotify music addon - Tragic - 2012-10-07

(2012-09-27, 06:22)jdwoods Wrote: First- thank you for the app. It is amazing.

I downloaded the new beta (2) and tried to install via zip through xbmc settings and have been getting installation failures. Anybody else having this problem?

(2012-09-27, 14:59)mazkolain Wrote: Spotimc should install fine on Eden. Could you please send me the error log it produces during install?

I had the same problem going from Beta 1 to Beta 2, I found I had to delete the below directory and then it would install for me.


C:\Users\####\AppData\Roaming\XBMC\addons\script.audio.spotimc



RE: [RELEASE] Spotimc: Another Spotify music addon - lapino - 2012-10-08

Tried installing this on my mac mini, but when launching the addon I get an error "initialisation failed". Rebooting didn't solve it. Any idea?


RE: [RELEASE] Spotimc: Another Spotify music addon - JimL - 2012-10-09

I get this when running SpotiMC

Code:
15:43:32 T:1102356480   DEBUG: ------ Window Deinit (MyMusicSongs.xml) ------
15:43:32 T:1102356480   DEBUG: ------ Window Init (/home/pi/.xbmc/addons/script.audio.spotimc/resources/skins/DefaultSkin/720p/loading-window.xml) ------
15:43:32 T:1102356480    INFO: Loading skin file: /home/pi/.xbmc/addons/script.audio.spotimc/resources/skins/DefaultSkin/720p/loading-window.xml, load type: LOAD_ON_GUI_INIT
15:43:32 T:1102356480   DEBUG: LocalizeStrings: no translation available in currently set gui language, at path /home/pi/.xbmc/addons/script.audio.spotimc/resources/language/Norwegian
15:43:32 T:1102356480   DEBUG: LocalizeStrings: no translation available in currently set gui language, at path /home/pi/.xbmc/addons/script.audio.spotimc/resources/language/English
15:43:33 T:1804596288   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: (10, 'No child processes')
                                            Traceback (most recent call last):
                                              File "/home/pi/.xbmc/addons/script.audio.spotimc/default.py", line 37, in <module>
                                                envutils.set_library_path(dll_dir)
                                              File "/home/pi/.xbmc/addons/script.audio.spotimc/envutils.py", line 50, in set_library_path
                                                full_path = os.path.join(os.path.abspath(root), get_platform_path())
                                              File "/home/pi/.xbmc/addons/script.audio.spotimc/envutils.py", line 37, in get_platform_path
                                                if platform.uname()[4] == 'armv6l':
                                              File "/usr/lib/python2.7/platform.py", line 1273, in uname
                                                processor = _syscmd_uname('-p','')
                                              File "/usr/lib/python2.7/platform.py", line 1030, in _syscmd_uname
                                                rc = f.close()
                                            IOError: (10, 'No child processes')
                                            -->End of Python script error report<--

I am however running it on a rPi, so I'm out of luck then?
Code:
17:08:38 T:1102443136  NOTICE: Starting XBMC (12.0-ALPHA7 Git:20121003-195507e), Platform: Linux (Debian GNU/Linux testing/unstable, 3.2.27 armv6l). Built on Oct  2 2012


Ok, from now following this thread. Hope spotimc will work on the raspberry (again?) soon Smile
http://forum.stmlabs.com/showthread.php?tid=921