music

Xbox as a media server

I recently got a slim devices squeezebox 3 - it kicks ass, but needs somewhere to store all the tunes it plays (ok it can play internet radio, but I want to listen to my tunes as well). This leaves the option of leaving a computer on for it or leaving a computer on for it. My "normal" machine has a 450W power supply and is a bit of a piggy with electricity, but was very useful to have on: I could ssh into it from anywhere to pull down files or do some diagnostics from "the outside", and of course it ran the slimserver, so my tunes were always available.

Open last.fm radio links directly in amarok from firefox

Amarok has been able to play last.fm streams for a while now, but I was looking for a way to click on a link in firefox, and have it play straight away in amarok, no cocking about. I searched for a while to get lastfm:// links opened in amarok from firefox properly, and eventually found it in a "how to do this in opera". Heres how:

  • Open about:config
  • Right-click, NEW, String
  • Enter "network.protocol-handler.app.lastfm" as the preference name
  • Enter the path to amarok as the string value "/usr/bin/amarok" is Ubuntu's default ("which amarok" in a console will tell you for sure though)
  • Restart Firefox
  • Clicky lastfm://globaltags/psychedelic
  • Enjoy!

This can also be used to add other protocols, mailto: for instance. Use the same method, but change the last bit to suit your protocol, eg: network.protocol-handler.app.ass for ass: links (common on government sites*)

Syndicate content