Giter Club home page Giter Club logo

Comments (6)

mario-tux avatar mario-tux commented on June 15, 2024

Sorry for the late reply. Is the problem still present? The same query works for me.
Could you a complete debug log on the same query? Do you get the same pause with other kind of queries?

from gmusicproxy.

fabianlupa avatar fabianlupa commented on June 15, 2024

Thanks for answering. I am getting some weird behavior. Let me see if I can describe the situation accordingly.

I have mpd running as my local user. ncmpcpp is running fine with local songs in ~/music. It also lists the playlists I have under ~/.mpd/playlists.

Running gmusicproxy using the service provided by the aur package

 ~  sudo systemctl start gmusicproxy.service
 ~  sudo systemctl status gmusicproxy.service
● gmusicproxy.service - Let's stream Google Play Music using any media-player
   Loaded: loaded (/usr/lib/systemd/system/gmusicproxy.service; disabled; vendor preset: disabled)
   Active: active (running) since Fri 2016-05-06 17:42:28 CEST; 5s ago
 Main PID: 9691 (GMusicProxy)
    Tasks: 1 (limit: 512)
   CGroup: /system.slice/gmusicproxy.service
           └─9691 /usr/bin/python2 /usr/bin/GMusicProxy -x -l /var/log/gmusicproxy.log

May 06 17:42:28 PC systemd[1]: Started Let's stream Google Play Music using any media-player.
May 06 17:42:28 PC GMusicProxy[9691]: Google Play Music Proxy 1.0.5 (© Mario Di Raimondo)
 ~  tail -f /var/log/gmusicproxy.log 

Pre-fetching list of songs in collection
Listening on port 9999...
Searching for album with query: Queen Greatest Hits
Selected album: Queen - Greatest Hits (Bs4rlz7rqifh6rfienl47hzpace)
Getting the tracks of the album with id 'Bs4rlz7rqifh6rfienl47hzpace': Greatest Hits - Queen
Google Play Music Proxy 1.0.5 (© Mario Di Raimondo)

Pre-fetching list of songs in collection
Listening on port 9999...
Streaming song with id 'Tacazdvtdjt7mwqoigdwi7zsfm4': Queen - Good Old-Fashioned Lover Boy (Remastered 2011)
Streaming song with id 'Ti6qggdbkc5azgvscreufves6ee': Queen - Bicycle Race (Remastered 2011)
Streaming song with id 'Tatzbmu2dge4we3u2znqz5imaey': Arctic Monkeys - I Wanna Be Yours
Streaming song with id 'Tro4n36lz67qkhmt2jwxgn545ru': Arctic Monkeys - Why'd You Only Call Me When You're High?

This seems fine by the log. However the log entry for each song is only added after I switch away from playing it (in ncmpcpp I start a song from a google play music all access playlist I downloaded -> no log entry -> I skip to the next song -> log entry added for streaming the previous song).
Same thing with downloading playlists. This is the order:

Logoutput on start:
re-fetching list of songs in collection
Listening on port 9999...

I do: curl -s 'http://localhost:9999/get_by_search?type=album&artist=Arctic%20Monkeys' > test2.m3u

Logoutput:
Searching for album with query: Arctic Monkeys 

I wait but nothing happens so I ctrl+c curl which causes this logoutput:
Selected album: Arctic Monkeys - AM (Bqkvbl36pdqbs5j7aajw3kt3s6u)
Getting the tracks of the album with id 'Bqkvbl36pdqbs5j7aajw3kt3s6u': AM - Arctic Monkeys

So theres that.

Running gmusicproxy manually as local user without debug

GMusicProxy --port 999 --log log.txt
Same thing just happening in the logfile I specified. Now you may wonder where I got the playlist from in the first place...

Running gmusicproxy manually as local user with debug

GMusicProxy --port 9999 --debug --log log.txt
Using the same curl command as above I now get the playlist immediately.

Here's the log you wanted:

[INFO] (GMusicProxy:651): Google Play Music Proxy 1.0.5 (© Mario Di Raimondo)

[DEBUG] (GMusicProxy:665): configuration used:
{'config': None,
 'daemon': 'true',
 'debug': True,
 'device_id': '79sd87s9d87s98d7',
 'disable_all_access': False,
 'disable_playcount_increment': False,
 'disable_version_check': False,
 'email': 'REMOVED',
 'extended_m3u': 'true',
 'host': '**auto**',
 'list_devices': False,
 'log': 'log.txt',
 'password': '***OMITTED***',
 'port': 9999,
 'shoutcast_metadata': False}

[INFO] (mobileclient:72): authenticated
[DEBUG] (GMusicProxy:600): Fetching lastest version of gmusicproxy...
[DEBUG] (GMusicProxy:603): latest available version: 1.0.5
[DEBUG] (GMusicProxy:604): installed version: 1.0.5
[INFO] (GMusicProxy:689): Pre-fetching list of songs in collection
[DEBUG] (shared:203): ListTracks(args=[], kwargs={'start_token': None, u'max_results': 20000})
[DEBUG] (shared:244): {u'kind': u'sj#trackList', u'data': {u'items': [u'<1846 tracks>']}}
[INFO] (GMusicProxy:692): Listening on port 9999...
[DEBUG] (GMusicProxy:34): request path: /get_by_search?type=album&artist=Queen&title=Greatest%20Hits
[INFO] (GMusicProxy:391): Searching for album with query: Queen Greatest Hits
[DEBUG] (shared:203): Search(args=[u'Queen Greatest Hits', 50], kwargs={})

Also actually playing the songs in the playlist does not work in either of these 3 launch modes. ncmpcpp just skips to the next song until there is either a local one it can play or the playlist is at its end.

If there's any more information you need feel free to tell me.

from gmusicproxy.

mario-tux avatar mario-tux commented on June 15, 2024

Could you try to use VLC with a query URL of GMusicProxy. Another test would be to use wget or curl with such URL: see if the streaming start.

I use GMusicProxy with mpd but never used ncmpcpp. As a client it should not be the cause...

from gmusicproxy.

fabianlupa avatar fabianlupa commented on June 15, 2024

VLC GUI:

Your input can't be opened:
VLC is unable to open the MRL 'http://192.168.178.20:9999/get_song?id=Tw2gztu3sqjdjbocgnqd7n4kyjq'. Check the log for details.
Your input can't be opened:
VLC is unable to open the MRL 'http://192.168.178.20:9999/get_song?id=Tvkk24rmvyyt5fx3ru2n2bqis6e'. Check the log for details.

VLC CLI Log:

~/.mpd/playlists  vlc test.m3u
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[00000000011ea148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000000012d10c8] core playlist: stopping playback
[00007f2148c08ef8] http access error: failed to read answer
[00007f2148c08ef8] http access error: failed to read answer
[00007f2148c08ef8] access_mms access error: failed to read answer
[00007f215c006598] core input error: open of `http://192.168.178.20:9999/get_song?id=Tw2gztu3sqjdjbocgnqd7n4kyjq' failed
[00007f2148c05978] http access error: failed to read answer
[00007f2148c05978] http access error: failed to read answer
[00007f2148c05978] access_mms access error: failed to read answer
[00007f215c0061d8] core input error: open of `http://192.168.178.20:9999/get_song?id=Tvkk24rmvyyt5fx3ru2n2bqis6e' failed

The playlist test.m3u

#EXTM3U
#EXTINF:272,Arctic Monkeys - Do I Wanna Know? - AM
http://192.168.178.20:9999/get_song?id=Tw2gztu3sqjdjbocgnqd7n4kyjq
#EXTINF:193,Arctic Monkeys - Snap Out Of It - AM
http://192.168.178.20:9999/get_song?id=Tvkk24rmvyyt5fx3ru2n2bqis6e

And finally the GMusicProxy log:

[INFO] (GMusicProxy:651): Google Play Music Proxy 1.0.5 (© Mario Di Raimondo)

[DEBUG] (GMusicProxy:665): configuration used:
{'config': None,
 'daemon': 'true',
 'debug': True,
 'device_id': '79sd87s9d87s98d7',
 'disable_all_access': False,
 'disable_playcount_increment': False,
 'disable_version_check': False,
 'email': 'REMOVED',
 'extended_m3u': 'true',
 'host': '**auto**',
 'list_devices': False,
 'log': 'log.txt',
 'password': '***OMITTED***',
 'port': 9999,
 'shoutcast_metadata': False}

[INFO] (mobileclient:72): authenticated
[DEBUG] (GMusicProxy:600): Fetching lastest version of gmusicproxy...
[DEBUG] (GMusicProxy:603): latest available version: 1.0.5
[DEBUG] (GMusicProxy:604): installed version: 1.0.5
[INFO] (GMusicProxy:689): Pre-fetching list of songs in collection
[DEBUG] (shared:203): ListTracks(args=[], kwargs={'start_token': None, u'max_results': 20000})
[DEBUG] (shared:244): {u'kind': u'sj#trackList', u'data': {u'items': [u'<1846 tracks>']}}
[INFO] (GMusicProxy:692): Listening on port 9999...
[DEBUG] (GMusicProxy:34): request path: /get_song?id=Tw2gztu3sqjdjbocgnqd7n4kyjq
[DEBUG] (shared:203): GetStoreTrack(args=['Tw2gztu3sqjdjbocgnqd7n4kyjq'], kwargs={})
[DEBUG] (GMusicProxy:34): request path: /get_song?id=Tw2gztu3sqjdjbocgnqd7n4kyjq
[DEBUG] (shared:203): GetStoreTrack(args=['Tw2gztu3sqjdjbocgnqd7n4kyjq'], kwargs={})
[DEBUG] (shared:244): {u'albumArtRef': [{u'url': u'http://lh6.ggpht.com/xPbqvcFDACI1m7xjH6af1YHCywRLKvzTUMPbg1rWj9ZH-w6RVoEdD9BYveVKy-PHZG42QJ6yQQ'}], u'artistId': [u'Avnnuehmn7ml3upe5m4giajj7gu'], u'composer': u'Arctic Monkeys', u'year': 2013, u'trackAvailableForSubscription': True, u'trackType': u'7', u'album': u'AM', u'title': u'Do I Wanna Know?', u'albumArtist': u'Arctic Monkeys', u'trackNumber': 1, u'discNumber': 1, u'albumAvailableForPurchase': False, u'contentType': u'2', u'trackAvailableForPurchase': True, u'storeId': u'Tw2gztu3sqjdjbocgnqd7n4kyjq', u'nid': u'Tw2gztu3sqjdjbocgnqd7n4kyjq', u'estimatedSize': u'10898312', u'albumId': u'Bqkvbl36pdqbs5j7aajw3kt3s6u', u'genre': u'Alternative/Indie', u'kind': u'sj#track', u'artist': u'Arctic Monkeys', u'durationMillis': u'272000'}
[INFO] (GMusicProxy:179): Streaming song with id 'Tw2gztu3sqjdjbocgnqd7n4kyjq': Arctic Monkeys - Do I Wanna Know?
[DEBUG] (GMusicProxy:180): {u'album': u'AM',
 u'albumArtRef': [{u'url': u'http://lh6.ggpht.com/xPbqvcFDACI1m7xjH6af1YHCywRLKvzTUMPbg1rWj9ZH-w6RVoEdD9BYveVKy-PHZG42QJ6yQQ'}],
 u'albumArtist': u'Arctic Monkeys',
 u'albumAvailableForPurchase': False,
 u'albumId': u'Bqkvbl36pdqbs5j7aajw3kt3s6u',
 u'artist': u'Arctic Monkeys',
 u'artistId': [u'Avnnuehmn7ml3upe5m4giajj7gu'],
 u'composer': u'Arctic Monkeys',
 u'contentType': u'2',
 u'discNumber': 1,
 u'durationMillis': u'272000',
 u'estimatedSize': u'10898312',
 u'genre': u'Alternative/Indie',
 u'kind': u'sj#track',
 u'nid': u'Tw2gztu3sqjdjbocgnqd7n4kyjq',
 u'storeId': u'Tw2gztu3sqjdjbocgnqd7n4kyjq',
 u'title': u'Do I Wanna Know?',
 u'trackAvailableForPurchase': True,
 u'trackAvailableForSubscription': True,
 u'trackNumber': 1,
 u'trackType': u'7',
 u'year': 2013}
[DEBUG] (GMusicProxy:34): request path: /get_song?id=Tw2gztu3sqjdjbocgnqd7n4kyjq
[DEBUG] (shared:203): GetStoreTrack(args=['Tw2gztu3sqjdjbocgnqd7n4kyjq'], kwargs={})
[DEBUG] (shared:244): {u'albumArtRef': [{u'url': u'http://lh6.ggpht.com/xPbqvcFDACI1m7xjH6af1YHCywRLKvzTUMPbg1rWj9ZH-w6RVoEdD9BYveVKy-PHZG42QJ6yQQ'}], u'artistId': [u'Avnnuehmn7ml3upe5m4giajj7gu'], u'composer': u'Arctic Monkeys', u'year': 2013, u'trackAvailableForSubscription': True, u'trackType': u'7', u'album': u'AM', u'title': u'Do I Wanna Know?', u'albumArtist': u'Arctic Monkeys', u'trackNumber': 1, u'discNumber': 1, u'albumAvailableForPurchase': False, u'contentType': u'2', u'trackAvailableForPurchase': True, u'storeId': u'Tw2gztu3sqjdjbocgnqd7n4kyjq', u'nid': u'Tw2gztu3sqjdjbocgnqd7n4kyjq', u'estimatedSize': u'10898312', u'albumId': u'Bqkvbl36pdqbs5j7aajw3kt3s6u', u'genre': u'Alternative/Indie', u'kind': u'sj#track', u'artist': u'Arctic Monkeys', u'durationMillis': u'272000'}
[INFO] (GMusicProxy:179): Streaming song with id 'Tw2gztu3sqjdjbocgnqd7n4kyjq': Arctic Monkeys - Do I Wanna Know?
[DEBUG] (GMusicProxy:180): {u'album': u'AM',
 u'albumArtRef': [{u'url': u'http://lh6.ggpht.com/xPbqvcFDACI1m7xjH6af1YHCywRLKvzTUMPbg1rWj9ZH-w6RVoEdD9BYveVKy-PHZG42QJ6yQQ'}],
 u'albumArtist': u'Arctic Monkeys',
 u'albumAvailableForPurchase': False,
 u'albumId': u'Bqkvbl36pdqbs5j7aajw3kt3s6u',
 u'artist': u'Arctic Monkeys',
 u'artistId': [u'Avnnuehmn7ml3upe5m4giajj7gu'],
 u'composer': u'Arctic Monkeys',
 u'contentType': u'2',
 u'discNumber': 1,
 u'durationMillis': u'272000',
 u'estimatedSize': u'10898312',
 u'genre': u'Alternative/Indie',
 u'kind': u'sj#track',
 u'nid': u'Tw2gztu3sqjdjbocgnqd7n4kyjq',
 u'storeId': u'Tw2gztu3sqjdjbocgnqd7n4kyjq',
 u'title': u'Do I Wanna Know?',
 u'trackAvailableForPurchase': True,
 u'trackAvailableForSubscription': True,
 u'trackNumber': 1,
 u'trackType': u'7',
 u'year': 2013}
[DEBUG] (GMusicProxy:34): request path: /get_song?id=Tvkk24rmvyyt5fx3ru2n2bqis6e
[DEBUG] (shared:203): GetStoreTrack(args=['Tvkk24rmvyyt5fx3ru2n2bqis6e'], kwargs={})
[DEBUG] (shared:244): {u'albumArtRef': [{u'url': u'http://lh6.ggpht.com/xPbqvcFDACI1m7xjH6af1YHCywRLKvzTUMPbg1rWj9ZH-w6RVoEdD9BYveVKy-PHZG42QJ6yQQ'}], u'artistId': [u'Avnnuehmn7ml3upe5m4giajj7gu'], u'composer': u'Arctic Monkeys', u'year': 2013, u'trackAvailableForSubscription': True, u'trackType': u'7', u'album': u'AM', u'title': u'Snap Out Of It', u'albumArtist': u'Arctic Monkeys', u'trackNumber': 10, u'discNumber': 1, u'albumAvailableForPurchase': False, u'contentType': u'2', u'trackAvailableForPurchase': True, u'storeId': u'Tvkk24rmvyyt5fx3ru2n2bqis6e', u'nid': u'Tvkk24rmvyyt5fx3ru2n2bqis6e', u'estimatedSize': u'7723912', u'albumId': u'Bqkvbl36pdqbs5j7aajw3kt3s6u', u'genre': u'Alternative/Indie', u'kind': u'sj#track', u'primaryVideo': {u'kind': u'sj#video', u'id': u'H8tLS_NOWLs', u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/H8tLS_NOWLs/mqdefault.jpg', u'width': 320, u'height': 180}]}, u'artist': u'Arctic Monkeys', u'durationMillis': u'193000'}
[INFO] (GMusicProxy:179): Streaming song with id 'Tvkk24rmvyyt5fx3ru2n2bqis6e': Arctic Monkeys - Snap Out Of It
[DEBUG] (GMusicProxy:180): {u'album': u'AM',
 u'albumArtRef': [{u'url': u'http://lh6.ggpht.com/xPbqvcFDACI1m7xjH6af1YHCywRLKvzTUMPbg1rWj9ZH-w6RVoEdD9BYveVKy-PHZG42QJ6yQQ'}],
 u'albumArtist': u'Arctic Monkeys',
 u'albumAvailableForPurchase': False,
 u'albumId': u'Bqkvbl36pdqbs5j7aajw3kt3s6u',
 u'artist': u'Arctic Monkeys',
 u'artistId': [u'Avnnuehmn7ml3upe5m4giajj7gu'],
 u'composer': u'Arctic Monkeys',
 u'contentType': u'2',
 u'discNumber': 1,
 u'durationMillis': u'193000',
 u'estimatedSize': u'7723912',
 u'genre': u'Alternative/Indie',
 u'kind': u'sj#track',
 u'nid': u'Tvkk24rmvyyt5fx3ru2n2bqis6e',
 u'primaryVideo': {u'id': u'H8tLS_NOWLs',
                   u'kind': u'sj#video',
                   u'thumbnails': [{u'height': 180,
                                    u'url': u'https://i.ytimg.com/vi/H8tLS_NOWLs/mqdefault.jpg',
                                    u'width': 320}]},
 u'storeId': u'Tvkk24rmvyyt5fx3ru2n2bqis6e',
 u'title': u'Snap Out Of It',
 u'trackAvailableForPurchase': True,
 u'trackAvailableForSubscription': True,
 u'trackNumber': 10,
 u'trackType': u'7',
 u'year': 2013}
[DEBUG] (GMusicProxy:34): request path: /get_song?id=Tvkk24rmvyyt5fx3ru2n2bqis6e
[DEBUG] (shared:203): GetStoreTrack(args=['Tvkk24rmvyyt5fx3ru2n2bqis6e'], kwargs={})
[DEBUG] (shared:244): {u'albumArtRef': [{u'url': u'http://lh6.ggpht.com/xPbqvcFDACI1m7xjH6af1YHCywRLKvzTUMPbg1rWj9ZH-w6RVoEdD9BYveVKy-PHZG42QJ6yQQ'}], u'artistId': [u'Avnnuehmn7ml3upe5m4giajj7gu'], u'composer': u'Arctic Monkeys', u'year': 2013, u'trackAvailableForSubscription': True, u'trackType': u'7', u'album': u'AM', u'title': u'Snap Out Of It', u'albumArtist': u'Arctic Monkeys', u'trackNumber': 10, u'discNumber': 1, u'albumAvailableForPurchase': False, u'contentType': u'2', u'trackAvailableForPurchase': True, u'storeId': u'Tvkk24rmvyyt5fx3ru2n2bqis6e', u'nid': u'Tvkk24rmvyyt5fx3ru2n2bqis6e', u'estimatedSize': u'7723912', u'albumId': u'Bqkvbl36pdqbs5j7aajw3kt3s6u', u'genre': u'Alternative/Indie', u'kind': u'sj#track', u'primaryVideo': {u'kind': u'sj#video', u'id': u'H8tLS_NOWLs', u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/H8tLS_NOWLs/mqdefault.jpg', u'width': 320, u'height': 180}]}, u'artist': u'Arctic Monkeys', u'durationMillis': u'193000'}
[INFO] (GMusicProxy:179): Streaming song with id 'Tvkk24rmvyyt5fx3ru2n2bqis6e': Arctic Monkeys - Snap Out Of It
[DEBUG] (GMusicProxy:180): {u'album': u'AM',
 u'albumArtRef': [{u'url': u'http://lh6.ggpht.com/xPbqvcFDACI1m7xjH6af1YHCywRLKvzTUMPbg1rWj9ZH-w6RVoEdD9BYveVKy-PHZG42QJ6yQQ'}],
 u'albumArtist': u'Arctic Monkeys',
 u'albumAvailableForPurchase': False,
 u'albumId': u'Bqkvbl36pdqbs5j7aajw3kt3s6u',
 u'artist': u'Arctic Monkeys',
 u'artistId': [u'Avnnuehmn7ml3upe5m4giajj7gu'],
 u'composer': u'Arctic Monkeys',
 u'contentType': u'2',
 u'discNumber': 1,
 u'durationMillis': u'193000',
 u'estimatedSize': u'7723912',
 u'genre': u'Alternative/Indie',
 u'kind': u'sj#track',
 u'nid': u'Tvkk24rmvyyt5fx3ru2n2bqis6e',
 u'primaryVideo': {u'id': u'H8tLS_NOWLs',
                   u'kind': u'sj#video',
                   u'thumbnails': [{u'height': 180,
                                    u'url': u'https://i.ytimg.com/vi/H8tLS_NOWLs/mqdefault.jpg',
                                    u'width': 320}]},
 u'storeId': u'Tvkk24rmvyyt5fx3ru2n2bqis6e',
 u'title': u'Snap Out Of It',
 u'trackAvailableForPurchase': True,
 u'trackAvailableForSubscription': True,
 u'trackNumber': 10,
 u'trackType': u'7',
 u'year': 2013}
[DEBUG] (GMusicProxy:34): request path: /get_song?id=Tvkk24rmvyyt5fx3ru2n2bqis6e
[DEBUG] (shared:203): GetStoreTrack(args=['Tvkk24rmvyyt5fx3ru2n2bqis6e'], kwargs={})
[DEBUG] (shared:244): {u'albumArtRef': [{u'url': u'http://lh6.ggpht.com/xPbqvcFDACI1m7xjH6af1YHCywRLKvzTUMPbg1rWj9ZH-w6RVoEdD9BYveVKy-PHZG42QJ6yQQ'}], u'artistId': [u'Avnnuehmn7ml3upe5m4giajj7gu'], u'composer': u'Arctic Monkeys', u'year': 2013, u'trackAvailableForSubscription': True, u'trackType': u'7', u'album': u'AM', u'title': u'Snap Out Of It', u'albumArtist': u'Arctic Monkeys', u'trackNumber': 10, u'discNumber': 1, u'albumAvailableForPurchase': False, u'contentType': u'2', u'trackAvailableForPurchase': True, u'storeId': u'Tvkk24rmvyyt5fx3ru2n2bqis6e', u'nid': u'Tvkk24rmvyyt5fx3ru2n2bqis6e', u'estimatedSize': u'7723912', u'albumId': u'Bqkvbl36pdqbs5j7aajw3kt3s6u', u'genre': u'Alternative/Indie', u'kind': u'sj#track', u'primaryVideo': {u'kind': u'sj#video', u'id': u'H8tLS_NOWLs', u'thumbnails': [{u'url': u'https://i.ytimg.com/vi/H8tLS_NOWLs/mqdefault.jpg', u'width': 320, u'height': 180}]}, u'artist': u'Arctic Monkeys', u'durationMillis': u'193000'}
[INFO] (GMusicProxy:179): Streaming song with id 'Tvkk24rmvyyt5fx3ru2n2bqis6e': Arctic Monkeys - Snap Out Of It
[DEBUG] (GMusicProxy:180): {u'album': u'AM',
 u'albumArtRef': [{u'url': u'http://lh6.ggpht.com/xPbqvcFDACI1m7xjH6af1YHCywRLKvzTUMPbg1rWj9ZH-w6RVoEdD9BYveVKy-PHZG42QJ6yQQ'}],
 u'albumArtist': u'Arctic Monkeys',
 u'albumAvailableForPurchase': False,
 u'albumId': u'Bqkvbl36pdqbs5j7aajw3kt3s6u',
 u'artist': u'Arctic Monkeys',
 u'artistId': [u'Avnnuehmn7ml3upe5m4giajj7gu'],
 u'composer': u'Arctic Monkeys',
 u'contentType': u'2',
 u'discNumber': 1,
 u'durationMillis': u'193000',
 u'estimatedSize': u'7723912',
 u'genre': u'Alternative/Indie',
 u'kind': u'sj#track',
 u'nid': u'Tvkk24rmvyyt5fx3ru2n2bqis6e',
 u'primaryVideo': {u'id': u'H8tLS_NOWLs',
                   u'kind': u'sj#video',
                   u'thumbnails': [{u'height': 180,
                                    u'url': u'https://i.ytimg.com/vi/H8tLS_NOWLs/mqdefault.jpg',
                                    u'width': 320}]},
 u'storeId': u'Tvkk24rmvyyt5fx3ru2n2bqis6e',
 u'title': u'Snap Out Of It',
 u'trackAvailableForPurchase': True,
 u'trackAvailableForSubscription': True,
 u'trackNumber': 10,
 u'trackType': u'7',
 u'year': 2013}

Using wget or curl on the get_song?id=... endpoint gives the same result.

 ~/.mpd/playlists  wget http://192.168.178.20:9999/get_song\?id\=Tvkk24rmvyyt5fx3ru2n2bqis6e
--2016-05-08 11:45:06--  http://192.168.178.20:9999/get_song?id=Tvkk24rmvyyt5fx3ru2n2bqis6e
Connecting to 192.168.178.20:9999... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2016-05-08 11:45:07--  (try: 2)  http://192.168.178.20:9999/get_song?id=Tvkk24rmvyyt5fx3ru2n2bqis6e
Connecting to 192.168.178.20:9999... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

^C

I also replaced my local ip with localhost for testing but no difference.

Regarding bound ports, it seems to successfully bind to 9999 (changing it didn't help either):

~/.mpd/playlists  lsof -i tcp:9999
COMMAND     PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
GMusicPro 29457 flaiker    5u  IPv4 674352      0t0  TCP *:distinct (LISTEN)

The only things I can think of that might have an effect are that I am using two factor auth with a device password, but that seems to be supported as I can login successfully and the other is that I did not adjust the device id (but the generated one should be fine right?).

from gmusicproxy.

mario-tux avatar mario-tux commented on June 15, 2024

Is still there the problem?

from gmusicproxy.

fabianlupa avatar fabianlupa commented on June 15, 2024

I could not get it to work and stopped trying. My system setup is also quite different today, so I am not sure if the issue could be reproduced.

from gmusicproxy.

Related Issues (20)

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.