• 1
  • 61
  • 62
  • 63(current)
  • 64
  • 65
  • 67
[RELEASE] Spotimc: Another Spotify music addon
does this add-on support ''spotify connect'' so I could use spotify app on my tablet?
Reply
Since a week my Openelec installation crashes as soon as I press play in SpotiMC. Reinstalled the plugin, problem stays. Anyone else experiencing this? Want to know if this is a SpotiMc/Spotify problem or that my raspberry pi has an problem....

Rob
Reply
Installed and working fine on a Raspberry Pi 2 Model B, running Kodi Helix, iPhone XBMC remote app also appears OK
Image
Reply
Is there a way to have two different users on this addon?
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Reply
I have now tried to change the name of the Spotimc addon, so I can have two diffrent running on the system.
I can get two installed, but it won`t ask for two accounts, it will just use the same one.

It will install as two separate addons, in both addon folder and the addon data folder.

The problem seems to be that it can`t see that it should be two different logins.
What else do I have to recode?

I have edited these files, addon.xml, default.py and spotimc.py like this:
Addon.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<addon id="script.audio.spotimc.extra" version="1.0-beta5" name="Spotimc.extra" provider-name="Mikel Azkolain">
    <requires>
        <import addon="xbmc.python" version="2.1.0"/>
    </requires>
    <extension point="xbmc.python.script" library="default.py">
        <provides>audio</provides>
    </extension>
    <extension point="xbmc.addon.metadata">
        <platform>all</platform>
        <summary>Spotimc gives you access to the Spotify music service.</summary>
        <description>Spotimc lets you search for music, browse your playlists and play your favourite tunes right from XBMC.[CR][CR]This product uses SPOTIFY(R) CORE but is not endorsed, certified or otherwise approved in any way by Spotify. Spotify is the registered trade mark of the Spotify Group.[CR][CR]Special thanks to Seeleck for the logo and skin improvements.[CR][CR]Special thanks also for the CherryPy project, the DejaVu fonts project and the GNOME project (high contrast icons theme).</description>
        <disclaimer>It requires a Spotify premium account.</disclaimer>
    </extension>
</addon>

default.py
Code:
'''
Copyright 2011 Mikel Azkolain

This file is part of Spotimc.

Spotimc is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Spotimc is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Spotimc.  If not, see <http://www.gnu.org/licenses/>.
'''


import xbmc
import xbmcaddon
import os.path
import sys

#Set global addon information first
__addon_id__ = 'script.audio.spotimc.extra'
addon_cfg = xbmcaddon.Addon(__addon_id__)
__addon_path__ = addon_cfg.getAddonInfo('path')
__addon_version__ = addon_cfg.getAddonInfo('version')

#Make spotimcgui available
sys.path.insert(0, os.path.join(__addon_path__, "resources/libs"))
from spotimcgui.utils import environment


if environment.has_background_support():

    #Some specific imports for this condition
    from spotimcgui.settings import InfoValueManager
    from spotimcgui.utils.gui import show_busy_dialog

    manager = InfoValueManager()
    spotimc_window_id = manager.get_infolabel('spotimc_window_id')

    if spotimc_window_id != '':
        xbmc.executebuiltin('ActivateWindow(%s)' % spotimc_window_id)
    else:
        spotimc_path = os.path.join(__addon_path__, 'spotimc.py')
        show_busy_dialog()
        xbmc.executebuiltin('RunScript("%s")' % spotimc_path)

else:
    #Prepare the environment...
    from spotimcgui.utils.environment import set_library_paths
    set_library_paths()

    from spotimcgui.main import main
    main()

spotimc.py
Code:
'''
Copyright 2011 Mikel Azkolain

This file is part of Spotimc.

Spotimc is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Spotimc is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Spotimc.  If not, see <http://www.gnu.org/licenses/>.
'''


import os.path
import xbmcaddon
import sys


#Set global addon information first
__addon_id__ = 'script.audio.spotimc.extra'
addon_cfg = xbmcaddon.Addon(__addon_id__)
__addon_path__ = addon_cfg.getAddonInfo('path')
__addon_version__ = addon_cfg.getAddonInfo('version')

#Make spotimcgui available
sys.path.insert(0, os.path.join(__addon_path__, "resources/libs"))

#Prepare the environment...
from spotimcgui.utils.environment import set_library_paths
set_library_paths()

from spotimcgui.main import main
main()

As you can see, I have added "extra" to the addon id. To make it work twice, but still no luck.
I have also changed the name of the main folder inside the zip to match what I have done in the files.

Hope there are some kind people that can help me. :-)
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Reply
Hi everyone. I love the Spotimc addon. Unfortunately something has gone wrong with it on my osmc raspi1 set up. If anyone can help me figure out how to fix it I'd be super happy. kodi.log detail below:

Code:
19:02:56 T:2780820512  NOTICE: -->Python Interpreter Initialized<--
19:02:57 T:2797597728  NOTICE: Thread LanguageInvoker start, auto delete: false
19:02:58 T:2797597728  NOTICE: -->Python Interpreter Initialized<--
19:02:58 T:2797597728 WARNING: CPythonInvoker(12): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
19:03:05 T:2797597728   ERROR: Traceback (most recent call last):
19:03:05 T:2797597728   ERROR:   File "/home/osmc/.kodi/addons/script.audio.spotimc/resources/libs/spotimcgui/main.py", line 497, in main
19:03:05 T:2797597728   ERROR:     fm.install_file(xml_path, font_dir)
19:03:05 T:2797597728   ERROR:   File "/home/osmc/.kodi/addons/script.audio.spotimc/resources/libs/xbmc-skinutils/src/skinutils/fonts.py", line 191, in install_file
19:03:05 T:2797597728   ERROR:     self._install_file(doc_cache, user_file, skin_file, font_path)
19:03:05 T:2797597728   ERROR:   File "/home/osmc/.kodi/addons/script.audio.spotimc/resources/libs/xbmc-skinutils/src/skinutils/fonts.py", line 161, in _install_file
19:03:05 T:2797597728   ERROR:     self._get_font_attr(item, "linespacing")
19:03:05 T:2797597728   ERROR:   File "/home/osmc/.kodi/addons/script.audio.spotimc/resources/libs/xbmc-skinutils/src/skinutils/fonts.py", line 100, in _install_font_def
19:03:05 T:2797597728   ERROR:     font_doc = self.__doc_cache.read(skin_file)
19:03:05 T:2797597728   ERROR:   File "/home/osmc/.kodi/addons/script.audio.spotimc/resources/libs/xbmc-skinutils/src/skinutils/__init__.py", line 341, in read
19:03:05 T:2797597728   ERROR:     self.__cached_docs[file] = ET.parse(file)
19:03:05 T:2797597728   ERROR:   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
19:03:05 T:2797597728   ERROR:     tree.parse(source, parser)
19:03:05 T:2797597728   ERROR:   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse
19:03:05 T:2797597728   ERROR:     parser.feed(data)
19:03:05 T:2797597728   ERROR:   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
19:03:05 T:2797597728   ERROR:     self._raiseerror(v)
19:03:05 T:2797597728   ERROR:   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
19:03:05 T:2797597728   ERROR:     raise err
19:03:05 T:2797597728   ERROR: ParseError: not well-formed (invalid token): line 150, column 1
19:03:08 T:2797597728  NOTICE: Thread LanguageInvoker start, auto delete: false
19:03:08 T:2797597728  NOTICE: Previous line repeats 1 times.
19:03:08 T:2797597728  NOTICE: -->Python Interpreter Initialized<--
19:03:10 T:2814374944  NOTICE: Previous line repeats 1 times.
19:03:10 T:2814374944  NOTICE: Thread JobWorker start, auto delete: true
19:03:10 T:2814374944 WARNING: CreateLoader - unsupported protocol(home/image) in home/image://%2fhome%2fosmc%2f.kodi%2faddons%2fscript.audio.spotimc%2ficon.png/
Reply
(2015-03-20, 07:22)GaryCN Wrote: Installed and working fine on a Raspberry Pi 2 Model B, running Kodi Helix, iPhone XBMC remote app also appears OK
Image

Hi,

Looks Great
Could you please share how you installed it.
It does not seem to be available on SuperRepo for helix.
Did you download the zip directly? If so where from.

Cheers,
Nic
Reply
Trying to install this on my Amazon FireTV's Kodi 14.2 install. This is the error I get on launch:

Quote:OSError
[Errno 1] Operation not permitted:
"/storage/emulated/o/Android/data/org.xbmc.kodi..."

I've installed many other add-ons that work fine. I'm sure this error has something to do with how the FireTV handles its storage. Has anyone else had success with this? Is there a workaround/fix? I'd love to get Spotimc running on my FireTV, it looks great!
Reply
Did you ever get this working on the firetv? I have the same issue.
Reply
Nope. Sad
Reply
(2015-03-29, 21:15)peterwalker78 Wrote: Hi everyone. I love the Spotimc addon. Unfortunately something has gone wrong with it on my osmc raspi1 set up. If anyone can help me figure out how to fix it I'd be super happy. kodi.log detail below:

Code:
19:02:56 T:2780820512  NOTICE: -->Python Interpreter Initialized<--
19:02:57 T:2797597728  NOTICE: Thread LanguageInvoker start, auto delete: false
19:02:58 T:2797597728  NOTICE: -->Python Interpreter Initialized<--
19:02:58 T:2797597728 WARNING: CPythonInvoker(12): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
19:03:05 T:2797597728   ERROR: Traceback (most recent call last):
19:03:05 T:2797597728   ERROR:   File "/home/osmc/.kodi/addons/script.audio.spotimc/resources/libs/spotimcgui/main.py", line 497, in main
19:03:05 T:2797597728   ERROR:     fm.install_file(xml_path, font_dir)
19:03:05 T:2797597728   ERROR:   File "/home/osmc/.kodi/addons/script.audio.spotimc/resources/libs/xbmc-skinutils/src/skinutils/fonts.py", line 191, in install_file
19:03:05 T:2797597728   ERROR:     self._install_file(doc_cache, user_file, skin_file, font_path)
19:03:05 T:2797597728   ERROR:   File "/home/osmc/.kodi/addons/script.audio.spotimc/resources/libs/xbmc-skinutils/src/skinutils/fonts.py", line 161, in _install_file
19:03:05 T:2797597728   ERROR:     self._get_font_attr(item, "linespacing")
19:03:05 T:2797597728   ERROR:   File "/home/osmc/.kodi/addons/script.audio.spotimc/resources/libs/xbmc-skinutils/src/skinutils/fonts.py", line 100, in _install_font_def
19:03:05 T:2797597728   ERROR:     font_doc = self.__doc_cache.read(skin_file)
19:03:05 T:2797597728   ERROR:   File "/home/osmc/.kodi/addons/script.audio.spotimc/resources/libs/xbmc-skinutils/src/skinutils/__init__.py", line 341, in read
19:03:05 T:2797597728   ERROR:     self.__cached_docs[file] = ET.parse(file)
19:03:05 T:2797597728   ERROR:   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
19:03:05 T:2797597728   ERROR:     tree.parse(source, parser)
19:03:05 T:2797597728   ERROR:   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse
19:03:05 T:2797597728   ERROR:     parser.feed(data)
19:03:05 T:2797597728   ERROR:   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
19:03:05 T:2797597728   ERROR:     self._raiseerror(v)
19:03:05 T:2797597728   ERROR:   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
19:03:05 T:2797597728   ERROR:     raise err
19:03:05 T:2797597728   ERROR: ParseError: not well-formed (invalid token): line 150, column 1
19:03:08 T:2797597728  NOTICE: Thread LanguageInvoker start, auto delete: false
19:03:08 T:2797597728  NOTICE: Previous line repeats 1 times.
19:03:08 T:2797597728  NOTICE: -->Python Interpreter Initialized<--
19:03:10 T:2814374944  NOTICE: Previous line repeats 1 times.
19:03:10 T:2814374944  NOTICE: Thread JobWorker start, auto delete: true
19:03:10 T:2814374944 WARNING: CreateLoader - unsupported protocol(home/image) in home/image://%2fhome%2fosmc%2f.kodi%2faddons%2fscript.audio.spotimc%2ficon.png/

Anyone know of a fix to this yet?
Reply
It's so sad there isn't a new release of this.
I'd very much like an option to view saved albums. Now there not showing up. Only if you create a playing for the item.
The Spotify app on mobile gives you a dedicated view for albums. Any change there is an update to this great add-on to add another top button for this?
Reply
I just install spotimc on xbmc 13.0 gotham it's great a good job and thank you to the creator
Everything works smoothly.
Thank you from FRANCE
Reply
I am delighted development has stopped!
Yes indeed. Because 1 person cannot be expected to deliver a ful Spotify experience by building such an unofficial addon. Hell no.
Spotify has brought us Spotify Connect. It would be fantastic if Kodi would support that as an addon/service.

I only need an addon on Kodi that will allow me to use Spotify normally on any phone/device, controlling the Spotify instance in Kodi. So I really do not want to have a full featured Spotify INSIDE Kodi (unless it came from Spotify officially), only the part that is needed to play on Kodi, while controlling everything using the official Spotify app on my phone.
(Same goes for Youtube, I just want to be able to send youtube videos to Kodi from my phone).

For example:
On my Windows laptop I have installed Spotify.
On my Android phone I have installed Spotify.

Now I can do everything on my phone, but I can choose easily in the app whether I want the music to play from the laptop or the phone (2 choices)

Now I just want to have Kodi as third option. That's all. Nothing more. Hell the Kodi addon doesn't even need to have a UI, it could even be a service running on the background. Is this possible?
Reply
I`m almost feeling the same way.

But i do not always have my phone in my hand. I like to be without the phone, I like to be a littlebit old fashion.
I don`t need to reachable all the time. That`s why there should be a little UI, maybe simpler.
But still, i work as you also say.

:-)
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Reply
  • 1
  • 61
  • 62
  • 63(current)
  • 64
  • 65
  • 67

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Spotimc: Another Spotify music addon32