Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 136
Beta Spotify for Kodi
#61
Thanks for the addon. Can I add music from this addon to the kodi music library?
Reply
#62
(2016-03-28, 11:38)DarkHelmet Wrote: Thanks for the addon. Can I add music from this addon to the kodi music library?

No, not yet
Reply
#63
Thanks for your geat addon!

I just gave it a testrun on kodi 16.0 on a windows 10 machine and it work as described.
however, on my Xtreamer Android player with also kodi 16.0 it did not work.
after installing it, it showed the browser and I did enter my credentials.
After that I got an empty dialog with only: login error.
I am not sure how to get the logfile. will look into that tonight.
Reply
#64
Thanks for the answer. This seems to be common for music addons accessing online sources. Neither spotify, nor google music, nor amazon prime music addons can do that. Since I believe all developers are very skilled I wonder what needs to be done in kodi to achieve that. I have an amazon instant video addon, that lets me add movies and tv shows to my library as if they were local content.

I basically have three music libraries on kodi now. Local, amazon prime music and google play music. It would be so cool if these could be unified in one library.

What is so fundamentally different with the music library?
Reply
#65
(2016-03-28, 13:27)DarkHelmet Wrote: Thanks for the answer. This seems to be common for music addons accessing online sources. Neither spotify, nor google music, nor amazon prime music addons can do that. Since I believe all developers are very skilled I wonder what needs to be done in kodi to achieve that. I have an amazon instant video addon, that lets me add movies and tv shows to my library as if they were local content.

I basically have three music libraries on kodi now. Local, amazon prime music and google play music. It would be so cool if these could be unified in one library.

What is so fundamentally different with the music library?

It's on my TODO list to add. In that case some dummy strm files will be added to the Kodi music library containing a playback link to the actual spotify plugin so playback will at all times be performed by spotify.

The Kodi music/video library only scans local files (on disk) to the database. It doesn't understand online sources unless you work with the strm files.
Reply
#66
(2016-03-28, 13:23)PimPandoer72 Wrote: Thanks for your geat addon!

I just gave it a testrun on kodi 16.0 on a windows 10 machine and it work as described.
however, on my Xtreamer Android player with also kodi 16.0 it did not work.
after installing it, it showed the browser and I did enter my credentials.
After that I got an empty dialog with only: login error.
I am not sure how to get the logfile. will look into that tonight.

I am still working on the Android compatability.
I have tested it on some old ARM-based android 4.4 box and that was working well but as it seems it requires more work on other boxes.
Reply
#67
Great addon! Works fine here (windows, jarvis).

If there is a thing i would like, it would be showing all album posters without 'changing page'.

Cheers



Added question

Perhaps not the right thread... When playing Spotify the volume is constantly changing at the beginning of a new track. Starting high, then lowered. Have tried several Kodi settings, but nothing solved it (yet).

Sounds fimiliar?
Reply
#68
Does anyone know if having Firefox sideloaded on a FireTV will satisfy the "browser needed for authentication"?
Reply
#69
Just tried the add-on on my W10, working great!
But I'd rather use it on my rpi2..
So I copied the entire folder (plugin.audio.spotify) from my laptop to the rpi, but when I launch the addon, it still tried to launch a browser to authenticate.
I rebooted the rpi, and that solved the browser problem, but now I just get a popup with
Code:
Login error:

Any suggestions? Smile
Reply
#70
Here is a part of my log file regarding the error on Android boxes:

Code:
14:23:15 T:18446744072347124480  NOTICE: special://profile/ is mapped to: special://masterprofile/
14:23:15 T:18446744072347124480  NOTICE: Previous line repeats 1 times.
14:23:15 T:18446744072347124480  NOTICE: -----------------------------------------------------------------------
14:23:15 T:18446744072347124480  NOTICE: Starting Kodi (16.0 Git:2016-02-20-e240bb2). Platform: Android ARM 32-bit
14:23:15 T:18446744072347124480  NOTICE: Using Release Kodi x32 build
14:23:15 T:18446744072347124480  NOTICE: Kodi compiled Feb 20 2016 by GCC 4.8.0 for Android ARM 32-bit API level 17 (API level 17)
14:23:15 T:18446744072347124480  NOTICE: Running on amlogic Xtreamer Wonder Pro with Android 5.1.1 API level 22, kernel: Linux ARM 32-bit version 3.10.33
14:23:15 T:18446744072347124480  NOTICE: FFmpeg version: 2.8.6-kodi-2.8.6-Jarvis-16.0
14:23:15 T:18446744072347124480  NOTICE: Host CPU: ARMv7 Processor rev 1 (v7l), 4 cores available
14:23:15 T:18446744072347124480  NOTICE: Product: fugu, Device: fugu, Board: n200 - Manufacturer: amlogic, Brand: google, Model: Xtreamer Wonder Pro, Hardware: amlogic
14:23:15 T:18446744072347124480  NOTICE: External storage path = /storage/emulated/0; status = ok
14:23:15 T:18446744072347124480  NOTICE: ARM Features: Neon enabled
14:23:15 T:18446744072347124480  NOTICE: special://xbmc/ is mapped to: /data/data/org.xbmc.kodi/cache/apk/assets
14:23:15 T:18446744072347124480  NOTICE: special://xbmcbin/ is mapped to: /data/data/org.xbmc.kodi/cache/apk/assets
14:23:15 T:18446744072347124480  NOTICE: special://masterprofile/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata
14:23:15 T:18446744072347124480  NOTICE: special://home/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi
14:23:15 T:18446744072347124480  NOTICE: special://temp/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp
14:23:15 T:18446744072347124480  NOTICE: The executable running is:
14:23:15 T:18446744072347124480  NOTICE: Local hostname: localhost
14:23:15 T:18446744072347124480  NOTICE: Log File is located: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/kodi.log
14:23:15 T:18446744072347124480  NOTICE: -----------------------------------------------------------------------
14:23:15 T:18446744072347124480  NOTICE: load settings...
14:23:15 T:18446744072347124480   DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/settings.xml
14:23:15 T:18446744072347124480 WARNING: CSettingInt: unknown options filler "audiocdactions" of "audiocds.autoaction"
14:23:15 T:18446744072347124480   DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/android.xml
14:23:15 T:18446744072347124480   DEBUG: AESinkAUDIOTRACK - 44100 supported
14:23:15 T:18446744072347124480   DEBUG: AESinkAUDIOTRACK - 48000 supported
14:23:15 T:18446744072347124480   DEBUG: AESinkAUDIOTRACK - 96000 supported
14:23:15 T:18446744072347124480  NOTICE: Found 1 Lists of Devices
14:23:15 T:18446744072347124480  NOTICE: Enumerated AUDIOTRACK devices:
14:23:15 T:18446744072347124480  NOTICE:     Device 1
14:23:15 T:18446744072347124480  NOTICE:         m_deviceName      : AudioTrack
14:23:15 T:18446744072347124480  NOTICE:         m_displayName     : android
14:23:15 T:18446744072347124480  NOTICE:         m_displayNameExtra: audiotrack
14:23:15 T:18446744072347124480  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
14:23:15 T:18446744072347124480  NOTICE:         m_channels        : FL,FR,FC,LFE,BL,BR,SL,SR
14:23:15 T:18446744072347124480  NOTICE:         m_sampleRates     : 48000,44100,48000,96000
14:23:15 T:18446744072347124480  NOTICE:         m_dataFormats     : AE_FMT_S16LE,AE_FMT_AC3,AE_FMT_DTS
14:23:15 T:18446744072347124480   DEBUG: CSkinSettings: no <skinsettings> tag found
14:23:15 T:18446744072347124480  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
14:23:15 T:18446744072347124480  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
14:23:15 T:18446744072347124480  NOTICE: Default DVD Player: dvdplayer
14:23:15 T:18446744072347124480  NOTICE: Default Video Player: dvdplayer
14:23:15 T:18446744072347124480  NOTICE: Default Audio Player: paplayer
14:23:15 T:18446744072347124480  NOTICE: Disabled debug logging due to GUI setting. Level 0.
14:23:15 T:18446744072347124480  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
14:23:15 T:18446744072347124480  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
14:23:15 T:18446744072347124480  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:23:15 T:18446744072347124480  NOTICE: Loaded playercorefactory configuration
14:23:15 T:18446744072347124480  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
14:23:15 T:18446744072347124480  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
14:23:15 T:18446744072347124480  NOTICE: Running database version Addons20

from here Spotify is started:


20:33:57 T:18446744072347124480   DEBUG:   ParentPath = [addons://sources/audio]
20:33:57 T:18446744071838441600   DEBUG: bool XFILE::CPluginDirectory::StartScript(const string&, bool) - calling plugin Spotify('plugin://plugin.audio.spotify/','46','')
20:33:57 T:18446744071838441600   DEBUG: bool XFILE::CPluginDirectory::WaitOnScriptResult(const string&, int, const string&, bool) - waiting on the Spotify (id=137) plugin...
20:33:57 T:18446744071838451840   DEBUG: Thread LanguageInvoker start, auto delete: false
20:33:57 T:18446744071838451840    INFO: initializing python engine.
20:33:57 T:18446744071838451840   DEBUG: CPythonInvoker(137, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/plugin.py): start processing
20:33:57 T:18446744071838451840   DEBUG: -->Python Interpreter Initialized<--
20:33:57 T:18446744071838451840   DEBUG: CPythonInvoker(137, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/plugin.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/plugin.py"
20:33:57 T:18446744071838451840   DEBUG: CPythonInvoker(137, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/plugin.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.simplejson/lib:/:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python26.zip:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/plat-linux3:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/lib-tk:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/lib-old:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/lib-dynload
20:33:57 T:18446744071838451840   DEBUG: CPythonInvoker(137, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/plugin.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify
20:33:57 T:18446744071838451840   DEBUG: CPythonInvoker(137, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/plugin.py): instantiating addon using automatically obtained id of "plugin.audio.spotify" dependent on version 2.1.0 of the xbmc.python api
20:33:57 T:18446744072347124480   DEBUG: ------ Window Init (DialogBusy.xml) ------
20:33:58 T:18446744071860086272   DEBUG: Thread LanguageInvoker start, auto delete: false
20:33:58 T:18446744071860086272    INFO: initializing python engine.
20:33:58 T:18446744071860086272   DEBUG: CPythonInvoker(138, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/spotifyservice.py): start processing
20:33:58 T:18446744071860086272   DEBUG: -->Python Interpreter Initialized<--
20:33:58 T:18446744071860086272   DEBUG: CPythonInvoker(138, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/spotifyservice.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/spotifyservice.py"
20:33:58 T:18446744071860086272   DEBUG: CPythonInvoker(138, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/spotifyservice.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.simplejson/lib:/:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python26.zip:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/plat-linux3:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/lib-tk:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/lib-old:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.6/lib/python2.6/lib-dynload
20:33:58 T:18446744071860086272   DEBUG: CPythonInvoker(138, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/spotifyservice.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify
20:33:58 T:18446744071860086272   DEBUG: CPythonInvoker(138, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/spotifyservice.py): instantiating addon using automatically obtained id of "plugin.audio.spotify" dependent on version 2.1.0 of the xbmc.python api
20:33:58 T:18446744071860086272  NOTICE: Spotify --> Your platform (armv7l System.Platform.Android)
20:33:59 T:18446744071860086272  NOTICE: Spotify --> Starting background service...
20:33:59 T:18446744071860086272  NOTICE: Spotify --> ERROR in backgroundservice! Unable to find 'libspotify'
20:33:59 T:18446744071860086272   ERROR: Exception
20:33:59 T:18446744071860086272   ERROR: OSError
20:33:59 T:18446744071860086272   ERROR: :
20:33:59 T:18446744071860086272   ERROR: OSError("Unable to find 'libspotify'",)
20:33:59 T:18446744071860086272   ERROR:  in
20:33:59 T:18446744071860086272   ERROR: <bound method ?.? of <spotify.session.Session instance at 0xaeede8e0>>
20:33:59 T:18446744071860086272   ERROR:  ignored
20:33:59 T:18446744071860086272  NOTICE: Spotify --> Background service stopped
20:33:59 T:18446744071860086272    INFO: CPythonInvoker(138, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/spotifyservice.py): script successfully run
20:33:59 T:18446744071860086272    INFO: Python script stopped
20:33:59 T:18446744071860086272   DEBUG: Thread LanguageInvoker 18446744071860086272 terminating
20:34:07 T:18446744071838436480   DEBUG: virtual bool CImageLoader::DoWork() - took 121 ms to load special://masterprofile/Thumbnails/9/940d9f18.jpg
20:34:16 T:18446744071838433280   DEBUG: virtual bool CImageLoader::DoWork() - took 109 ms to load special://masterprofile/Thumbnails/7/7d2c29df.jpg
20:34:25 T:18446744071838436480   DEBUG: virtual bool CImageLoader::DoWork() - took 116 ms to load special://masterprofile/Thumbnails/4/447ee6d3.jpg
20:34:25 T:18446744072347124480   DEBUG: SECTION:UnloadDelayed(DLL: libImageLib-arm.so)
20:34:28 T:18446744071838451840   ERROR: Traceback (most recent call last):
20:34:28 T:18446744071838451840   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 653, in checkLoginDetails
20:34:28 T:18446744071838451840   ERROR:     error = SpotifyError[int(error)]
20:34:28 T:18446744071838451840   ERROR: ValueError: invalid literal for int() with base 10: ''
20:34:28 T:18446744071838451840   DEBUG: POParser: loaded 19 strings from file /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/resources/language/Dutch/strings.po
20:34:28 T:18446744071838451840   DEBUG: POParser: loaded 2 strings from file /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/resources/language/English/strings.po
20:34:28 T:18446744072347124480   DEBUG: ------ Window Init (DialogOK.xml) ------
20:34:31 T:18446744072347124480   DEBUG: Keyboard: scancode: 0x42, sym: 0x000d, unicode: 0x000a, modifier: 0x0
20:34:32 T:18446744072347124480   DEBUG: bool CInputManager::OnKey(const CKey&): return (0xf00d) pressed, action is Select
20:34:32 T:18446744072347124480   DEBUG: ------ Window Deinit (DialogOK.xml) ------
20:34:32 T:18446744071838441600   DEBUG: bool XFILE::CPluginDirectory::WaitOnScriptResult(const string&, int, const string&, bool)- plugin returned successfully
20:34:32 T:18446744071838451840    INFO: CPythonInvoker(137, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.spotify/plugin.py): script successfully run
20:34:32 T:18446744072347124480   DEBUG: RetrieveMusicInfo() took 0 msec
20:34:32 T:18446744071860085632   DEBUG: Thread BackgroundLoader start, auto delete: false
20:34:32 T:18446744071860085632   DEBUG: Thread BackgroundLoader 18446744071860085632 terminating
20:34:32 T:18446744072347124480   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
20:34:32 T:18446744071838451840    INFO: Python script stopped
20:34:32 T:18446744071838451840   DEBUG: Thread LanguageInvoker 18446744071838451840 terminating

I hope it is of some help!
Reply
#71
(2016-03-28, 17:01)VMCosco Wrote: Does anyone know if having Firefox sideloaded on a FireTV will satisfy the "browser needed for authentication"?

yes, any browser on android will suffice
Reply
#72
Thanks for this great add-on. It works like a charm on LibreELEC, and since everybody keeps asking for screenshots, here is a few.



Image
Image
Image
Image
Image
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. https://libreelec.tv
Retired: Asus EB1501P ION2 - OCZ Vertex 2 64gb ssd - Built in IR Receiver
Reply
#73
(2016-03-28, 17:44)Fire69 Wrote: Just tried the add-on on my W10, working great!
But I'd rather use it on my rpi2..
So I copied the entire folder (plugin.audio.spotify) from my laptop to the rpi, but when I launch the addon, it still tried to launch a browser to authenticate.
I rebooted the rpi, and that solved the browser problem, but now I just get a popup with
Code:
Login error:

Any suggestions? Smile

Please share your Kodi logfile after trying to launch the addon. Something is wrong with the platform detection
Reply
#74
(2016-03-28, 21:12)PimPandoer72 Wrote: Here is a part of my log file regarding the error on Android boxes:

I hope it is of some help!

New version 1.0.7 is uploading to the repo. Can you give that version a shot ?
Reply
#75
(2016-03-29, 20:16)newphreak Wrote: Thanks for this great add-on. It works like a charm on LibreELEC, and since everybody keeps asking for screenshots, here is a few.

Thanks!
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 136

Logout Mark Read Team Forum Stats Members Help
Spotify for Kodi17
This forum uses Lukasz Tkacz MyBB addons.