-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (6) .- Knowledge Base  . 

Google Music for Amarok

   1.3.0  

Amarok 2.0 Script

Score 53%
Google Music for Amarok
zoom


Version Control:  Link
Downloads:  1169
Submitted:  Jan 27 2013
Updated:  Jul 23 2013

Description:

This script allows you to listen your music allocated in your Google Music account using Amarok.

You only need to have installed curl. Then this script do the work for you!

After installation put your account parameters and then update the list of songs. Once the list is updated you can listen your music!

== OTHER PROBLEMS ==
If you see an error related to "Parse error" try to read the ListSongs.json file and if you see a html code remove it. This file should only have json code between "{[" characters.




Changelog:

v1.3.0:
- Added search bar
- Problem with breakline in authToken
- Download all songs
v1.2.1:
- Reduced size of listSong file.
- Accept-Type in curl function when download new listSongs.
- eval function changed by JSON.parse
v1.2:
- Bash script functions passed to javascript.
v1.0:
- First script release.




LicenseLGPL
Source(Google Music for Amarok)
Send to a friend
Subscribe
Other  Content  from jbatalle
Report inappropriate content



goto page: prev   1  2 

-

 TypeError: Result of expression 'm' [null] is not

 
 by adrianojbr on: Jul 19 2013
 
Score 50%

i have a error: Google Music for Amarok TypeError: Result of expression 'm' [null] is not an object.

diagnostic of amarok:

Versão do Amarok: 2.7.1
Versão do KDE: 4.10.5
Versão do Qt: 4.8.2
Versão do Phonon: 4.6.0
Infraestrutura do Phonon: GStreamer (4.6.2)
PulseAudio: Sim

Scripts do Amarok:
Amarok Script Console 1.0 (parado)
Lyricwiki .2 (parado)
Free Music Charts 1.6.0 (parado)
Librivox.org 1.0 (parado)
Google Music for Amarok 1.2.1 (parado)
Cool Streams 1.0 (parado)

Plugins do Amarok:
Coleção MySQLServer (habilitado)
Coleção MySQLe (habilitado)
Coleção Nepomuk (habilitado)
Coleção UPnP (habilitado)
Coleção de CDs de áudio (habilitado)
Coleção de DAAP (habilitado)
Coleção de MTP (habilitado)
Coleção de armazenamento universal em massa (habilitado)
Coleção iPod, iPad & iPhone (habilitado)
Ampache (desabilitado)
Jamendo (habilitado)
Last.fm (habilitado)
Loja Magnatune (habilitado)
Loja de músicas em MP3 (habilitado)
MP3tunes (desabilitado)
Pasta de Podcast (habilitado)
gpodder.net (desabilitado)


Reply to this

-

 parse error without code html

 
 by adrianojbr on: Jul 22 2013
 
Score 50%

now, a parse error, but ListSongs.json doesn't have html code. The ListSongs.json is:

{"data":[{},{"title":"I've Been Waiting","id":"00eb4b6b-4242-3cf9-8872-31f340687805","artist":"Matthew Sweet"},{"title":"Gravity Rides Everything","id":"37c35327-6893-313c-a5dc-8831ec487b98","artist":"Modest Mouse"},{"title":"My Way","id":"24ad4ad4-c706-3060-8ca3-1942c12d455a","artist":"Los Lonely Boys"},{"title":"Drinking Song","id":"b3175ba2-b5e5-33be-9e0b-f0faf12eec18","artist":"Hanggai"},{"title":"Nothing Like You","id":"39199c59-465d-3913-9f41-25344fc3aea4","artist":"Frightened Rabbit"}]}

What's the solution?


Reply to this

-

 Re: parse error without code html

 
 by jbatalle on: Jul 23 2013
 
Score 50%

Hi,
this json file is correct. The ListSong.json file shouldn't have html code.


Reply to this

-

 Re: parse error without code html

 
 by adrianojbr on: Jul 24 2013
 
Score 50%

I updated, but continue parse error.


Reply to this

-

 problem

 
 by saLOUtions on: Oct 20 2013
 
Score 50%
saLOUtionssaLOUtions
Humboldt University Berlin, Germany
Home
-
Robert Riemann 0

Humboldt University Berlin, Germany
Germany, Berlin
Last visit Jul 16 2014
1 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Hey,

this is a really nice idea! I got the Google All Access offer and already added some music to "my music".

Unfortunately I face a bug:

Script error reported by: Google Music for Amarok TypeError: Result of expression 'serviceDataJson.data' [undefined] is not an object.

Does it still work for you? Maybe it's an API change.


Reply to this

-

 Re: problem

 
 by jbatalle on: Oct 22 2013
 
Score 50%

Hello,
Can you see a file named "ListSongs.json" in the folder where is located the script?

In the case that this file exists, I think that the problem is related to the format of this file.

If this file doesn't exist, there is a problem with the connection with Google Music, or maybe the curl command is not installed.


Reply to this

-

 Re: Re: problem

 
 by saLOUtions on: Oct 22 2013
 
Score 50%
saLOUtionssaLOUtions
Humboldt University Berlin, Germany
Home
-
Robert Riemann 0

Humboldt University Berlin, Germany
Germany, Berlin
Last visit Jul 16 2014
1 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

I tried it with another computer and here it works. curl was installed.


Reply to this

-
.

 Result of expression 'myArray' [null] is not an ob

 
 by dubis on: Nov 22 2013
 
Score 50%

Hi

I went to install this script from the script Manager of Amarok.
I restarted it and I've new entry in the tools menu as Configure Google Music , Update Google Music List. I entered my Google user in the "Configure Google Music interface.
I don't know exactly what I suppose to do now.
I tried Update Google Music List And I'v got this error :
Script error Notified by : Google Music for Amarok TypeError: Result of expression 'myArray' [null] is not an object.

Curl is installed well on my system
curl --version
curl 7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP


Could you give some help?


Reply to this

-

 Re: Result of expression 'myArray' [null] is not a

 
 by kratky on: Feb 22 2014
 
Score 50%

I have a similar problem, except it says:

Script error reported by: Google Music for Amarok TypeError: Result of expression 'm' [null] is not an object.


Reply to this

-

 Re: Re: Result of expression 'myArray' [null] is n

 
 by disp on: Apr 2 2014
 
Score 50%

If you get that error, that means you don't have curl installed. Installing it via package manager or apt-get install curl fixed it for me.

Unfortunately then I ran into a different one (myArray) which apparently happens because I have two-factor authentication activated.


Reply to this

goto page: prev   1  2 

Add commentBack






-
openDesktop.org Facebook App




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2014 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team