{"id":58207,"date":"2021-07-19T09:01:35","date_gmt":"2021-07-19T09:01:35","guid":{"rendered":"https:\/\/www.cryptocabaret.com\/?p=58207"},"modified":"2021-07-19T09:01:35","modified_gmt":"2021-07-19T09:01:35","slug":"developer-on-twitch-creates-neat-tool-to-prevent-dmca-notices","status":"publish","type":"post","link":"https:\/\/www.cryptocabaret.com\/?p=58207","title":{"rendered":"Developer on Twitch Creates Neat Tool to Prevent DMCA Notices"},"content":{"rendered":"<p><a href=\"https:\/\/www.cryptocabaret.com\/wp-content\/uploads\/2021\/07\/twitch-small.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.cryptocabaret.com\/wp-content\/uploads\/2021\/07\/twitch-small.png\" alt=\"Twitch\" width=\"250\" height=\"246\" class=\"alignright size-full wp-image-194885\"><\/a>Last summer, chaos urupted on Twitch when users were suddenly bombarded with copyright infringement notices for content uploaded during 2017 and 2019.<\/p>\n<p>That initial batch was the work of the RIAA and in October 2020 the problems were back again when the music industry group fired off a <a href=\"https:\/\/torrentfreak.com\/twitch-dmca-bloodbath-trades-copyright-strikes-for-due-process-201021\/\">second wave of complaints<\/a>. <\/p>\n<p>In May, Twitch sent out an email noting that it had received another batch of DMCA takedown notices from music publishers, noting that the majority targeted streamers listening to background music while playing video games. But what if it was possible to stream copyrighted background music to users on Twitch, without receiving DMCA notices. And ensuring artists also get paid?<\/p>\n<h2>Achieving the Impossible, Simply<\/h2>\n<p>Unless users (or indeed Twitch) obtain licenses to stream mainstream music to the public, DMCA notices are always going to be a problem. However, with some lateral thinking, developer Peter Frydenlund Madsen, known on Twitch as <a href=\"https:\/\/www.twitch.tv\/pequeno0\">Pequeno0<\/a>, has come up with an elegant solution that will be useful to millions of users.<\/p>\n<p>Pequeno0\u2019s solution is <a href=\"https:\/\/dashboard.twitch.tv\/extensions\/mrhw94m9rpngocsodkrgacc2e1e246-1.0\">SpotifySynchronizer<\/a>, a Twitch extension that synchronizes the streamer\u2019s Spotify with the viewer\u2019s Spotify, so that stream viewers can listen to the same music as the streamer, at exactly the same time.<\/p>\n<\/p>\n<p><center><a href=\"https:\/\/www.cryptocabaret.com\/wp-content\/uploads\/2021\/07\/spotifysync.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.cryptocabaret.com\/wp-content\/uploads\/2021\/07\/spotifysync.png\" alt=\"SpotifySynchronizer\" width=\"550\" height=\"637\" class=\"aligncenter size-full wp-image-206932\"><\/a><\/center><\/p>\n<p>The beauty here is that no copyrighted tracks are distributed or recorded with or even without permission. The user simply connects to the streamer\u2019s Spotify using the extension, executes a \u2018force sync\u2019 if necessary, and then listens to exactly the same music as the streamer, at exactly the same time, on their own machine. And because the music is being played on Spotify, the artists get paid.<\/p>\n<h2>SpotifySynchronizer, GTA V RP and Twitch<\/h2>\n<p>\u201cI\u2019ve watched a lot of <a href=\"https:\/\/www.pcgamesn.com\/grand-theft-auto-v\/gta-rp-how-to-download\">GTA V RP<\/a> on Twitch, and they used to play a lot of music, which fit the RP,\u201d Pequeno0 informs TorrentFreak.<\/p>\n<p>\u201cWhen the DMCA strikes hit, they were hit hard. So it was actually with them in mind that I started the project. So I talked to a friend of mine, and we came up with this idea of synchronizing music in a way that would still pay the artists.\u201d<\/p>\n<p>Pequeno0 says he uses Spotify himself and since it\u2019s a widely used service and accessible to millions \u2013 not to mention having a public API that is easy to use \u2013 the decision to integrate the platform was obvious. It was not without technical issues, however.<\/p>\n<h2>Twitch and Spotify \u2013 Please Play Nicely<\/h2>\n<p>\u201cGetting to understand the Twitch API together with the Spotify API was problematic to start with. For example, it\u2019s not possible to embed an iFrame in the Twitch extension. But usually logging in with Spotify happens in an iframe with OAuth,\u201d Pequeno0 says.<\/p>\n<p>\u201cI had to make a popup, and figure out how to send back the results of this popup to the extension to get the token to use for Spotify. This might be changed in the future to a better system to support more platforms.\u201d<\/p>\n<p>Furthermore, Pequeno0 says that Spotify doesn\u2019t provide any notification service when a song is changed. This means he has to ask Spotify which song is currently playing if the streamer changes tracks mid-song. <\/p>\n<p>\u201cI could have made a check every few seconds, but the Spotify API also has rate limitation, so I decided against it. To overcome these issues, I had to make the \u2018Force Sync\u2019 button. It basically asks Spotify what the streamer is currently playing, and updates it with the server.\u201d<\/p>\n<p>The developer says he doesn\u2019t know how much time he\u2019s spent on the project but does spend some money on a server to store a minimal amount of data. This is to make sure that viewers who log in when a track is already being played can discover the name of that track without having to communicate with the streamer\u2019s part of the extension.<\/p>\n<h2>The Future: Maybe More Music Services<\/h2>\n<p>While Pequeno0 has been working on SpotifySynchronizer for some months now as a side project, he\u2019s not ruling out more development. This will largely depend on how many people use the extension but he does have some early plans.<\/p>\n<p>\u201cIf the extension gets very popular, it could be extended to use even more services, and maybe even lookup songs on different music services, so the viewer\/streamer could use different services but listen to the same songs,\u201d Pequeno0 explains.<\/p>\n<p>In the meantime, the developer is providing instructions for those interested in <a href=\"https:\/\/dashboard.twitch.tv\/extensions\/mrhw94m9rpngocsodkrgacc2e1e246-1.0\">testing SpotifySynchronizer<\/a> on both the streaming and receiving ends. He promises there will be no DMCA notices for either.<\/p>\n<p><em>1. The streamer installs the Extension and adds the panel to the channel.<br \/>\n2. Streamer starts Spotify, then starts the Live-Config panel found in the Creator Dashboard -&gt; Stream Manager -&gt; SpotifySynchronizer, then logs in with Spotify through the popup. The streamer then keeps this Live-Config panel open, as this is what does the synchronization.<br \/>\n3. If the streamer changes music mid-song, the \u201cForce Sync\u201d button has to be pressed to update it for the viewers.<br \/>\n4. Viewer opens Spotify and starts any song. This is a requirement, as the Spotify API can\u2019t start playing if it doesn\u2019t know which device is playing music.<br \/>\n5. Viewer logs in with SpotifySynchronizer below the stream on the streamer\u2019s channel. If the viewer\u2019s Spotify does not change to the song being played by the Streamer, the \u2018Force Sync\u2019 button can be used on the viewer\u2019s side to get the currently playing song.<\/em><\/p>\n<p>From: <a href=\"https:\/\/torrentfreak.com\/\">TF<\/a>, for the latest news on copyright battles, piracy and more.<\/p>\n<p class=\"wpematico_credit\"><small>Powered by <a href=\"http:\/\/www.wpematico.com\" target=\"_blank\" rel=\"noopener\">WPeMatico<\/a><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last summer, chaos urupted on Twitch when users were suddenly bombarded with copyright infringement notices for content uploaded during 2017 and 2019. That initial batch was the work of the RIAA and in October 2020 the problems were back again when the music industry group fired off a second wave of complaints. In May, Twitch [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":58208,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[308],"tags":[],"class_list":["post-58207","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-torrent"],"_links":{"self":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/58207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=58207"}],"version-history":[{"count":0,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/58207\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/media\/58208"}],"wp:attachment":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=58207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=58207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=58207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}