Giter Club home page Giter Club logo

portify's Introduction

Flattr this git repo

portify

Transfers your Spotify playlists to Google Music: All Access

By using Portify you may violate both Spotify's and Google's Terms of Service. You agree that you are using Portify 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.

You can read about portify here: http://www.maui.at/2013/06/portify/

License

Licensed under the terms of the Apache 2.0 License All Trademarks are the property of their respective owners.

Building portify

  • Make sure you have installed a usable build enviroment (gcc, make & co.)
  • Install Node.js (using your favourite package manager, but make sure it's newer than 0.8)
  • Clone the git repo (master branch)
  • Go into the ./data/ directory and run npm install (This will fetch and compile all depenencies of portify)
  • Try running the daemon by executing node app.js in the ./data/ folder
  • Open your favourite browser and go to localhost:3132

Bitdeli Badge Analytics

portify's People

Contributors

bitdeli-chef avatar erikbjare avatar jamesbelchamber avatar mauimauer avatar tomtasche avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

portify's Issues

How to run on Windows 7?

Hi all,

Could someone help me out on how I can get this to run on Windows 7?

I downloaded the portify-0.4-win32.zip (Windows 32bit/64bit) binaries from here: http://www.maui.at/2013/06/portify/ but there are no executables anywhere in the zip folder.

I also tried downloading the Windows branch here on GitHub, which does have an app.exe file but absolutely nothing happens when I double click on it (no window / error message or anything else)

I'm sure I'm doing something wrong and have tried googling around but couldn't find any help. Any ideas?

Thanks!

All seems well but ultimately no transfer takes place

Hi,
Thanks very much for the app!
I Have a problem. I go through the username-password process for both Google and Spotify and this is successful; I have a Spotify Premium account and a Google Play Music Access All Access account (they need a better name!). I then select the playlists I want to transfer. Everything seems fine, but then nothing at all appears in my GPMAA list of playlists. I have now tried three times over the past 24 hours.
Thanks in advance for your help.
Phil

app wont open on macosx

the app downloaded as a .zip. i cant open the app itself, and i know unarchiving it did me no good either. do i need an app.js wrapper?

Crash when importing playlists

no matter how many, or which playlists I choose to import, the app crashes with the following error. Running on Fedora 18 64 Bit

 portify 0.4
 Starting with harmony
    info  - socket.io started
 Window Created
 Window Ready
 Google Login success
 Spotify Login success
 got 12 playlists
 starting transfer...

 events.js:71
         throw arguments[1]; // Unhandled 'error' event
                        ^
 Error: 140183726839616:error:0607907F:digital envelope  routines:EVP_PKEY_get1_RSA:expecting an rsa  key:../deps/openssl/openssl/crypto/evp/p_lib.c:288:

    at CleartextStream._pusher (tls.js:656:24)
    at SlabBuffer.use (tls.js:199:18)
    at CleartextStream.CryptoStream._push (tls.js:483:33)
    at SecurePair.cycle (tls.js:880:20)
    at EncryptedStream.CryptoStream.write (tls.js:267:13)
    at Socket.ondata (stream.js:38:26)
    at Socket.EventEmitter.emit (events.js:96:17)
    at TCP.onread (net.js:396:14)
 ./app.sh: line 3: 16663 Segmentation fault      (core dumped) ./data/bin/node --harmony  ./data/app.js

Cannot read property 'text'

trackDone() 52/64
gmusic:search2(), error
{ [Error: timeout of 3000ms exceeded] timeout: 3000 }

/home/user/repos/portify/data/gmusic.js:174
response = res.text.replace(/(\r\n|\n|\r)/gm,"").replace(/,,/g, ',"",').r
^
TypeError: Cannot read property 'text' of undefined
at /home/user/repos/portify/data/gmusic.js:174:18
at Request.callback (/home/user/repos/portify/data/node_modules/superagent/lib/node/index.js:628:30)
at null. (/home/user/repos/portify/data/node_modules/superagent/lib/node/index.js:661:12)
at Timer.listOnTimeout as ontimeout

Crash after selecting playlists

Hello,

I get the following error after selecting the playlists and continuing. I get a disk appearing then the following in the terminal:

portify 0.4
Starting with harmony
info - socket.io started
Window Created
Window Ready
Google Login success
Spotify Login success
got 38 playlists
starting transfer...

events.js:71
throw arguments[1]; // Unhandled 'error' event
^
Error: 140456490452800:error:0607907F:digital envelope routines:EVP_PKEY_get1_RSA:expecting an rsa key:../deps/openssl/openssl/crypto/evp/p_lib.c:288:

at CleartextStream._pusher (tls.js:656:24)
at SlabBuffer.use (tls.js:199:18)
at CleartextStream.CryptoStream._push (tls.js:483:33)
at SecurePair.cycle (tls.js:880:20)
at EncryptedStream.CryptoStream.write (tls.js:267:13)
at Socket.ondata (stream.js:38:26)
at Socket.EventEmitter.emit (events.js:96:17)
at TCP.onread (net.js:396:14)

Segmentation fault (core dumped)

Running on Xubuntu 13.04.

Cheers!

Crashes on Windows 8 64bit

Hi guys!

Thank for the app in first place.
I'm able to log in successfully to Google and Spotify. Both accounts are premium. I get the crash after I select all the playlist to be imported.
Things I've tried:

  • Deactivating antivirus
  • Deactivating firewall
  • Selecting just one playlist
  • Activating XP/7 compatibility
  • Running as admin

BTW Where are the logs? I cannot see any crash in the Windows Event viewer...

Thanks!!

Can't login to Google with two-factor authentication

I have tried logging in with my Google account using my correct username and password but I get an error that login failed. I use two-factor authentication on my Google account so I believe it may be related to this.

No logging presented on Step 4, just the CD background after selecting playlists and starting Transfer.

Windows 7 Pro x64 using Portify Version 0.0.4 - After I move to step 4 by starting the transfer, I simply get a screen with the CD background, without any sort of logging of what has been found/not found, if things have finished as I have seen in other screenshots of the system. viewing the source reveals that it is supposed to be displaying a list of the songs not found. It also will only do one playlist at a time, despite selecting multiple.
portify
portify_2

Linux release is built against old Glibc

On current debian/mint I get:

./data/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.15' not found (required by ./data/bin/node) ./data/bin/node: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14' not found (required by ./data/bin/node)

Property 'name' undefined

trackDone() 124/139
starting transfer...
got 15 playlists
initiated gmusic

/Users/fuzion24/Downloads/portify/data/app.js:132
googleMusic.createPlaylist(item.name, null, false, function(playlist) {
^
TypeError: Cannot read property 'name' of undefined
at transferPlaylist (/Users/fuzion24/Downloads/portify/data/app.js:132:33)
at /Users/fuzion24/Downloads/portify/data/app.js:90:3
at /Users/fuzion24/Downloads/portify/data/gmusic.js:57:5
at Request.callback (/Users/fuzion24/Downloads/portify/data/node_modules/superagent/lib/node/index.js:630:3)
at Request. (/Users/fuzion24/Downloads/portify/data/node_modules/superagent/lib/node/index.js:131:10)

Can't log into Spotify

Using version .4; I can log into the Google portion, but when I get to step for logging into Spotify it says "Login failed". I verified my username and password using the Spotify app. Retried Portify many many times to make sure that I wasn't fat-fingering something. I also tried logging out of the Spotify desktop app just in case that was causing an issue. Is anyone else having this issue? I think this is an awesome app, just wish I could get past this part. Thanks for any insight you may have into the problem.

Crash: unexpected token <

Window Created
Window Ready
Google Login failed
Google Login failed
Google Login success
Spotify Login success
got 100 playlists
starting transfer...
initiated gmusic

undefined:1
; charset=utf-8"
^
SyntaxError: Unexpected token <
at Object.parse (native)
at GoogleMusic.addPlaylist (/Users/tjerkw/Downloads/portify-0.4-macosx/data/gmusic.js:197:24)
at Request.callback (/Users/tjerkw/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:587:3)
at Request. (/Users/tjerkw/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:133:10)
at Request.EventEmitter.emit (events.js:88:17)
at IncomingMessage.Request.end (/Users/tjerkw/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:716:12)
at IncomingMessage.EventEmitter.emit (events.js:115:20)
at IncomingMessage._emitEnd (http.js:366:10)
at HTTPParser.parserOnMessageComplete as onMessageComplete
at CleartextStream.socketOnData as ondata
app.sh: line 4: 65010 Bus error: 10 $basedir/data/bin/node --harmony $basedir/data/app.js

Crashes when too many playlists are selected

Selected all my playlists, crashed after processing 4th one. Running in Node.JS on OSX.

/export/github/portify/data/app.js:132
googleMusic.createPlaylist(item.name, null, false, function(playlist) {
^
TypeError: Cannot read property 'name' of undefined
at transferPlaylist (/export/github/portify/data/app.js:132:33)
at /export/github/portify/data/app.js:90:3
at /export/github/portify/data/gmusic.js:57:5
at Request.callback (/export/github/portify/data/node_modules/superagent/lib/node/index.js:630:3)
at Request. (/export/github/portify/data/node_modules/superagent/lib/node/index.js:131:10)
at Request.EventEmitter.emit (events.js:95:17)
at IncomingMessage. (/export/github/portify/data/node_modules/superagent/lib/node/index.js:773:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)

Crash after Spotify login

After I input my use and pass and submit on the Spotify login page, the application crashes...

brian@goodies:~/portify/data$ node app.js
portify 0.5
Starting without harmony
info - socket.io started
Google Login success

/home/brian/portify/data/node_modules/spotify-web/node_modules/cheerio/lib/parse.js:34
var handler = new htmlparser.DomHandler(options),
^
TypeError: undefined is not a function
at exports.evaluate (/home/brian/portify/data/node_modules/spotify-web/node_modules/cheerio/lib/parse.js:34:17)
at module.exports (/home/brian/portify/data/node_modules/spotify-web/node_modules/cheerio/lib/parse.js:13:13)
at Object.exports.load (/home/brian/portify/data/node_modules/spotify-web/node_modules/cheerio/lib/static.js:16:14)
at Spotify._onsecret (/home/brian/portify/data/node_modules/spotify-web/lib/spotify.js:191:19)
at Request.callback (/home/brian/portify/data/node_modules/spotify-web/node_modules/superagent/lib/node/index.js:582:30)
at Request. (/home/brian/portify/data/node_modules/spotify-web/node_modules/superagent/lib/node/index.js:133:10)
at Request.EventEmitter.emit (events.js:126:20)
at IncomingMessage.Request.end (/home/brian/portify/data/node_modules/spotify-web/node_modules/superagent/lib/node/index.js:712:12)
at IncomingMessage.EventEmitter.emit (events.js:126:20)
at IncomingMessage._emitEnd (http.js:367:10)

Playlists not transfering. Receiving the following error message.

The app is currently failing at the final step (version 0.4). I get this message back:

undefined:1
; charset=utf-8"
^
SyntaxError: Unexpected token <
at Object.parse (native)
at GoogleMusic.addPlaylist (/Users/m1ket/Downloads/portify-0.4-macosx/data/gmusic.js:197:24)
at Request.callback (/Users/m1ket/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:587:3)
at Request. (/Users/m1ket/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:133:10)
at Request.EventEmitter.emit (events.js:88:17)
at IncomingMessage.Request.end (/Users/m1ket/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:716:12)
at IncomingMessage.EventEmitter.emit (events.js:115:20)
at IncomingMessage._emitEnd (http.js:366:10)
at HTTPParser.parserOnMessageComplete as onMessageComplete
at CleartextStream.socketOnData as ondata
app.sh: line 4: 34130 Bus error: 10 $basedir/data/bin/node --harmony $basedir/data/app.js

Portify crashes after i submit my Spotify credentials

Hi

The following errors occur:

Google Login success
Spotify Login success

/Users/Mario/Desktop/portify-0.4-macosx/data/app.js:320
console.log("got "+ rootlist.contents.items.length + " playlists");
^
TypeError: Cannot read property 'contents' of undefined
at /Users/Mario/Desktop/portify-0.4-macosx/data/app.js:320:30
at Spotify.rootlist (/Users/Mario/Desktop/portify-0.4-macosx/data/node_modules/spotify-web/lib/spotify.js:666:5)
at fn (/Users/Mario/Desktop/portify-0.4-macosx/data/node_modules/spotify-web/lib/spotify.js:344:10)
at Spotify._onmessage (/Users/Mario/Desktop/portify-0.4-macosx/data/node_modules/spotify-web/lib/spotify.js:360:5)
at WebSocket.EventEmitter.emit (events.js:91:17)
at Receiver.self._receiver.ontext (/Users/Mario/Desktop/portify-0.4-macosx/data/node_modules/spotify-web/node_modules/ws/lib/WebSocket.js:544:10)
at Receiver.opcodes.1.finish (/Users/Mario/Desktop/portify-0.4-macosx/data/node_modules/spotify-web/node_modules/ws/lib/Receiver.js:397:14)
at Receiver.opcodes.1.getData as expectHandler
at Receiver.add (/Users/Mario/Desktop/portify-0.4-macosx/data/node_modules/spotify-web/node_modules/ws/lib/Receiver.js:93:24)
at CleartextStream.firstHandler (/Users/Mario/Desktop/portify-0.4-macosx/data/node_modules/spotify-web/node_modules/ws/lib/WebSocket.js:524:22)
app.sh: line 4: 604 Bus error: 10 $basedir/data/bin/node --harmony $basedir/data/app.js

Can you tell me, what I'm doing wrong?

Best
Mario

Urlencoding in playlist names

After using 0.5 to port my playlists, I noticed they had urlencoded spaces in the playlist names on GMusic.

e.g. Bloc%20Party%20-%20Four

Visible in both the web UI and the droid app - renaming the playlists after they're ported allows spaces as expected.

Segmentation fault after entering google credentials

I'm running Ubuntu 12.10 64bit. I get a segmentation fault immediately after entering my google credentials. I'm using google apps and 2-factor authentication, so I tried both my regular password, and an application-specific password.

    [laptop] ~/Downloads/portify-0.4-linux-amd64 $ ./app.sh 
    portify 0.4
    Starting with harmony
       info  - socket.io started
    Window Created
    Window Ready
    Segmentation fault (core dumped)

set-cookie header fails to parse after

Terminal output is displayed below. Changing line 31/32 to variable declarations with out assignment allows the program to continue but later fails.

Output from unedited code:

Google Login success
Spotify Login success
got 58 playlists
starting transfer...

/home/scottie/portify/data/gmusic.js:31
            var sjsaidCookie = res.header['set-cookie'][0];
                                                       ^
TypeError: Cannot read property '0' of undefined
    at /home/scottie/portify/data/gmusic.js:31:47
    at Request.callback (/home/scottie/portify/data/node_modules/superagent/lib/node/index.js:630:3)
    at Request.<anonymous> (/home/scottie/portify/data/node_modules/superagent/lib/node/index.js:131:10)
    at Request.EventEmitter.emit (events.js:95:17)
    at IncomingMessage.<anonymous> (/home/scottie/portify/data/node_modules/superagent/lib/node/index.js:773:12)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:910:16
    at process._tickCallback (node.js:415:13)

Output with assignments commented out:

Google Login success
Spotify Login success
got 58 playlists
starting transfer...
initiated gmusic

/home/scottie/portify/data/gmusic.js:230
                cb({ 'id': response[1][0] });
                                      ^
TypeError: Cannot read property '0' of undefined
    at /home/scottie/portify/data/gmusic.js:230:27
    at Request.callback (/home/scottie/portify/data/node_modules/superagent/lib/node/index.js:630:3)
    at Request.<anonymous> (/home/scottie/portify/data/node_modules/superagent/lib/node/index.js:131:10)
    at Request.EventEmitter.emit (events.js:95:17)
    at IncomingMessage.<anonymous> (/home/scottie/portify/data/node_modules/superagent/lib/node/index.js:773:12)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:910:16
    at process._tickCallback (node.js:415:13)

Browser was Firefox on Ubuntu. Using Google Music from the UK if it makes a difference.

Playlists with local files - length is wrong

Playlists with local files added are counted wrong.

In my case I have a playlist with 204 tracks including 7 local files. So there are 197 songs to parse, but 204 songs in the playlist.

This caused that the transfer never finished.

Duplicate playlist title

When importing playlists that already exist, the app crashes. A possible fix is to prefix the playlist name with portify_ if the name exists.

Crash at last step :(

Everything goes well until the import starts. A disc appears, then the program crashes.

Any fix? How can I get any eroror mesage?

OSX issues

running 10.7.5

Im failing at google login with this error. login and password is correct.

Any thoughts?

vfxmorley$ ./app.sh
portify 0.4
Starting with harmony
info - socket.io started
Window Created
Window Ready
Google Login failed
Jul 31 20:44:43 112-112-1-6.tdgi.com node[65360] : kCGErrorIllegalArgument: _CGSFindSharedWindow: WID -1
Jul 31 20:44:43 112-112-1-6.tdgi.com node[65360] : kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Jul 31 20:44:43 112-112-1-6.tdgi.com node[65360] : kCGErrorIllegalArgument: CGSSetWindowShadowAndRimParametersWithStretch: Invalid window 0xffffffff

Unexpected Token error, crashes Portify 0.4 on OSX Lion

Shell output:

#⚡ sh app.sh 
portify 0.4
Starting with harmony
   info  - socket.io started
Window Created
Window Ready
Google Login success
Spotify Login success
got 52 playlists
starting transfer...
initiated gmusic

undefined:1
; charset=utf-8"
^
SyntaxError: Unexpected token <
    at Object.parse (native)
    at GoogleMusic.addPlaylist (/Users/jlangevin/Downloads/portify-0.4-macosx/data/gmusic.js:197:24)
    at Request.callback (/Users/jlangevin/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:587:3)
    at Request.<anonymous> (/Users/jlangevin/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:133:10)
    at Request.EventEmitter.emit (events.js:88:17)
    at IncomingMessage.Request.end (/Users/jlangevin/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:716:12)
    at IncomingMessage.EventEmitter.emit (events.js:115:20)
    at IncomingMessage._emitEnd (http.js:366:10)
    at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
    at CleartextStream.socketOnData [as ondata] (http.js:1356:20)
app.sh: line 4: 63516 Bus error: 10           $basedir/data/bin/node --harmony $basedir/data/app.js

Error when logging in to Spotify

Hello, using Portify 0.5 on CentOS 6.4. I get this error when I submit my Spotify details.

events.js:74
throw TypeError('Uncaught, unspecified "error" event.');
^
TypeError: Uncaught, unspecified "error" event.
at TypeError ()
at WebSocket.EventEmitter.emit (events.js:74:15)
at Receiver.self._receiver.onerror (/home/xxx/portify_tmp/portify/data/node_modules/spotify-web/node_modules/ws/lib/WebSocket.js:669:10)
at Receiver.error (/home/xxx/portify_tmp/portify/data/node_modules/spotify-web/node_modules/ws/lib/Receiver.js:301:8)
at Receiver.processPacket (/home/xxx/portify_tmp/portify/data/node_modules/spotify-web/node_modules/ws/lib/Receiver.js:187:10)
at Receiver.add (/home/xxx/portify_tmp/portify/data/node_modules/spotify-web/node_modules/ws/lib/Receiver.js:93:24)
at CleartextStream.firstHandler (/home/xxx/portify_tmp/portify/data/node_modules/spotify-web/node_modules/ws/lib/WebSocket.js:627:22)
at CleartextStream.EventEmitter.emit (events.js:95:17)
at CleartextStream. (_stream_readable.js:736:14)
at CleartextStream.EventEmitter.emit (events.js:92:17)

Manage big Spotify playlist (>1000)

Hi,

On one of my playlist, I have 1300 songs (it s my stared playlist).

Google music is limited to 1000 songs per list. The workaround is obvious, I had to divide in two lists.

But it would be even better if it was managed by your amaizing web app!

BTW thank you, because of you I am enjoying Google music! Would have been difficult to do it by hand!

Regards

Mac Crash during import

Window Created
Window Ready
Google Login success
Spotify Login success
got 12 playlists
starting transfer...
initiated gmusic

undefined:1
; charset=utf-8"
^
SyntaxError: Unexpected token <
at Object.parse (native)
at GoogleMusic.addPlaylist (/Users/search66/Downloads/portify-0.4-macosx/data/gmusic.js:197:24)
at Request.callback (/Users/search66/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:587:3)
at Request. (/Users/search66/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:133:10)
at Request.EventEmitter.emit (events.js:88:17)
at IncomingMessage.Request.end (/Users/search66/Downloads/portify-0.4-macosx/data/node_modules/superagent/lib/node/index.js:716:12)
at IncomingMessage.EventEmitter.emit (events.js:115:20)
at IncomingMessage._emitEnd (http.js:366:10)
at HTTPParser.parserOnMessageComplete as onMessageComplete
at CleartextStream.socketOnData as ondata
app.sh: line 4: 78935 Bus error: 10 $basedir/data/bin/node --harmony $basedir/data/app.js

Mac app crashes on Google credential submission

☁ portify-0.1-macosx sh app.sh
portify 0.1
Starting with harmony
info - socket.io started
Window Created
Window Ready

events.js:66
throw arguments[1]; // Unhandled 'error' event
^
Error: connect EHOSTUNREACH
at errnoException (net.js:781:11)
at connect (net.js:651:19)
at Socket.connect (net.js:716:9)
at asyncCallback (dns.js:67:16)
at Object.onanswer as oncomplete
app.sh: line 4: 31772 Bus error: 10 $basedir/data/bin/node --harmony $basedir/data/app.js

Update Readme + update binary release

Binary release is not update to date with source. Binary was crashing for me, but source worked fine. Should publish a new release + add the following from your site to the readme:

If you want to run portify without the app.js wrapper (ie. if you have problems running the packaged version) you might do the following:

Make sure you have installed a usable build enviroment (gcc, make & co.)
Install Node.js (using your favourite package manager, but make sure it’s newer than 0.8)
Clone the git repo (master branch)
Go into the ./data/ directory and run npm install (This will fetch and compile all depenencies of portify)
Try running the daemon by executing node app.js in the ./data/ folder
Open your favourite browser and go to localhost:3132

Crash when parsing Google Music response

Hi,

I tried the Windows and Linux binaries without luck, so I decided to build portify myself.

When I start the playlist transfer, I get this error:

% node app.js
portify 0.4
Starting without harmony
   info  - socket.io started
Google Login success
Spotify Login success
got 49 playlists
starting transfer...
initiated gmusic

undefined:1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"
^
SyntaxError: Unexpected token <
    at Object.parse (native)
    at /path/to/portify/data/gmusic.js:197:24
    at Request.callback (/path/to/portify/data/node_modules/superagent/lib/node/index.js:630:3)
    at Request.<anonymous> (/path/to/portify/data/node_modules/superagent/lib/node/index.js:131:10)
    at Request.EventEmitter.emit (events.js:95:17)
    at IncomingMessage.<anonymous> (/path/to/portify/data/node_modules/superagent/lib/node/index.js:773:12)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:910:16
    at process._tickCallback (node.js:415:13)

I have no experience with js or JSON, but could it be that the response from Google Music has changed?

Option to 'Thumb Up' special Spotify playlist items

Having the 'Liked from Radio' and 'Starred' playlists ported directly from Spotify creates a disconnect in features - the tracks I liked in one service are not grouped with those I liked in the previous one. Having a prompt to ask if the user would like to use those special playlists as source lists for applying 'Thumb Up' ratings may translate better.

Not sure how this might correspond with the star ratings available through the Music Labs.

OS X App Freezing

Didn't see any log files I could post, but while trying to copy one of the playlists over the process freezes at # 1530/1557. Tried a few times, & always freezes at 1530. The app itself is responsive, can move over the steps & they react, but clicking them does nothing.
screen shot 2013-06-10 at 10 05 07 am
screen shot 2013-06-10 at 10 05 10 am

Thanks for this application too. Was waiting for something like this to come out.

Crashes when spotify is played elsewhere

created playlist UTCS Code Jam(----) on google music
fetch info about playlist in spotify
gotPlaylistLength()
gotPlaylistLength()
gmusic:search2(), error
{ [Error: timeout of 3000ms exceeded] timeout: 3000 }

timers.js:103
if (!process.listeners('uncaughtException').length) throw e;
^
TypeError: Cannot read property 'text' of undefined
at GoogleMusic.search2 (/Volumes/aux/Downloads/portify-0.1-macosx/data/gmusic.js:174:18)
at Request.callback (/Volumes/aux/Downloads/portify-0.1-macosx/data/node_modules/superagent/lib/node/index.js:585:30)
at Object. (/Volumes/aux/Downloads/portify-0.1-macosx/data/node_modules/superagent/lib/node/index.js:617:12)
at Timer.list.ontimeout (timers.js:101:19)
app.sh: line 4: 31905 Bus error: 10 $basedir/data/bin/node --harmony $basedir/data/app.js

Crash at Google Account authentication

I use two-factor authentication but am using an application specific password, so I know that isn't the issue.

However, after clicking the Submit button, the app just crashes with no error or anything.

I downloaded the latest version of the master which showed as 0.5 in the terminal window, but it still did the same thing.

Any logs I can pull to help diagnose?

Problem Windows 7 / Windows 8 / Ubuntu 13.04

Hi,
On Windows 7 and Windows 8, after the credential of google and spotify the app force close.
On Ubuntu with your built-in package I have :
portify 0.4
Starting with harmony
info - socket.io started
Window Created
Window Ready
Erreur de segmentation (core dumped)

Edit : Built from source have fix my problem

How do i run this on Mac OSX?

I have downloaded and extracted the mac files. I don't know how to run the app.js file. It opens in xcode and gives me an error. Please explain how I need to run this.

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.