Open surya-sk opened 1 year ago
That's interresting.
Do I get it correctly, It dose never Syced?
Sync may take some time, and it will show "Download 1 Song" in a small font on top.
Is your folder the special music folder? You can test it
https://developer.microsoft.com/de-DE/graph/graph-explorer
with the request https://graph.microsoft.com/v1.0/me/drive/special/music
You need to be looged in otherwise you get dummy data.
It should look something like this:
That's the first thing I could imagen which it does not find.
Yes, it never syncs. It says Downloading 1 song and crashes after.
I've run that in Graph Explorer and it looks like it is a special folder.
if you click on the webUrl link it should bring you to onedrive, is it the folder you expect?
I created a new OneDrive Acconut and it did not have a music folder, creating a folder calld Musik
did not help
Nope. I didn't have a Music folder by default either iirc. Is there a way to make it one?
It seems like it, if you use the graphExplorer.
call https://graph.microsoft.com/v1.0/me/drive/special/music/children
that should return an error, something like not enough rights.
You can give graphExplorer more rights, by clicing on your avatar on the top right there should be an link displayed under your mail adress, My UI is german, so I don't know what it is called in your ui, but when you click it there should be a list.
select ReadWrite under Files
After confirmng the request from above shuld create the folder.
If not, try to create a folder in Music by changing from GET to POST and add
{
"name": "New Folder",
"folder": {}
}
If that works I need to think how to implement this in the App. I actually liked that I only need read access, so a user can be sure I don't accendently delete all there music…
I had to create the new folder, but the app works now. Thanks for the help! Read access only would have been ideal, yeah. Looks like OneDrive used to come with a Music folder but they removed it later on. Maybe you could have the user choose the folder?
I guss it had one in the past or XBox-/Groove-Music created it.
But yes selectiong a differerent folder would be an option. It will take some time untill I got this I fear…
Thank you for finding this Bug :)
No worries. I'll see if I can put in a pull request when I have the time. I've been meaning to implement a live tile anyway.
Hi, the app shows me the same error on PC and mobile, whenever I hit sync.
The 'Synchronize Now' button on the Albums section doesn't work at all. The Playlist one shows the error and crashes.