Code Monkey home page Code Monkey logo

portify.js's Introduction

Portify.JS

Transfer playlists between Spotify and Google Music both ways!

  • No Downloads
  • No Passwords
  • Copy Your Playlists
  • Copy Others Playlists
  • Spotify Free Compatible
  • No B/S

Setup is fast, go from reading this sentence to importing music in less then 30 seconds.

Basic features fixed as of 6/29/2020 using Chrome.

Select/unselect all broken. playlistToggle(this); in console for workaround.

Instructions (For Chrome)

  1. Drag the big Portify.JS link from < THIS PAGE > to your bookmarks.

  2. Click the bookmark a few times. It will grab your oauth token from spotify, load up google music, then launch Portify.JS

  • A 404 page may appear during the process, ignore it and press the button again.

Instructions (Other Browsers)

  1. Drag the big Portify.JS link for other browsers from < THIS PAGE > to your bookmarks.

  2. Click the bookmark twice. Follow the instructions on the page to get your oauth token.

Features

  • Transfer your spotify playlists to google music
  • Transfer others spotify playlists to google music
  • Transfer your google music playlists to spotify
  • Export your google music playlists to a csv file (so you can import into other stuff)
  • Bulk delete google music playlists that contain a string or a prefix

Notes

Portify.JS has been confirmed to work in Chrome, Firefox, and IE (at one point). It should work on most browsers, but try chrome if its not working for you.

The Chrome version is more sophisticated and light weight. It will get your oauth token for you and will disable images and animations in the google music player before running.

The app runs real-time and takes around a second a song to go spotify -> google music. Google music -> spotify is faster.

If you would like to listen to music while importing your songs you will need two tabs, one for portify.js and one for you to listen to music. Run the GM-DLU bookmark on the listening tab, otherwise your listening tab will freeze trying to keep in sync with your import tab. Alternatively, just wait a few an listen once imported.

An old demo video is availible here -> Demo Video

By using Portify.JS you may violate both Spotify's and Google's Terms of Service. You agree that you are using Portify.JS on your own risk. The author does not accept liability (as far as permitted by law) for any loss arising from any use of this tool. If you choose not to agree to these terms, then you may not use this tool.

portify.js's People

Contributors

jordam avatar maarcosd avatar sampaiodiego avatar sirivanleo avatar

Stargazers

 avatar Devon R.K. McAvoy avatar  avatar Eralp Karaduman avatar  avatar Vadym Parakonnyi avatar Michael Mior avatar Raghd Hamzeh avatar Jason Mills avatar David Lima avatar Marcos Leandro avatar Nathan Weddle avatar Dany Narcisse avatar Ollie McLean avatar Jean-Raphaël Poulin Arguin avatar Jorge Barata avatar MoreThanWords avatar Matt Hallowell avatar Dhaval Soneji avatar  avatar Joshua fedoryszyn avatar Fernando Raganhan Barbosa avatar  avatar Matt Gillard avatar Andy Huynh avatar  avatar hkjang avatar  avatar Shiraz Suleman avatar Tyler Kleizo avatar Griffin Tschurwald avatar Victor avatar Emilian Losneanu avatar Trevor Joynson avatar Nicole Borgaard avatar  avatar Kevin Gautreau avatar Leonardo C. Daronco avatar The Huy PHAN avatar  avatar  avatar Fabian avatar Cass D avatar Amit Ramesh avatar Spencer Dawson avatar Thomas ROBERT avatar Mateus Rambo Strey avatar Chris  avatar Samitha Jayaweera avatar David Daniel avatar Luis Lobo Borobia avatar David Metcalfe avatar Dominic Diehn avatar Josh Schwartzberg avatar Alex Krupa avatar Thomas avatar Topher Anselmo avatar  avatar  avatar  avatar  avatar Javi Rubio avatar  avatar Bryan avatar James Driscoll avatar Nathan Yuen avatar Jono Cairns avatar  avatar Jason Duke avatar Brecht Carlier avatar Zach Brewer avatar  avatar corey avatar Ryan Arnaudin avatar Ektoras Karagiannis avatar Megan avatar Joe Neuman avatar Remington Campbell avatar Damien Van Der Windt avatar Julian R avatar  avatar Sean Coonce avatar  avatar Andrew Madden avatar Paul Schofield avatar Cooper Bills avatar Frederick Stark avatar  avatar Diego Caravana avatar Johan Ochoa avatar Roman V avatar Calum Peak avatar  avatar Nilesh Kapadia avatar Andrew avatar  avatar  avatar  avatar  avatar  avatar

Watchers

Eric Glass avatar James Cloos avatar  avatar  avatar most avatar  avatar Tabaré Akim Gowon avatar Danzig avatar Erik Ferlanti avatar  avatar Mangat Singh Toor | ਮੰਗਤ ਸਿੰਘ ਤੂਰ avatar  avatar  avatar  avatar  avatar

portify.js's Issues

Patch CORS Glitch

This script broke, I'm adding a note for me to fix it.

Issue:
My ajax call out to get googles current javascript seems to be limited by cors or something.

Plan:
Utilize the parameter passing trick on the url to force a semi-auto coors workaround.
Roll over javascript and b64 encode and append. decode and inject on primary page.

Does not work?

Hi,

I recommend changing https://github.com/jordam/Portify.JS/blob/master/express.js#L76 to
https://play.google.com/music/listen?u=0&hl=en-US
'https:\/\/play.google.com\/music\/listen?u\x3d0\x26hl\x3den-US'

To force english, otherwise the listen.js file is named different. Danish its listen_da.js instead.

Also, something looks broken.
The script tries to load
https://play-music.gstatic.com/fe/4f7438cf040a6cef28d32b902344dfee/listen.js%22%3E%3C/script%3E%3Cdiv%20class=%22gb_Xa%22%3E%3C/div%3E%3Cscript%20type=%22text/javascript%22%3E%3C/script%3E%3C/body%3E%3C/html%3E/sj_srcs.js

Then nothing happens when I return.

Cool project but it doesn't work

I try it on mozilla and on chrome.

On firefox it seems work but when it has finished there are only empty playlists.

On chrome it load spotify but I don't understand what do after copy the oauth code.. I return to google music page and clicked the script as written in your description but it load always spotify!

Btw it is a cool project, compliments!

Doesn't Work Anymore in Chrome

I used your tool yesterday and it worked great in Chrome. Today it doesn't work. It gets to loading up Play Music and then nothing really happens after I name the playlist.

Portify creates many arbitrary multiples of my spotify playlists

When I go through all the steps (google chrome), everything works fine, except when I look at the results, all of my songs are split up in arbitrarily big groups of songs into many identically named playlists and that for every one of the playlists I've imported.

Google Play playlist is empty

It doesn't seem to be loading the songs into the playlist. It runs normally, and finishes like always, but when I go to the new playlist, it's empty.

Error adding Songs

Import stops after creating Playlists, twice or even three times each, leaving them empty.

This is what Console reports:
image

Google Updated it playlist display

Google has updated (afaik just yesterday) the way playlists are displayed, so we get a total of 0 playlists found. I'm trying to tinker around the code, but from what I've could find, the new element that should be searched for (so we can know which playlists are there) is $("#playlists-container div[data-type='pl']"), but I'm having trouble with getting all of the elements that fall under that category (I'm just tinkering with Chrome's own console).

Does not add the songs to the PlayList

Hello,

In the final step it starts searching for each song of the playlist. It finds the song and it seems to be adding it to the new created Playlist in GPM, but when it's done the playlist is blank.

What is with this? maybe some glitch? It was so close!

I use Firefox and MacOS

Google play issue

Hi there,

After getting the token, i click on the bookmark 1 more time to load google music, but google music wont load.
It gets stuck trying to load the page and the page just comes up blank.
I tried this in google chrome and firefox.

Playlist Length

Playlists can't be over 1000 songs, but portify keeps adding them regardless. There should be an option to check for this or to split them.

Not working with latest Chrome or Firefox?

I've been trying to import from Spotify to Play music and I tried both Chrome and Firefox with no luck. It still gets the oath token but it just sits at the play music home page

Google Music > Spotify doesn't work

The process gets as far as loading Google Music, allows you to select your playlist(s), then offers you the chance to Push to Spotify, I give it a prefix and get the following error you see on the screenshot.

Can replicate the issue over a number of browsers and platforms.

Browser is Chrome Beta, using the (new) Chrome Portify.js bookmarklet.

screenshot-play google com 2016-05-29 07-32-01

Stuck on creating google playlists

When trying to copy from Spotify to Google Music it gets stuck on creating the last selected playlist. It opens up the window for creating it and selects the text for the name, but that's it.

Portify creates multiple copies of the same playlists

After running portify, I have multiple copies of every playlist being transferred. Most of them are completely empty, but in some cases the songs from a spotify playlist are split between the copies of the playlist in GPM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.