nvbn / rhythmbox-gmusic Goto Github PK
View Code? Open in Web Editor NEWRhythmbox Google Play Music Plugin
Rhythmbox Google Play Music Plugin
This not work
Would it be possible to add ppa for Ubuntu 14.04?
cheers!
After the recent change that you've made to make this work with Rhythmbox 2.98 (and it now works with Rhythmbox 2.98, thanks!), the plugin no longer works with Rhythmbox 2.97.
Here's the output:
** (rhythmbox:2616): CRITICAL *_: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/rhythmboxgmusic/init.py", line 293, in auth
set_credentials(login, password)
File "/usr/local/lib/python2.7/dist-packages/rhythmboxgmusic/init.py", line 56, in set_credentials
GnomeKeyring.create_sync(KEYRING, None)
File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
return info.invoke(_args, **kwargs)
TypeError: Argument 0 does not allow None as a value
In Rhythmbox 2.97 I tried enabling the plugin via the plugin menu and it didn't work, a red error icon popped up in place of the check mark box so I tried updating to the latest 2.98 and still same issue. Not sure where to go from here. Running Ubuntu 12.10 64 bit.
Edit: Installed this from the Ubuntu PPA you set up
sudo apt-get install gir1.2-gnomekeyring-1.0
On starting Rhythmbox in debug mode, amidst all of the other information it spits out I also get a Python exception indicating that a Google URL is unreachable.
Google changed some of its URLs around at some point in the past weeks. When I checked gmusicapi's github page for info or an update to fix it, I found that Simon Weber actually deprecated most of the Webclient API since much of the functionality is duplicated in the Mobileclient.
simon-weber/gmusicapi#221 (comment)
I'm working on making a band-aid fix for this so I can keep using Rhythmbox to listen to my Google Play music, but no promises because of time constraints (I only use Rhythmbox/Ubuntu at work).
to save the credentials in gconf is bad, because i see my password in plaintext (~/.gconf/apps/gnome/rhythmbox/google-play-music/%gconf.xml). use the gnome-keyring is much better, i think.
More infos to work with gnome-keyring: http://www.mindbending.org/bending-gnome-keyring-with-python-part-1/
thank you
Songs added to your library from Google Play Music All Access are shown in your library, but attempting to play them causes Rhythmbox to lock up and crash.
I don't know how much work this would take, but it would be really cool if search also was able to filter by albums and artists. I am unsure if this was your original intention or something you meant to add at a later date, so I do apologize if this was something you already were working on or had a reason not to add yet.
I can't seem to install this plugin on Fedora 22. It gives me what seems to be success messages, but then, out of nowhere, a traceback and then a fatal error, like this:
Collecting rhythmbox-gmusic from git+https://github.com/nvbn/rhythmbox-gmusic.git#egg=rhythmbox-gmusic
Cloning https://github.com/nvbn/rhythmbox-gmusic.git to /tmp/pip-build-RDLzuE/rhythmbox-gmusic
Collecting gmusicapi (from rhythmbox-gmusic)
Using cached gmusicapi-7.0.0.tar.gz
Collecting futures (from rhythmbox-gmusic)
Downloading futures-3.0.3-py2-none-any.whl
Collecting validictory!=0.9.2,>=0.8.0 (from gmusicapi->rhythmbox-gmusic)
Downloading validictory-1.0.1-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): decorator>=3.3.1 in /usr/lib/python2.7/site-packages (from gmusicapi->rhythmbox-gmusic)
Collecting mutagen>=1.18 (from gmusicapi->rhythmbox-gmusic)
Downloading mutagen-1.31.tar.gz (897kB)
100% |████████████████████████████████| 901kB 160kB/s
Collecting protobuf>=2.4.1 (from gmusicapi->rhythmbox-gmusic)
Downloading protobuf-2.6.1.tar.gz (188kB)
100% |████████████████████████████████| 188kB 515kB/s
Complete output from command python setup.py egg_info:
Installed /tmp/pip-build-RDLzuE/protobuf/.eggs/google_apputils-0.4.2-py2.7.egg
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-RDLzuE/protobuf/setup.py", line 200, in <module>
"Protocol Buffers are Google's data interchange format.",
File "/usr/lib64/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 268, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
replace_conflicting=True,
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 836, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1074, in best_match
dist = working_set.find(req)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 711, in find
raise VersionConflict(dist, req)
pkg_resources.VersionConflict: (pytz 2012d (/usr/lib/python2.7/site-packages), Requirement.parse('pytz>=2010'))
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-RDLzuE/protobuf
What's wrong here?
After installing and un-installing via PPA, I tried installing via PIP on Ubuntu 13.04. This allowed me to enable it, but the Preferences button is disabled. What goes on?
To get this far, I've installed gir1.2-gconf-2.0, gobject-introspection, python-dateutil, python-requests, python-validictory
Hi:
I'm on Ubuntu 13.04 64bit. I get the following errors whenever I attempt to load the plugin. I've tried installing from both apt and pip. Neither way seems to work.
Rhythmbox: could not connect to socket
Rhythmbox: Connection refused
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/rhythmboxgmusic/init.py", line 3, in
from gmusicapi import Webclient as Api
File "/usr/lib/pymodules/python2.7/gmusicapi/init.py", line 9, in
from gmusicapi.clients import Webclient, Musicmanager, Mobileclient
File "/usr/lib/pymodules/python2.7/gmusicapi/clients/init.py", line 1, in
from gmusicapi.clients.webclient import Webclient
File "/usr/lib/pymodules/python2.7/gmusicapi/clients/webclient.py", line 9, in
import gmusicapi.session
File "/usr/lib/pymodules/python2.7/gmusicapi/session.py", line 7, in
import oauth2client
ImportError: No module named oauth2client
(rhythmbox:10360): libpeas-WARNING **: Error loading plugin 'rhythmboxgmusic'
I'm using Rhythmbox 2.99.1 on Ubuntu 13.10 64bit and I get the following error when trying to activate the plugin:
ERROR:root:Could not find any typelib for GConf
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/rhythmbox_gmusic-4.0dev-py2.7.egg/rhythmboxgmusic/init.py", line 1, in
from gi.repository import GObject, Peas, Gtk, GConf, RB, GLib, GnomeKeyring
ImportError: cannot import name GConf
(rhythmbox:12028): libpeas-WARNING **: Error loading plugin 'rhythmboxgmusic'
I've tried installing from source and ppa and neither seems to work
13.10 is not supported yet, this causes 404 errors during update.
Ubuntu 14.04 with Rhythmbox 2.99.1.
What Happens? :_(
Traceback every time I click 'play' on any song:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/rhythmboxgmusic/__init__.py", line 101, in do_get_playback_uri
return api.get_stream_url(id)
AttributeError: 'Webclient' object has no attribute 'get_stream_url'
I'm running Fedora 19 x64 gnome. Rhythmbox is 2.99.1.
Might be related to #20 .
I tryed to install in the all ways but always I get this problem
Please add a search bar to search / filter songs. Also, an option to add songs to the play queue would be very useful too.
Hi,
I am having the following issue:
http://postimg.org/image/5laztkra9/
installed via pip, the "From the Shell" example:
sudo apt-get install python-pip git-core
sudo pip install git+https://github.com/nvbn/rhythmbox-gmusic.git#egg=rhythmbox-gmusic
My python version is Python 2.7.6
I ran the install from the ppa and upon enabling the plugin I get this error
** (rhythmbox:3298): CRITICAL **: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed
(rhythmbox:3298): GLib-CRITICAL **: g_variant_unref: assertion `value->ref_count > 0' failed
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rhythmboxgmusic/init.py", line 2, in
from gmusicapi.api import Api
ImportError: No module named gmusicapi.api
(rhythmbox:3298): libpeas-WARNING **: Error loading plugin 'rhythmboxgmusic'
Thank you
On Rhythmbox 2.98, I was able to get the plug in loaded.
Ubuntu 13.04
Installed from your PPA.
Hi,
I'm trying to install the plugin using pip3
The installation completes successfully without throwing any errors.
But when I open Rhythmbox and try to enable this plugin, Rhythmbox crashes.
Please help. Is there a way to troubleshoot this issue and find the real problem.
Edit: I started Rhythmbox in debug mode. When I try to enable this plugin(while in debug mode), I get an error stating that my 'This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 3.0.0. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library.'
I have installed protobuf 3.5.0 but I still keep getting this error. This is the latest version for protobuf(I mean the latest is 3.5.1 but still) and I have also have the latest version for protobuf-compiler(v 3.0)
I had to install at least
python-dateutil
python-requests
python-validictory
These packages can all be installed fron universe/main.
in xubuntu 13.04 I've installed both from ppa and from git.
When trying rhythmbox -d and loading the plugin I get:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/rhythmboxgmusic/init.py", line 3, in
from gmusicapi import Webclient as Api
ImportError: cannot import name Webclient
Anyone can help?
Please, add raring packages for rhythmbox-gmusic into your ppa.
The WebClient interface is broken, no songs play. A device ID may be needed.
This is the exception: gmusicapi.exceptions.CallFailure: GetStreamUrl: 401 Client Error: Unauthorized
Is anyone else having an issue where rhythmbox crashes with a segfault when you pick an artist from the list in the main view? I can pick albums just fine, and playlists filter without an issue, but the main library does this as rhythmbox dies:
(rhythmbox:32415): RhythmDB-CRITICAL **: rhythmdb_entry_ref: assertion 'entry->refcount > 0' failed
(rhythmbox:32415): RhythmDB-CRITICAL **: rhythmdb_entry_get_string: assertion 'entry != NULL' failed
Segmentation fault (core dumped)
you should state that plugin requires validictory python library.
At least in ubuntu it isn't installed by default.
And you should add it as a deb package requirement ( i installed plugin from your ppa )
Hi,
Now I have this working on my system I noticed there is no album art displayed, not sure if this is a bug or a feature yet to be added but it sure would be a cool feature.
I cant see any covers.
here is my console output:
** (rhythmbox:341): WARNING **: GObject.get_data() and set_data() are deprecated. Use normal Python attributes instead
(rhythmbox:341): GLib-GObject-CRITICAL **: g_value_get_uint64: assertion `G_VALUE_HOLDS_UINT64 (value)' failed
Traceback (most recent call last):
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 84, in album_art_requested
return s.next_search()
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 52, in next_search
search.search(self.key, self.last_time, self.store, self.search_done, None)
File "/usr/lib/rhythmbox/plugins/artsearch/local.py", line 154, in search
enumfiles = parent.enumerate_children_async("standard::content-type,access::can-read,standard::name", 0, 0, None, self._enum_children_cb, None)
AttributeError: 'NoneType' object has no attribute 'enumerate_children_async'
(rhythmbox:341): GLib-GObject-CRITICAL **: g_value_get_uint64: assertion `G_VALUE_HOLDS_UINT64 (value)' failed
Traceback (most recent call last):
File "/home/recoil/.local/share/rhythmbox/plugins/coverart_browser/coverart_search_providers.py", line 103, in album_art_requested
return s.next_search()
File "/home/recoil/.local/share/rhythmbox/plugins/coverart_browser/coverart_album_search.py", line 81, in next_search
search.search(self.key, self.last_time, self.store, self.search_done, None)
File "/home/recoil/.local/share/rhythmbox/plugins/coverart_browser/coverart_album_search.py", line 166, in search
enumfiles = parent.enumerate_children_async("standard::content-type,access::can-read,standard::name", 0, 0, None, self._enum_children_cb, None)
AttributeError: 'NoneType' object has no attribute 'enumerate_children_async'
It seems that rhythmbox use python 3, so plugin and it's dependencies must be compatible with python 3. I tried to covert plugin and some dependent packages with "2to3" tool or replace if there is python3-compatible port, but i can't find python3-compatible version of protobuf. 2to3 does not help. It is possible to fix that?
Could you please make the install directories of the data_files array use relative paths, so sys.prefix, sys.exec_prefix, pip --user could function properly?
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
I tried the PIP-based installation, which succeeded. Rhythmbox doesn't show anything related to Google Music, GMusic, or similar. It doesn't show up in the Plugins dialog or in "rhythmbox -d" output.
Hello Devs,
Thanks for your code , am now listening to google play via rhythmbox which is awesome :)
i installed from the PPA and added the api via pip , it hung when i enabled the plugin . i noticed some messages related to ubuntu one so i disabled rhythmbox support for it (i don't actually use it so was no bother) and now google play is working for me. that might help someone to know that :)
Heres the output from rhymbox while i was doing this , note two invocations one with and one without ubuntu one.
amias@amias-dev:~$ rhythmbox
^CTraceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rhythmboxgmusic/init.py", line 34, in do_activate
self.source.setup()
File "/usr/lib/pymodules/python2.7/rhythmboxgmusic/init.py", line 114, in setup
if self.login():
File "/usr/lib/pymodules/python2.7/rhythmboxgmusic/init.py", line 159, in login
return api.login(login, password)
File "/usr/local/lib/python2.7/dist-packages/gmusicapi/api.py", line 147, in login
self._mm_pb_call("upload_auth") #what if this fails? can it?
File "/usr/local/lib/python2.7/dist-packages/gmusicapi/api.py", line 882, in _mm_pb_call
res.ParseFromString(self.session.post_protobuf(url, req))
File "/usr/local/lib/python2.7/dist-packages/gmusicapi/api.py", line 1044, in post_protobuf
'Content-Type': 'application/x-google-protobuf'
File "/usr/lib/python2.7/httplib.py", line 958, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 992, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 776, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1157, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 562, in create_connection
sock.connect(sa)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
KeyboardInterrupt
Rhythmbox: could not connect to socket
Rhythmbox: No such file or directory
** (rhythmbox:22950): WARNING *_: Error calling get_info: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
retval = candidate_method(self, *args, *_keywords)
File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/platform/linux/dbus_interface.py", line 723, in get_info
return self.service.folders.get_info(path)
File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 166, in inner
result = f(_new_args, *_new_kwargs)
File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/logger.py", line 283, in inner
res = f(_args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 717, in get_info
mdobj = self.fs_manager.get_by_path(path)
File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py", line 794, in get_by_path
mdid = self._idx_path[path]
KeyError: '/home/amias/.ubuntuone/Purchased from Ubuntu One'
** (rhythmbox:22950): CRITICAL **: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed
(rhythmbox:22950): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
Traceback (most recent call last):
File "/usr/lib/rhythmbox/plugins/ubuntuone/MusicStoreWidget.py", line 97, in url_loaded
if urlparse.urlparse(url)[2] == "https":
File "/usr/lib/python2.7/urlparse.py", line 135, in urlparse
tuple = urlsplit(url, scheme, allow_fragments)
File "/usr/lib/python2.7/urlparse.py", line 174, in urlsplit
i = url.find(':')
AttributeError: 'NoneType' object has no attribute 'find'
(rhythmbox:22950): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
(rhythmbox:22950): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed
(rhythmbox:22950): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed
(rhythmbox:22950): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
amias@amias-dev:~$ rhythmbox
^CTraceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rhythmboxgmusic/init.py", line 34, in do_activate
self.source.setup()
File "/usr/lib/pymodules/python2.7/rhythmboxgmusic/init.py", line 114, in setup
if self.login():
File "/usr/lib/pymodules/python2.7/rhythmboxgmusic/init.py", line 159, in login
return api.login(login, password)
File "/usr/local/lib/python2.7/dist-packages/gmusicapi/api.py", line 147, in login
self._mm_pb_call("upload_auth") #what if this fails? can it?
File "/usr/local/lib/python2.7/dist-packages/gmusicapi/api.py", line 882, in _mm_pb_call
res.ParseFromString(self.session.post_protobuf(url, req))
File "/usr/local/lib/python2.7/dist-packages/gmusicapi/api.py", line 1044, in post_protobuf
'Content-Type': 'application/x-google-protobuf'
File "/usr/lib/python2.7/httplib.py", line 958, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 992, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 776, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1157, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 562, in create_connection
sock.connect(sa)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
KeyboardInterrupt
Rhythmbox: could not connect to socket
Rhythmbox: No such file or directory
** (rhythmbox:23044): WARNING *_: Error calling get_info: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
retval = candidate_method(self, *args, *_keywords)
File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/platform/linux/dbus_interface.py", line 723, in get_info
return self.service.folders.get_info(path)
File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 166, in inner
result = f(_new_args, *_new_kwargs)
File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/logger.py", line 283, in inner
res = f(_args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 717, in get_info
mdobj = self.fs_manager.get_by_path(path)
File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py", line 794, in get_by_path
mdid = self._idx_path[path]
KeyError: '/home/amias/.ubuntuone/Purchased from Ubuntu One'
** (rhythmbox:23044): CRITICAL **: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed
(rhythmbox:23044): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
Traceback (most recent call last):
File "/usr/lib/rhythmbox/plugins/ubuntuone/MusicStoreWidget.py", line 97, in url_loaded
if urlparse.urlparse(url)[2] == "https":
File "/usr/lib/python2.7/urlparse.py", line 135, in urlparse
tuple = urlsplit(url, scheme, allow_fragments)
File "/usr/lib/python2.7/urlparse.py", line 174, in urlsplit
i = url.find(':')
AttributeError: 'NoneType' object has no attribute 'find'
(rhythmbox:23044): Gtk-CRITICAL **: gtk_tree_selection_count_selected_rows: assertion `GTK_IS_TREE_SELECTION (selection)' failed
(rhythmbox:23044): GLib-GObject-WARNING **: invalid uninstantiatable type <invalid>' in cast to
GObject'
(rhythmbox:23044): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `'
(rhythmbox:23044): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
2013-01-21 11:08:42,164 - gmusicapi.Api - WARNING - Received an unexpected response from call loadalltracks.
2013-01-21 11:08:42,190 - gmusicapi.Api - WARNING - error was: Failed to validate field 'playlist' list schema: additional property 'bitrate' not defined by 'properties' are not allowed in list item
2013-01-21 11:08:50,706 - gmusicapi.Api - WARNING - Received an unexpected response from call loadalltracks.
2013-01-21 11:08:50,733 - gmusicapi.Api - WARNING - error was: Failed to validate field 'playlist' list schema: additional property 'bitrate' not defined by 'properties' are not allowed in list item
2013-01-21 11:08:51,713 - gmusicapi.Api - WARNING - Received an unexpected response from call loadalltracks.
2013-01-21 11:08:51,741 - gmusicapi.Api - WARNING - error was: Failed to validate field 'playlist' list schema: additional property 'bitrate' not defined by 'properties' are not allowed in list item
2013-01-21 11:08:52,639 - gmusicapi.Api - WARNING - Received an unexpected response from call loadalltracks.
2013-01-21 11:08:52,660 - gmusicapi.Api - WARNING - error was: Failed to validate field 'playlist' list schema: additional property 'bitrate' not defined by 'properties' are not allowed in list item
(rhythmbox:23044): GLib-GObject-CRITICAL **: g_value_get_uint: assertion `G_VALUE_HOLDS_UINT (value)' failed
Traceback (most recent call last):
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 84, in album_art_requested
return s.next_search()
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 52, in next_search
search.search(self.key, self.last_time, self.store, self.search_done, None)
File "/usr/lib/rhythmbox/plugins/artsearch/local.py", line 154, in search
enumfiles = parent.enumerate_children_async("standard::content-type,access::can-read,standard::name", 0, 0, None, self._enum_children_cb, None)
AttributeError: 'NoneType' object has no attribute 'enumerate_children_async'
(rhythmbox:23044): GLib-GObject-CRITICAL **: g_value_get_uint: assertion `G_VALUE_HOLDS_UINT (value)' failed
Traceback (most recent call last):
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 84, in album_art_requested
return s.next_search()
File "/usr/lib/rhythmbox/plugins/artsearch/artsearch.py", line 52, in next_search
search.search(self.key, self.last_time, self.store, self.search_done, None)
File "/usr/lib/rhythmbox/plugins/artsearch/local.py", line 154, in search
enumfiles = parent.enumerate_children_async("standard::content-type,access::can-read,standard::name", 0, 0, None, self._enum_children_cb, None)
AttributeError: 'NoneType' object has no attribute 'enumerate_children_async'
FYI:
amias@amias-dev:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
fully up to date and 64bit.
Thanks again for your work and for sharing your cool toys :)
First off I would like to say this is quite possibly the best use I have found for google music so far.
That being said, I have just imported by google music library into rhythmbox using this plugin and am only seeing 76 of my 10,000 songs, and I am unable to get it to pull any more, I have installed the latest from the git repo, is there any additional step I should take to pull in all of the songs?
Ubuntu 14
This happens after running the first two PPA commands from terminal.
When I try to install using the commands in the readme, apt tells me "couldn't locate package" or something to that effect. So I looked at the ppa in synaptic and 3 other packages (everpad, tailme, and vkvideo) show up, but no rhymthbox-gmusic.
Plugin shows up on the Plugins section and I can enable it. Once I add my username and password, and I click "Ok" it does nothing...
Possibly related to #48 (call it a gut feeling), but when I filter by artist in my playlists I sometimes get more results than I should:
If I am not mistaken, the following line from the __init__.py
script stores the user's Google account password as plain text into the GGonf system.
settings.set_string(PASSWORD_KEY, dialog.password_input.get_text())
This is should be avoided at all cost (and I hope I don't have to explain why)!!!
Unfortunately, the plugin does not work properly on my machine (Ubuntu 12.04 using the pip install), so I probably won't be able to suggest a fix for that, but I suggest to use the Google OAuth 2.0 API and store the obtained access tokens instead.
I'm trying to use the latest rhythmbox-gmusic from GIT but when I enable it, I get this:
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/rhythmboxgmusic/init.py", line 12, in
api = Api(debug_logging=False)
TypeError: init() got an unexpected keyword argument 'debug_logging'
(rhythmbox:17061): libpeas-WARNING **: Error loading plugin 'rhythmboxgmusic'
Using Ubuntu 13.04 with Rhythmbox 2.98.
You want to install in /usr/lib64 on 64bit platforms.. or there possibly is a way to find what the libdir is on the platform? I'm not sure if distutils can tell you.. The easy alternative is to isntall into both (and/or to symlink to both).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.