[RELEASE] Spotimc: Another Spotify music addon

  Thread Rating:
  • 30 Votes - 4.7 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dallasnights Offline
Fan
Posts: 487
Joined: Jan 2011
Reputation: 0
Post: #226
all fixed for win7
Had to unistall XBMC and reinstall a clean copy

Keep up the great work
Hope you can get ATV2 to work soon

Thanks
find quote
hholtman Offline
Junior Member
Posts: 3
Joined: Aug 2008
Reputation: 0
Post: #227
Can anyone confirm or negate that Spotimc will work on Rasbmc, a minimal Linux distribution based on Debian that brings XBMC to the Raspberry Pi? The Raspberry Pi is an ARM based single-board computer and in the dlls folder i only can find a linux x86 version of libspotify, however Spotify offers a ARM version of libspotify on their site.

links:
http://www.raspberrypi.org/
http://www.raspbmc.com/
find quote
mazkolain Offline
Senior Member
Posts: 118
Joined: Mar 2012
Reputation: 13
Post: #228
(2012-06-20 01:55)bckane Wrote:  thank you for a great plugin.........is there a way around login every time I start the app.......pain with a remote
thanks again

Problem solved: added this
<advancedsettings>
<spotify>
<enable>true</enable>
<username>username</username>
<password>password</password>
<cachefolder>a temporary directory</cachefolder>
<maxsearchartists>30</maxsearchartists>
<maxsearchalbums>30</maxsearchalbums>
<maxsearchtracks>150</maxsearchtracks>
</spotify>
</advancedsettings>
update.......this didn't work after the reboot
BTW Im running openelec xbmc
The settings above are spotyxbmc specific, they won't affect the behavior of Spotimc. Also, it seems that even if you disable Spotyxbmc from it's settings addon, they still don't play well with each other. Spotimc seems to conflict with spotyxbmc (and vice versa), probably related to the fact that libspotify doesn't support multiple sessions to be created on the same process.

(2012-06-20 11:26)dallasnights Wrote:  all fixed for win7
Had to unistall XBMC and reinstall a clean copy

Keep up the great work
Hope you can get ATV2 to work soon

Thanks
I've tested with an XBMC build which includes spotyxbmc and I was able to reproduce the issue. It was probably related to the same issue @bckane was experiencing.

(2012-06-21 08:46)hholtman Wrote:  Can anyone confirm or negate that Spotimc will work on Rasbmc, a minimal Linux distribution based on Debian that brings XBMC to the Raspberry Pi? The Raspberry Pi is an ARM based single-board computer and in the dlls folder i only can find a linux x86 version of libspotify, however Spotify offers a ARM version of libspotify on their site.

links:
http://www.raspberrypi.org/
http://www.raspbmc.com/
Currently Spotimc is not compatible with ARM, but the changes required to make it work on that platform should be minimal. The only problems that could arise here should be memory ones, due to the scarce system resources (256M of ram, if I'm not wrong).

See issue #38 for more information.
find quote
schrikbeest Offline
Junior Member
Posts: 1
Joined: Jun 2012
Reputation: 0
Post: #229
Hi,

I am using Openelec and i just cant get music playing. It just freezes when i select a song, after a while i get a timeout that refers to a log file. Where is this logfile located and how can i get it working using Openelec?
find quote
mazkolain Offline
Senior Member
Posts: 118
Joined: Mar 2012
Reputation: 13
Post: #230
(2012-06-22 11:51)schrikbeest Wrote:  Hi,

I am using Openelec and i just cant get music playing. It just freezes when i select a song, after a while i get a timeout that refers to a log file. Where is this logfile located and how can i get it working using Openelec?
In order to get a log file containing as much details as possibe try to reproduce the issue and wait until you get the timeout error. To get the latest logfile you'll have to connect to the Openelec box via ssh, and copy the file located at /storage/.xbmc/temp/xbmc.log to a publicly visible folder (e.g. /storage/downloads). You can then find this fresh log file under the /downloads network share exposed by Openelec.
find quote
Kib Offline
Team-Kodi Server Dude
Posts: 3,640
Joined: Jan 2010
Reputation: 55
Location: NL
Post: #231
The last beta runs absolutely amazing under XBMCbuntu,

Thanks for the great work!

Neon skin - v3.0.8 now available for XBMC 13.x (Gotham)
find quote
bckane Offline
Junior Member
Posts: 42
Joined: Oct 2011
Reputation: 0
Post: #232
(2012-06-21 21:38)mazkolain Wrote:  
(2012-06-20 01:55)bckane Wrote:  thank you for a great plugin.........is there a way around login every time I start the app.......pain with a remote
thanks again

Problem solved: added this
<advancedsettings>
<spotify>
<enable>true</enable>
<username>username</username>
<password>password</password>
<cachefolder>a temporary directory</cachefolder>
<maxsearchartists>30</maxsearchartists>
<maxsearchalbums>30</maxsearchalbums>
<maxsearchtracks>150</maxsearchtracks>
</spotify>
</advancedsettings>
update.......this didn't work after the reboot
BTW Im running openelec xbmc
The settings above are spotyxbmc specific, they won't affect the behavior of Spotimc. Also, it seems that even if you disable Spotyxbmc from it's settings addon, they still don't play well with each other. Spotimc seems to conflict with spotyxbmc (and vice versa), probably related to the fact that libspotify doesn't support multiple sessions to be created on the same process.


My app works good but every time I exit I have to reboot to access spottily again......will there ever be a fix for this
thanks for a great app
BRIAN


(2012-06-20 11:26)dallasnights Wrote:  all fixed for win7
Had to unistall XBMC and reinstall a clean copy

Keep up the great work
Hope you can get ATV2 to work soon

Thanks
I've tested with an XBMC build which includes spotyxbmc and I was able to reproduce the issue. It was probably related to the same issue @bckane was experiencing.

(2012-06-21 08:46)hholtman Wrote:  Can anyone confirm or negate that Spotimc will work on Rasbmc, a minimal Linux distribution based on Debian that brings XBMC to the Raspberry Pi? The Raspberry Pi is an ARM based single-board computer and in the dlls folder i only can find a linux x86 version of libspotify, however Spotify offers a ARM version of libspotify on their site.

links:
http://www.raspberrypi.org/
http://www.raspbmc.com/
Currently Spotimc is not compatible with ARM, but the changes required to make it work on that platform should be minimal. The only problems that could arise here should be memory ones, due to the scarce system resources (256M of ram, if I'm not wrong).

See issue #38 for more information.
find quote
schwanz Offline
Junior Member
Posts: 3
Joined: Jun 2012
Reputation: 0
Post: #233
(2012-06-16 21:01)schwanz Wrote:  
(2012-06-16 19:52)mazkolain Wrote:  Hello everybody!

I'm pleased to announce a new release: 1.0-beta1. The package can be downloaded here.

I labelled this release as beta because most of the major bugs from past releases are now gone (OSX and Linux restart issues, conflicts with remotes and the freeze when exitting the addon). The full changelog can be seen here.

Enjoy!

And now here are some answers:
[quote='schwanz' pid='1127622' dateline='1339709657']
I'm running mac osx 10.5.8. XBMC Eden with Aeon Nox skin. Tried switching skins, but didn't work. When i check the log i see a couple of warnings and error messages (some repeating several times).

...

ERROR: Error Type: <type 'exceptions.OSError'>
ERROR: Error Contents: dlopen(~/Library/Application Support/XBMC/addons/script.audio.spotimc/resources/dlls/osx/libspotify, 6): Symbol not found: _fdopen$UNIX2003
Referenced from: ~/Library/Application Support/XBMC/addons/script.audio.spotimc/resources/dlls/osx/libspotify
Expected in: /usr/lib/libSystem.B.dylib

This issue has been reported before, and is still a mistery to me. Could be related to some linking issue on libspotify's side, but is strange because it should work with OSX 10.4 and 10.5. Anyway, I can run Spotimc successfully under OSX 10.6.

Thanks for your reaction. Bummer it's a mistery. Just tried beta1, but same problem. Maybe i just have to upgrade to 10.6.

Just tried beta1 on osx 10.7 and works fine. Seems like osx version issue indeed.
find quote
bckane Offline
Junior Member
Posts: 42
Joined: Oct 2011
Reputation: 0
Post: #234
mazkolain........I tried loading the new beta and I can't seem to get it to work:
http://pastebin.com/CEHrtUtC
find quote
newphreak Offline
Donor
Posts: 183
Joined: Oct 2010
Reputation: 1
Location: sofa @ Norway
Post: #235
I found a bug that I could reproduce to infinity on my own. It consistently crashes when I use the web interface when playing music within this addon. So I would guess this addon doesn't like to get polled by json rpc or something similar? Oh well, here is a log:
http://sprunge.us/gJIb

It plays a few seconds more after I've opened the web interface, then it crashes.
I'm on xbmc-frodo (v12-alpha3)

Edit: Probably a known limit, but mentioning it anyhow:
fast forward etc doesn't work, I assume it has to do with the way it buffers, and the size of the buffer?

Samsung ES7005 55" led tv - Denon AVR-3313 - NAD C275BEE - B&W DM683 - B&W HTM61 - B&W 686
Intel NUC D34010WYK - 128GB Crucial ssd, Built in IR Receiver
And a Logitech Harmony Touch to control it all. http://www.OpenELEC.tv
Retired: Asus EB1501P ION2 - OCZ Vertex 2 64gb ssd - Built in IR Receiver
(This post was last modified: 2012-06-25 16:20 by newphreak.)
find quote
mazkolain Offline
Senior Member
Posts: 118
Joined: Mar 2012
Reputation: 13
Post: #236
(2012-06-22 22:11)bckane Wrote:  My app works good but every time I exit I have to reboot to access spottily again......will there ever be a fix for this
thanks for a great app
BRIAN
1.0-beta1 fixed the restart issue on some platforms like OSX and Linux. Anyway, if you are using a custom XBMC build including spotyxbmc you may still experience the issue, as they don't play well between each other. I'm not blaming spotyxbmc, and the issue is probably related to the fact that libspotify doesn't allow to create simmultaneous sessions on the same process.

(2012-06-22 23:26)schwanz Wrote:  Just tried beta1 on osx 10.7 and works fine. Seems like osx version issue indeed.
Glad to hear that it works. Thank you!

(2012-06-23 05:06)bckane Wrote:  mazkolain........I tried loading the new beta and I can't seem to get it to work:
http://pastebin.com/CEHrtUtC
You probably got the package from the upper part dowload links of the github page. These packages are not valid as they are source-only releases, and they do not contain any kind of binary dependencies. The valid ones are the prepackaged zips on the lower part of that download page.

(2012-06-25 16:18)newphreak Wrote:  I found a bug that I could reproduce to infinity on my own. It consistently crashes when I use the web interface when playing music within this addon. So I would guess this addon doesn't like to get polled by json rpc or something similar? Oh well, here is a log:
http://sprunge.us/gJIb

It plays a few seconds more after I've opened the web interface, then it crashes.
I'm on xbmc-frodo (v12-alpha3)

Edit: Probably a known limit, but mentioning it anyhow:
fast forward etc doesn't work, I assume it has to do with the way it buffers, and the size of the buffer?
I've tested the addon under a nightly Frodo build (25-Jun) with the awxi interface, and didn't see it crash. I'm on Win7 but perhaps will have to look under Openelec. Thanks for reporting!

Regarding to the fast forward issue: This function is conditioned by the amout of time libspotify can serve ahead of the buffer, albeit I still hope adding seeking support, but would require implementing Byte Serving on the streaming proxy.
find quote
bckane Offline
Junior Member
Posts: 42
Joined: Oct 2011
Reputation: 0
Post: #237
mazkolain.....i got the package from mortstar's repo ver 1.2.0........should I install it from a difference source ?
find quote
mazkolain Offline
Senior Member
Posts: 118
Joined: Mar 2012
Reputation: 13
Post: #238
(2012-06-26 05:03)bckane Wrote:  mazkolain.....i got the package from mortstar's repo ver 1.2.0........should I install it from a difference source ?
Mortstar's repo still contains the previous release, so you'll have to get a prepackaged zip. Here's the link for the latest release:
https://github.com/downloads/mazkolain/s...-beta1.zip
find quote
bckane Offline
Junior Member
Posts: 42
Joined: Oct 2011
Reputation: 0
Post: #239
(2012-06-26 22:57)mazkolain Wrote:  
(2012-06-26 05:03)bckane Wrote:  mazkolain.....i got the package from mortstar's repo ver 1.2.0........should I install it from a difference source ?
Mortstar's repo still contains the previous release, so you'll have to get a prepackaged zip. Here's the link for the latest release:
https://github.com/downloads/mazkolain/s...-beta1.zip

I downloaded the prepackaged zip........solved all my problems Thanks mazkolain
find quote
Rooster77 Offline
Junior Member
Posts: 7
Joined: Feb 2011
Reputation: 0
Post: #240
Hi

I tried to get Spotimc running on my ATV2. The setup is iOS 4.3 (possible to run own build from master).
The installation went just fine and after an initial run where I saw that spotimc was looking for libspotify in the /osx folder i simply renamed the libspotify file there and uploaded the iOS version instead (version 12.1.51). Despite this it refuses to accept the libspotify file I have placed there and complains about it's an unknown file type.

See log file at;
http://pastebin.com/CAAcEuaN

Would it be possible for spotimc to;
1) Identify that if it's an iOS device instead look in the /ios folder
2) Accept the iOS build of libspotify

Would be more than willing to help you out to test this one out for you.

BR
Mike
find quote
Post Reply