Tip o’ the Week #284 – Music on OneDrive
Did you know you can now put music on your OneDrive, and stream it to the Xbox music app on your phone, your PC, the web or even your Xbox Console?
You don’t need an Xbox Music Pass to do it, either – though in time, you may find that having both XMP and music on OneDrive is a good thing, especially if music-playing hardware that supports them both is available.
Uploading loads of uploads
The trick is to basically copy or even move all your music to your OneDrive storage – you may need to get some more of that. It can be a bit challenging doing the actual upload, though – what if you’ve got 500Gb of music ripped from your CD collection at home? Try uploading that little lot over your domestic ADSL and you might well break the internet as far as your family is concerned.
Upload speeds on a lot of broadband connections are pretty poor, you see. The A in ADSL stands for Asynchronous, meaning it’s very much not 50:50 up and down. Doing online backup and/or bulk upload of loads of files could take a looooong time, and whilst you’re maxing out the upload bit of the link, the download bit will be getting very constrained too – so you could see your overall network performance drop dramatically. Take a look using the Network Speed Test app (for Windows, for Windows Phone) to see the latency (otherwise known as network delay or sometimes PING time - anything into 3 figures is basically bad news) , upload and download rates that are available – during heavy usage periods, it’ll seem like your network is performing poorly.
Managing music & OneDrive together
One trick to making sure your music is synced properly, is to put music folder into your OneDrive cache. If you have the OneDrive app installed on your PC, you’ll have a location that is set to sync the OneDrive storage from the cloud onto your machine. If you move your Music folder to be a subdirectory of your OneDrive location, then your PC will sync all that music up into OneDrive for you, and yet it will still show up as local choonz library for playback on your PC, if you tell it so (find Music library in Windows explorer, right-click and you can Move from there) .
The downside? It might take weeks to actually copy your music to the cloud and you may not want to nail your broadband to the ground in the meantime. A solution is at hand, however -
take your PC into the office and use the network there set up a schedule so your home machine starts OneDrive at times when nobody is using the network, and can kill it off when you might want to.
Depending on your version of Windows, the specifics may vary a little, but they generally start by looking for the Task Scheduler in control panel – something that’s existed since the very earliest days of Windows NT, though used to be a command-line only thing. Now with Task Scheduler, you can create jobs that do something on your machine according to a load of conditions – running at user logon, or at a time but only if someone’s logged in, if it’s been idle for a while etc.
It’s a snap to create a task that will start up OneDrive on a timed basis – just create a new task, tell it when you want it to fire (midnight, when everyone’s gone to bed, and 9am, when everyone’s left the house could be good times?) and set the action to run.
Now, rather than running the OneDrive app directly, you might want to create a little command file that can do some other goodies too – try running (WindowsKey+R) notepad %userprofile%\start.cmd to create a new start command, and paste the following into it (and save it when you’ve done that):
echo Started OneDrive %date% %time% >> %userprofile%\onedrive.log
… and, while you’re at it, create a similar stop.cmd file with:
echo Stopping OneDrive %date% %time% >> %userprofile%\onedrive.log
taskkill /IM onedrive.exe 2>> %userprofile%\onedrive.log
Now, schedule the start.cmd to run at the times you like, and stop.cmd to do the same – eg if start is midnight and 9am, maybe stop should be 7am and 6pm. Both will write a line to a log file to say what date/time they ran.
Assuming it’s running at the time, you should be able to see the OneDrive icon in the Windows taskbar, and if it’s busy uploading you’ll see just how it’s getting on by clicking on the icon.
If you find your network is taking a hammering and you need all the bandwidth you can get for a Skype call, right-click on the icon, choose Exit and then click on the Close OneDrive button. This will stop all syncing of OneDrive content until either you manually start the program again, or until the next scheduled time kicks in.