IPB

Welcome Guest ( Log In | Register )

> Upload forum rules

- No over 30 sec clips of copyrighted music. Cite properly and never more than necessary for the discussion.


- No copyrighted software without permission.


- Click here for complete Hydrogenaudio Terms of Service

 
Reply to this topicStart new topic
SkyDrive to M3U, make streamable playlist from SkyDrive public folders
romor
post Jun 12 2011, 15:23
Post #1





Group: Members
Posts: 649
Joined: 16-January 09
Member No.: 65630



As addition to recent news about 'cloud' players, here is similar idea of using 'cloud' in preferred player:

script download link

Script delivers streamable links (from files/folders uploaded to Public folder on SkyDrive - up to 25 GB), which user can redirect to M3U playlist and enjoy in preferred player:

CODE
cscript /nologo skydrive2m3u.vbs "my_cid_hash" > my_skydrive_tracks.m3u




* cid hash is 16 character string which user can see in browser address-bar while logged on live.com (office tab): "http://cid-XXXXXXXXXXXXXXXX.office.live.com"

** default types are MP3, M4A and OGG, which can easily be changed by editing 'types' variable inside script


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post
Marc27
post Jun 13 2011, 18:53
Post #2





Group: Members
Posts: 40
Joined: 5-May 11
Member No.: 90377



will give it a try, thanks for sharing wink.gif
Go to the top of the page
+Quote Post
dzid_
post Oct 10 2011, 20:48
Post #3





Group: Members
Posts: 8
Joined: 14-July 10
Member No.: 82249



It would be very useful but it generates an empty playlist for me. Can anybody confirm if it works
Go to the top of the page
+Quote Post
romor
post Oct 10 2011, 23:18
Post #4





Group: Members
Posts: 649
Joined: 16-January 09
Member No.: 65630



It seems MS did some changes on their services. Links on first post are updated with corrected script.
Also be patient with script depending of amount of tracks of course wink.gif

Basically this did the fix:

line 29
- Parser(url & "/feed.aspx/.Public")
+ Parser("http://skydrive.live.com/feed.aspx/.Public?cid=" & ARGS.Item(0))

line 100
- WScript.Echo "http://" & XMLDec(match)
+ WScript.Echo Replace("http://" & XMLDec(match), "\/","/")


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post
dzid_
post Oct 11 2011, 01:58
Post #5





Group: Members
Posts: 8
Joined: 14-July 10
Member No.: 82249



Ok, now it works.
I also played a little with skydrive and managed to map it as network drive.
To map skydrive you need to enter this url:
https://some_prefix.docs.live.net/XXXXXXXXXXXXXXXX/Backup
if want two or more account the good way is to made different prefixes to be able to login with different credential.

I've tried to put some files from mapped drive into foobar but it takes a lot of time (~5min for 10 files) to load tracks to playlist and actually get them playing. I don't know why it is so slow. Romor method is faster but it doesn't support id3 tags
Go to the top of the page
+Quote Post
romor
post Oct 11 2011, 02:48
Post #6





Group: Members
Posts: 649
Joined: 16-January 09
Member No.: 65630



QUOTE
I've tried to put some files from mapped drive into foobar but it takes a lot of time (~5min for 10 files) to load tracks to playlist and actually get them playing.

Mapping SkyDrive with WebDav address is not such a good idea in your scenario. Foobar in that case downloads whole file before playing that's why it seems slow to your.

As for created playlist by above script, I think I could add EXTM3U tags with folder names, and files as title, but I don't know which player recognizes them without plugin. Perhaps Winamp only, although I'm not sure


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th April 2014 - 08:58