drive-music-player
drive-music-player copied to clipboard
Music player for google drive now not playing mp3 on my chromebook/Android phone
Expected Behavior
(What did you expect to happen?)
Actual Behavior
(What actually happened?)
Steps to Reproduce the Problem
Specifications
- Browser:
- OS: Mac/Linux/Windows
Here is some expanded log information (apologies for the giant blocks). I ran everything in Chrome version 43. No difference between local SimpleHTTPServer and driveplayer.com.
The Chrome console log when trying to play the 'You are not authorized...' song:
GET https://content.googleapis.com/drive/v2/files/0BwJXpSIJJBiyQkZGa0RLcTFmUkk 404 (OK)zu @ cb=gapi.loaded_0:99n @ cb=gapi.loaded_0:99Cu @ cb=gapi.loaded_0:99(anonymous function) @ cb=gapi.loaded_0:100g @ cb=gapi.loaded_0:56c @ cb=gapi.loaded_0:47 dmp.drive.js:105 Error while fetching the file's metadata: File not found: 0BwJXpSIJJBiyQkZGa0RLcTFmUkk cb=gapi.loaded_0:99 GET https://content.googleapis.com/drive/v2/files/0BwJXpSIJJBiyQkZGa0RLcTFmUkk 404 (OK)zu @ cb=gapi.loaded_0:99n @ cb=gapi.loaded_0:99Cu @ cb=gapi.loaded_0:99(anonymous function) @ cb=gapi.loaded_0:100g @ cb=gapi.loaded_0:56c @ cb=gapi.loaded_0:47 dmp.drive.js:105 Error while fetching the file's metadata: File not found: 0BwJXpSIJJBiyQkZGa0RLcTFmUkk cb=gapi.loaded_0:99 GET https://content.googleapis.com/drive/v2/files/0BwJXpSIJJBiyQkZGa0RLcTFmUkk 404 (OK)zu @ cb=gapi.loaded_0:99n @ cb=gapi.loaded_0:99Cu @ cb=gapi.loaded_0:99(anonymous function) @ cb=gapi.loaded_0:100g @ cb=gapi.loaded_0:56c @ cb=gapi.loaded_0:47 dmp.drive.js:105 Error while fetching the file's metadata: File not found: 0BwJXpSIJJBiyQkZGa0RLcTFmUkk dmp.player.js:125 Next song index is: 670 dmp.player.js:143 Now playing song: [object Object] cb=gapi.loaded_0:99 GET https://content.googleapis.com/drive/v2/files/0BwJXpSIJJBiyQkZGa0RLcTFmUkk 404 (OK)zu @ cb=gapi.loaded_0:99n @ cb=gapi.loaded_0:99Cu @ cb=gapi.loaded_0:99(anonymous function) @ cb=gapi.loaded_0:100g @ cb=gapi.loaded_0:56c @ cb=gapi.loaded_0:47 dmp.drive.js:105 Error while fetching the file's metadata: File not found: 0BwJXpSIJJBiyQkZGa0RLcTFmUkk dmp.player.js:125 Next song index is: 671 dmp.player.js:143 Now playing song: [object Object] dmp.drive.js:123 Got the File's URL: https://doc-10-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…63125/03280214578542663125/0BwJXpSIJJBiyN1lfOWdZdExZYUk?e=download&gd=true dmp.drive.js:126 File's URL w/ auth: https://doc-10-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…29.vwGdxEUKCOa0lyHJjIZy-hb8f6V2Czocsk4Uwrp5406BqAqNCI9rLcpYhigVWa95s7n74hM dmp.drive.js:123 Got the File's URL: https://doc-14-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…63125/03280214578542663125/0BwJXpSIJJBiyUG9jLUVrTUJLbUU?e=download&gd=true dmp.drive.js:126 File's URL w/ auth: https://doc-14-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…29.vwGdxEUKCOa0lyHJjIZy-hb8f6V2Czocsk4Uwrp5406BqAqNCI9rLcpYhigVWa95s7n74hM
For me, that first url/request (https://content.googleapis.com/drive/v2/files/0BwJXpSIJJBiyQkZGa0RLcTFmUkk) returns the following even now that the song is permanently fixed (perhaps it is the wrong request, or missing a key/credentials?):
{ "error": { "errors": [ { "domain": "usageLimits", "reason": "dailyLimitExceededUnreg", "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.", "extendedHelp": "https://code.google.com/apis/console" } ], "code": 403, "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup." } }
Console log when I then try to import the single song (could not figure out how to expand the entire line and remove the ellipses, but you should be able to replicate this):
dmp.drive.js:123 Got the File's URL: https://doc-0g-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…63125/03280214578542663125/0BwJXpSIJJBiyQkZGa0RLcTFmUkk?e=download&gd=true dmp.drive.js:126 File's URL w/ auth: https://doc-0g-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…29.vwFWUnQXwISrmltdvlgjfSR2Ht8n1mS8WTcMr46B8MkfBOsTRklyZ0KykiDVLzrLCBfc4dQ dmp.drive.js:123 Got the File's URL: https://doc-0g-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…63125/03280214578542663125/0BwJXpSIJJBiyQkZGa0RLcTFmUkk?e=download&gd=true dmp.drive.js:126 File's URL w/ auth: https://doc-0g-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…29.vwFWUnQXwISrmltdvlgjfSR2Ht8n1mS8WTcMr46B8MkfBOsTRklyZ0KykiDVLzrLCBfc4dQ dmp.ui.js:298 Trying to look at ID3 tags for: You Make Me Feel....mp3 id3.js:45 Found ID tag type. Using reader: ID3 v2
Playing that song from the playlist, which now works:
Got the File's URL: https://doc-0g-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…63125/03280214578542663125/0BwJXpSIJJBiyQkZGa0RLcTFmUkk?e=download&gd=true dmp.drive.js:126 File's URL w/ auth: https://doc-0g-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…29.vwFWUnQXwISrmltdvlgjfSR2Ht8n1mS8WTcMr46B8MkfBOsTRklyZ0KykiDVLzrLCBfc4dQ dmp.drive.js:123 Got the File's URL: https://doc-0g-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…63125/03280214578542663125/0BwJXpSIJJBiyQkZGa0RLcTFmUkk?e=download&gd=true dmp.drive.js:126 File's URL w/ auth: https://doc-0g-ac-docs.googleusercontent.com/docs/securesc/odsuq6818a7mlmet…29.vwFWUnQXwISrmltdvlgjfSR2Ht8n1mS8WTcMr46B8MkfBOsTRklyZ0KykiDVLzrLCBfc4dQ
Those links download the song for me since they have the appropriate credentials. It appears that the initial request is not authenticated, but if it's a Google Drive API issue with allotting only so many keys per second, why would it work for 100 songs and not 700 slowed down by a factor of 10 or more?
A few months later, I have found that just importing about 100 songs at a time into any playlist seems to fix/hack the issue permanently.
@justinbass you seem to be the only person here with the knowledge to address issues. i apologize for hijacking your post, but PLEASE, tell me how to delete playlists. i have made a series of new post regarding the issue that are not receiving any responses.
Still no work from the app developer(s) on this problem.