Hydrogenaudio Forums

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: msavazzi on 2019-02-13 13:27:44

Title: How to access OneDrive files via web?
Post by: msavazzi on 2019-02-13 13:27:44
Team,
I've searched but not found an answer. I would like to access all the files on OneDrive from another PC via foobar.
I cannot download the files locally so I tried to add the https:// path of the root folder of my music in foobar but it was not able to discover (and play/stream) the content.

Is there any solution for it?
any plugin?

thank you for the help,
M
Title: Re: How to access OneDrive files via web?
Post by: Rollin on 2019-02-13 15:00:15
You need to get direct link to file first - https://solvemethod.com/onedrive-direct-link
Then you should install foo_input_ffmpeg (https://www.foobar2000.org/components/view/foo_input_ffmpeg), download ffmpeg (https://ffmpeg.zeranoe.com/builds/) and set foo_input_ffmpeg to play files over https
(https://i.imgur.com/v8UFrfk.png)

Then use File->Add location... to add file to playlist
Title: Re: How to access OneDrive files via web?
Post by: msavazzi on 2019-02-13 16:00:37
You need to get direct link to file first - https://solvemethod.com/onedrive-direct-link
Then you should install foo_input_ffmpeg (https://www.foobar2000.org/components/view/foo_input_ffmpeg), download ffmpeg (https://ffmpeg.zeranoe.com/builds/) and set foo_input_ffmpeg to play files over https
(https://i.imgur.com/v8UFrfk.png)

Then use File->Add location... to add file to playlist
thank you a lot!

maybe I'm doing something wrong but I'm not able to get it working.
I always get an error:
Unable to open item for playback (ffprobe failed):
"https://onedrive.live.com/download?cid=A2A0DDB076B45588&resid=A2A0DDB076B45588!411494&authkey=APOgMYtt4xZS6"

also your method works on a single file, but if I want to play all files in a folder?
Title: Re: How to access OneDrive files via web?
Post by: Rollin on 2019-02-13 16:33:10
Your link doesn't work even in browser.
I created link myself and it works https://onedrive.live.com/download?cid=6D16B30A6767734F&resid=6D16B30A6767734F%21114&authkey=AHXJUtx1SB4aUAs

Just discovered that for some file types you even don't need foo_input_ffmpeg. For example mp3 works even without foo_input_ffmpeg. But for FLAC you will need foo_input_ffmpeg.
Title: Re: How to access OneDrive files via web?
Post by: msavazzi on 2019-02-15 19:32:40
ok, thank you. I think I missed some chars when I copied the link. Yours work.
But it does not browse the folders, correct? there is no way
Title: Re: How to access OneDrive files via web?
Post by: Rollin on 2019-02-16 23:54:10
But it does not browse the folders, correct? there is no way
Yes, it seems so.
SimplePortal 1.0.0 RC1 © 2008-2019