[rhythmbox: 1/2] listenbrainz: Add listening_from to submitted data
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox: 1/2] listenbrainz: Add listening_from to submitted data
- Date: Sat, 20 Jun 2020 11:44:54 +0000 (UTC)
commit 47029917da733eb6ce743b944c916f4dacc720e9
Author: Philipp Wolfer <ph wolfer gmail com>
Date: Mon May 4 20:17:04 2020 +0200
listenbrainz: Add listening_from to submitted data
plugins/listenbrainz/listenbrainz.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/plugins/listenbrainz/listenbrainz.py b/plugins/listenbrainz/listenbrainz.py
index 7b99e4fb6..890f4f452 100644
--- a/plugins/listenbrainz/listenbrainz.py
+++ b/plugins/listenbrainz/listenbrainz.py
@@ -181,6 +181,7 @@ def _entry_to_track(entry):
mb_album_id = entry.get_string(RB.RhythmDBPropType.MB_ALBUMID)
mb_artist_id = entry.get_string(RB.RhythmDBPropType.MB_ARTISTID)
additional_info = {
+ "listening_from": "Rhythmbox",
"release_mbid": _validate_mbid(mb_album_id),
"recording_mbid": _validate_mbid(mb_track_id),
"artist_mbids": [mb_artist_id] if _validate_mbid(mb_artist_id) else [],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]