<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue using Widevine DRM (development license) in an Electron app in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/6068831#M13902</link>
    <description>&lt;P&gt;We're running into a similar issue. Does anyone have any advice on how to fix? We've confirmed Widevine is working in our Electron app in development (we can play Widevine DRM content). We see the Spotify player connect because we get a device id. However, when we start playing we're seeing 500 errors from&amp;nbsp;&lt;A href="https://api.spotify.com/v1/widevine-license/v1/audio/license" target="_blank"&gt;https://api.spotify.com/v1/widevine-license/v1/audio/license&lt;/A&gt;&amp;nbsp;endpoint. Any ideas on how to fix this?&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2024 09:15:55 GMT</pubDate>
    <dc:creator>mac4444</dc:creator>
    <dc:date>2024-05-14T09:15:55Z</dc:date>
    <item>
      <title>Issue using Widevine DRM (development license) in an Electron app</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/4971570#M361</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I started using&amp;nbsp;&lt;A href="https://github.com/castlabs/electron-releases/" target="_blank"&gt;https://github.com/castlabs/electron-releases/&lt;/A&gt;&amp;nbsp;recently to build an app that uses the Spotify Playback SDK. Supposedly this version of electron comes with a signed development license of Widevine which i've tested on a couple sites like&amp;nbsp;&lt;A href="https://shaka-player-demo.appspot.com/demo/" rel="nofollow" target="_blank"&gt;https://shaka-player-demo.appspot.com/demo/&lt;/A&gt;&amp;nbsp;and works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to get the playback SDK working with Spotify, only the first few seconds of the song plays before it stops due to a request to `&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;`&lt;A href="https://api.spotify.com/v1/widevine-license/v1/audio/license?exp=1591569937&amp;amp;cp=&amp;amp;tok=xxx" target="_blank"&gt;https://api.spotify.com/v1/widevine-license/v1/audio/license?exp=1591569937&amp;amp;cp=&amp;amp;tok=xxx&lt;/A&gt;` failing.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anyone know if Spotify requires a production Widevine license or should a development Widevine license still allow playback of content through the spotify SDK?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2020 23:07:22 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/4971570#M361</guid>
      <dc:creator>pirates19</dc:creator>
      <dc:date>2020-06-06T23:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using Widevine DRM (development license) in an Electron app</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/4972830#M412</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/12046253"&gt;@pirates19&lt;/a&gt;, help's here!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First things first, just to make sure, could you check the following items:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You have requested the right scopes: &lt;EM&gt;["streaming", "user-read-email", "user-read-private"]&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;Your access token is not expired. Your access token expires in 1 hour.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;The Web Playback SDK only works in client-side JavaScript. Node.JS is not supported.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Let me know!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a good one, happy coding!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hubo&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 15:22:13 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/4972830#M412</guid>
      <dc:creator>Hubo</dc:creator>
      <dc:date>2020-06-08T15:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using Widevine DRM (development license) in an Electron app</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/4972969#M422</link>
      <description>Hi @hubo,&lt;BR /&gt;&lt;BR /&gt;Thanks for the response. I have required those scopes, and the SDK works perfectly when running the app in a chrome browser (which has licensed Widevine DRM running behind the scenes); however, when running the same app in an electron app window, I get the issues. I noticed this issue was also posted on the SDK's github repo in April (&lt;A href="https://github.com/spotify/web-playback-sdk/issues/117" target="_blank"&gt;https://github.com/spotify/web-playback-sdk/issues/117&lt;/A&gt;), however, Spotify has not acknowledged it yet.</description>
      <pubDate>Mon, 08 Jun 2020 20:46:45 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/4972969#M422</guid>
      <dc:creator>pirates19</dc:creator>
      <dc:date>2020-06-08T20:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using Widevine DRM (development license) in an Electron app</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/4972971#M423</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/12046253"&gt;@pirates19&lt;/a&gt;, thanks for getting back to me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hmm, it looks like this could be happening due to the API's limitations. Right now, you can only use this API in Chrome, Firefox, Microsoft Edge and IE. You can't embed this API in an Electron app, just yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is something you'd like to see I recommend posting this on the&amp;nbsp;&lt;A href="https://community.spotify.com/t5/Ideas/ct-p/newideas" target="_blank"&gt;Ideas board&lt;/A&gt;! That way, Spotify can keep track of it. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy coding,&lt;/P&gt;&lt;P&gt;Hubo&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 20:57:47 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/4972971#M423</guid>
      <dc:creator>Hubo</dc:creator>
      <dc:date>2020-06-08T20:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using Widevine DRM (development license) in an Electron app</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/5006943#M828</link>
      <description>&lt;P&gt;hi! i'm having the same problem on web chrome when i try to play a song, strictly following the sdk tutorials so i'm kinda stuck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help is appreciated&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 00:40:33 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/5006943#M828</guid>
      <dc:creator>juan01</dc:creator>
      <dc:date>2020-07-29T00:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using Widevine DRM (development license) in an Electron app</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/5006952#M829</link>
      <description>&lt;P&gt;It sounds like you're experiencing a separate issue because Chrome has a production licensed Widevine DRM built into it that should work out of the box (unlike electron). Maybe check that you aren't missing a scope that you need?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 00:59:44 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/5006952#M829</guid>
      <dc:creator>pirates19</dc:creator>
      <dc:date>2020-07-29T00:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using Widevine DRM (development license) in an Electron app</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/5007548#M839</link>
      <description>&lt;P&gt;Hey you were absolutely right, thank you so much for your help!&lt;/P&gt;&lt;P&gt;for anyone wondering it worked with this scopes.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Streaming&lt;UL&gt;&lt;LI&gt;&lt;A href="https://developer.spotify.com/documentation/general/guides/scopes/#user-read-playback-state" target="_blank"&gt;user-read-playback-state&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developer.spotify.com/documentation/general/guides/scopes/#user-modify-playback-state" target="_blank"&gt;user-modify-playback-state&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developer.spotify.com/documentation/general/guides/scopes/#user-read-currently-playing" target="_blank"&gt;user-read-currently-playing&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Playback&lt;UL&gt;&lt;LI&gt;&lt;A href="https://developer.spotify.com/documentation/general/guides/scopes/#streaming" target="_blank"&gt;streaming&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developer.spotify.com/documentation/general/guides/scopes/#app-remote-control" target="_blank"&gt;app-remote-control&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 29 Jul 2020 19:59:23 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/5007548#M839</guid>
      <dc:creator>juan01</dc:creator>
      <dc:date>2020-07-29T19:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using Widevine DRM (development license) in an Electron app</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/6068831#M13902</link>
      <description>&lt;P&gt;We're running into a similar issue. Does anyone have any advice on how to fix? We've confirmed Widevine is working in our Electron app in development (we can play Widevine DRM content). We see the Spotify player connect because we get a device id. However, when we start playing we're seeing 500 errors from&amp;nbsp;&lt;A href="https://api.spotify.com/v1/widevine-license/v1/audio/license" target="_blank"&gt;https://api.spotify.com/v1/widevine-license/v1/audio/license&lt;/A&gt;&amp;nbsp;endpoint. Any ideas on how to fix this?&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 09:15:55 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Issue-using-Widevine-DRM-development-license-in-an-Electron-app/m-p/6068831#M13902</guid>
      <dc:creator>mac4444</dc:creator>
      <dc:date>2024-05-14T09:15:55Z</dc:date>
    </item>
  </channel>
</rss>

