Beta - Spotify for Kodi

  Thread Rating:
  • 11 Vote(s) - 4.55 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
marcelveldt Offline
Skilled Skinner
Posts: 7,959
Joined: Jul 2014
Reputation: 318
Location: The Netherlands
Post: #46
(2016-03-25 03:51)mystic84 Wrote:  oke I did it the chrome page came up signing successful bu the login said bad user name and password

Strange, that error is coming directly from the libspotify components so there must be something which it doesn't like.
Any chance you could share your log with me after doing a login attempt ?

If you're using Facebook login with spotify you'll have to enter your Facebook credentials btw.
find quote
Jönke Offline
Posting Freak
Posts: 1,021
Joined: Oct 2009
Reputation: 9
Location: Parts Unknown
Post: #47
Had same issue , had to delete addon and clear chrome data many times before succes on osx. On shieldtv no luck yet Sad
find quote
marcelveldt Offline
Skilled Skinner
Posts: 7,959
Joined: Jul 2014
Reputation: 318
Location: The Netherlands
Post: #48
(2016-03-25 10:52)Jönke Wrote:  Had same issue , had to delete addon and clear chrome data many times before succes on osx. On shieldtv no luck yet Sad

Would it be possible for you to share your kofi logfile with me after attempting the login on the shield ?
I can only test it on the machines I own myself, for the rest I'll have to rely on your testings :-)
find quote
Jönke Offline
Posting Freak
Posts: 1,021
Joined: Oct 2009
Reputation: 9
Location: Parts Unknown
Post: #49
Yeah sure when im back home again on monday
find quote
mystic84 Offline
Senior Member
Posts: 156
Joined: Feb 2015
Reputation: 0
Post: #50
got it to work on pc but nexus player no luck login error
find quote
marcelveldt Offline
Skilled Skinner
Posts: 7,959
Joined: Jul 2014
Reputation: 318
Location: The Netherlands
Post: #51
(2016-03-26 00:42)mystic84 Wrote:  got it to work on pc but nexus player no luck login error

Logfile?
find quote
mystic84 Offline
Senior Member
Posts: 156
Joined: Feb 2015
Reputation: 0
Post: #52
I sideloaded the chrome browser the popup comes out successful you may now close this browser window but the login error still appears
find quote
marcelveldt Offline
Skilled Skinner
Posts: 7,959
Joined: Jul 2014
Reputation: 318
Location: The Netherlands
Post: #53
(2016-03-26 04:08)mystic84 Wrote:  I sideloaded the chrome browser the popup comes out successful you may now close this browser window but the login error still appears

Logfile??!
find quote
pike Offline
Team Kodi Admin
Posts: 4,990
Joined: Sep 2003
Reputation: 30
Location: Sweden
Post: #54
After an upgrade to a fresher OpenElec, I managed to get Spotify to work Smile So very nice to finally be able to listen to my Songs and not only Playlists!
When attempting to launch Spotify, chromium-browser now launched and asked me to login. The first time I did this login, Spotify errored and failed.
Stubborn as I am, I tried the exact same procedure once more and now success!

Questions.

Which Quality is the PCM stream decoded from?
Can you see a way to make seek work? It seems today that whenever a seek is made, only a very short time ahead can be seeked to and when we run out of data we skip to the next item (EOF is reached). If seek can not be made to work, maybe best to disable it? I hear there may be a 'live' flag for seek that disables it?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
macardi Offline
Senior Member
Posts: 239
Joined: Sep 2008
Reputation: 1
Location: Sweden
Post: #55
(2016-03-23 10:21)macardi Wrote:  
(2016-03-23 09:50)marcelveldt Wrote:  
(2016-03-23 08:56)macardi Wrote:  This is fantastic, works as a charm! Many thanks!

I don´t know if you open for feature request or if my wish is even possible. However, one thing i would like to see is the ability to set specific view types for specific content e.g. artists, albums, songs. Smilar to what you can do in the YouTube and Netflix addon where you can specify the view types for e.g. episodes and season level in the addon settings.

//Marcus

I will add that to my todo list. Also note that there are a few skins available that will allow you to specify/force the view per content type. Which is imo better than all having it to set in all addons/plugins.

Aha was not aware of that, can you give an example of such a skin?

Doesn't seem to work, I tried with Titan and forced view as well as modding my current skin in use. It seem like the Container.Content(.....) is overlooked. Is the content set by the addon so it can be used by the skinning engine, or I am missing something?

/Marcus
find quote
marcelveldt Offline
Skilled Skinner
Posts: 7,959
Joined: Jul 2014
Reputation: 318
Location: The Netherlands
Post: #56
(2016-03-26 12:44)pike Wrote:  When attempting to launch Spotify, chromium-browser now launched and asked me to login. The first time I did this login, Spotify errored and failed.
Stubborn as I am, I tried the exact same procedure once more and now success!
Yeah, sometimes it fails at first login, still have to fix that.

(2016-03-26 12:44)pike Wrote:  Which Quality is the PCM stream decoded from?
Highest PCM stream, so 320kbit

(2016-03-26 12:44)pike Wrote:  Can you see a way to make seek work? It seems today that whenever a seek is made, only a very short time ahead can be seeked to and when we run out of data we skip to the next item (EOF is reached). If seek can not be made to work, maybe best to disable it? I hear there may be a 'live' flag for seek that disables it?

I'll look into it. For playback only the good old libspotify still is used untill the playback capabilities are added to the new webapi.
find quote
marcelveldt Offline
Skilled Skinner
Posts: 7,959
Joined: Jul 2014
Reputation: 318
Location: The Netherlands
Post: #57
(2016-03-26 13:01)macardi Wrote:  Doesn't seem to work, I tried with Titan and forced view as well as modding my current skin in use. It seem like the Container.Content(.....) is overlooked. Is the content set by the addon so it can be used by the skinning engine, or I am missing something?

The content is beiing set by the addon as follows (feedback welcome):

Artist listings --> artists
Playlist listings --> files
Main/explore listing --> files
Playlist tracks --> songs
Album listings --> albums
Album songs --> songs

BTW: I just tried the forced views on my setup an it's working fine. Did you set a preferred view for music artists, albums and songs in the skin settings ?
find quote
macardi Offline
Senior Member
Posts: 239
Joined: Sep 2008
Reputation: 1
Location: Sweden
Post: #58
(2016-03-26 14:58)marcelveldt Wrote:  
(2016-03-26 13:01)macardi Wrote:  Doesn't seem to work, I tried with Titan and forced view as well as modding my current skin in use. It seem like the Container.Content(.....) is overlooked. Is the content set by the addon so it can be used by the skinning engine, or I am missing something?

The content is beiing set by the addon as follows (feedback welcome):

Artist listings --> artists
Playlist listings --> files
Main/explore listing --> files
Playlist tracks --> songs
Album listings --> albums
Album songs --> songs

BTW: I just tried the forced views on my setup an it's working fine. Did you set a preferred view for music artists, albums and songs in the skin settings ?

Hmm, did some testing with the info label Container.Content. With Jarvis the label only return "files" for whatever category (artist, albums, songs) but then I tested with Krypon and then the info labels works and return the right info.

Make sense?

/Marcus
find quote
OLDCell Offline
Member
Posts: 58
Joined: Aug 2010
Reputation: 1
Location: Southampton, UK
Post: #59
I've set my login details and run the addon. Chrome opens but I always get a timeout as the website does not load.

This is windows 8, kodi 16

Edit. Sorted it by opening chrome then loading kodi and running again.
(This post was last modified: 2016-03-27 10:25 by OLDCell.)
find quote
nevrion Offline
Junior Member
Posts: 20
Joined: Jan 2014
Reputation: 0
Post: #60
Error Log on Nvidia Shield. (Android 6 ARM x64)

I´m add username and password. browser is open with message i can close it....endless loading then error...

sorry for my bad english

Code:
19:27:56 T:1395771696  NOTICE: Spotify --> Your platform (armv6 System.Platform.Android)
19:27:57 T:1395771696  NOTICE: Spotify --> Starting background service...
19:27:57 T:1395771696  NOTICE: Spotify --> ERROR in backgroundservice! Unable to find 'libspotify'
19:27:57 T:1395771696   ERROR: Exception
19:27:57 T:1395771696   ERROR: OSError
19:27:57 T:1395771696   ERROR: :
19:27:57 T:1395771696   ERROR: OSError("Unable to find 'libspotify'",)
19:27:57 T:1395771696   ERROR:  in
19:27:57 T:1395771696   ERROR: <bound method ?.? of <spotify.session.Session instance at 0x55546758>>
19:27:57 T:1395771696   ERROR:  ignored
19:27:57 T:1395771696  NOTICE: Spotify --> Background service stopped
19:28:25 T:1470060848  NOTICE: Spotify --> WebService - start helper webservice on port 52308
19:28:26 T:1470060848  NOTICE: Spotify --> Waiting for authentication token...
19:28:27 T:1395771696   ERROR: localhost - - [27/Mar/2016 19:28:27] "GET /callback?code=AQD-NOwCMRmYvyeapARmp49v7Vka4VNYv_iB_6LnFywXVCLAvXgW9hE9ZkGq99w739jsT_q-jpk254GBP1VPT3iDstTtjXqGx6Ht4tIbdaih8DT8-GPhrGRj0jkrqKA-y6V2D3Mr1obcXAT5duEjCzbxhiUrEBasOJ7hqG7IyjjiilXtj0V3kD-ULyi7HrZ_5RzwG--nJUkrKfA6CaI-3XLZ_Iml_4nyCfEWip_c8wEFikf4yuh7zBb39H9Y4r-v0scRAfZFshtl9Ftj9BY-i_zCqbkhOfI6Gl6pudlxO0NKVJDEbNtbaKHzWKa089JHU-pUE-YavOJrWnr-yILoN-DszwNmdqA3WrczVxAiLfbgd_rOcGpaxo8w5wr6dmbF5JtnxsChNrhYvhwdB1QddAfj-mvp-FlLFKxtAJVuXgNYw3ma2cG_nyplhXktXed5OkOsHwsW_RoocLBAbufKEQrOe7HKf00WGjL-ztajw9zFWm3rpwBuHTP8mr-bIVSH0Q HTTP/1.1" 200 -
19:28:27 T:1395771696   ERROR: localhost - - [27/Mar/2016 19:28:27] "GET /favicon.ico HTTP/1.1" 200 -
19:28:27 T:1470060848  NOTICE: Spotify --> WebService - stop called
19:28:31 T:1394706736  NOTICE: GL_VENDOR = NVIDIA Corporation
19:28:31 T:1394706736  NOTICE: GL_RENDERER = NVIDIA Tegra
19:28:31 T:1394706736  NOTICE: GL_VERSION = OpenGL ES 3.2 NVIDIA 361.00
19:28:31 T:1394706736  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.20
19:28:31 T:1394706736  NOTICE: GL_EXTENSIONS = GL_EXT_debug_marker GL_EXT_base_instance GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_copy_image GL_EXT_debug_label GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_map_buffer_range GL_EXT_multi_draw_indirect GL_EXT_multisample_compatibility GL_EXT_occlusion_query_boolean GL_EXT_post_depth_coverage GL_EXT_primitive_bounding_box GL_EXT_raster_multisample GL_EXT_render_snorm GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_shader_io_blocks GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sparse_texture2 GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_filter_minmax GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_view GL_EXT_unpack_subimage GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_NV_bgr GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NV_conditional_render GL_NV_conservative_raster GL_NV_copy_buffer GL_NV_copy_image GL_NV_draw_buffers GL_NV_draw_instanced GL_NV_draw_texture GL_NV_EGL_stream_consumer_external GL_NV_explicit_attrib_location GL_NV_fbo_color_attachments GL_NV_fill_rectangle GL_NV_fragment_coverage_to_color GL_NV_fragment_shader_interlock GL_NV_framebuffer_blit GL_NV_framebuffer_mixed_samples GL_NV_framebuffer_multisample GL_NV_generate_mipmap_sRGB GL_NV_geometry_shader_passthrough GL_NV_instanced_arrays GL_NV_internalformat_sample_query GL_NV_gpu_shader5 GL_NV_image_formats GL_NV_occlusion_query_samples GL_NV_non_square_matrices GL_NV_pack_subimage GL_NV_packed_float GL_NV_packed_float_linear GL_NV_path_rendering GL_NV_path_rendering_shared_edge GL_NV_pixel_buffer_object GL_NV_polygon_mode GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_NV_sample_locations GL_NV_sample_mask_override_coverage GL_NV_secure_context GL_NV_shader_atomic_fp16_vector GL_NV_shader_noperspective_interpolation GL_NV_shadow_samplers_array GL_NV_shadow_samplers_cube GL_NV_sRGB_formats GL_NV_texture_array GL_NV_texture_border_clamp GL_NV_texture_compression_latc GL_NV_texture_compression_s3tc GL_NV_texture_compression_s3tc_update GL_NV_timer_query GL_NV_viewport_array GL_NV_viewport_array2 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_buffer GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_gpu_shader5 GL_OES_shader_io_blocks GL_OES_texture_view GL_OES_primitive_bounding_box GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_cube_map_array GL_OES_texture_npot GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_ANDROID_extension_pack_es31a
19:28:38 T:1395771696   ERROR: localhost - - [27/Mar/2016 19:28:38] "QUIT / HTTP/1.1" 200 -
19:28:38 T:1470060848   ERROR: Traceback (most recent call last):
19:28:38 T:1470060848   ERROR:   File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.audio.spotify/resources/plugincontent.py", line 653, in checkLoginDetails
19:28:38 T:1470060848   ERROR:     error = SpotifyError[int(error)]
19:28:38 T:1470060848   ERROR: ValueError: invalid literal for int() with base 10: ''
find quote
Post Reply