Truth, Computing and Fail

  • Home
  • About

Why is Def Leppard labelled as NWOBHM?

anomit | March 11, 2008

Even I used to wonder. I have listened to almost all their scores since their first commercial hit, Pyromania. Among them, Stage Fright would remind you very much of Iron Maiden tracks. So maybe before 1983 they used to churn out tracks in the NWOBHM genre. Though I’m glad they turned to glam metal :P

Comments
No Comments »
Categories
Entertainment
Comments rss Comments rss
Trackback Trackback

Getting mpd to work

anomit | March 10, 2008

Harsh suggested me to switch to mpd after a series of unsatisfactory experiences with numerous media players on Ubuntu, which I would like to elaborate on in a later post. To keep it short, I was looking for a media player that would allow me to scrobble my tracks as well as would be supported by a pidgin plugin that would display the current track I was playing in my status message. I tried these:

    Beep media player
    BMPx
    xmms

Rhythmbox doesn’t even deserve a mention here. Now what bugged me was that I wasn’t able to enjoy both the above mentioned features on a single player. Like Beep media player had a nice beep-media-player-scrobbler plugin that would allow me to scrobble my tracks but among the different current track plugins for pidgin available, I wasn’t able to find one that would support beep media player.

mpd or music player daemon is a software that runs as a daemon on your system and allows you to use a client such as mpc, ncmpc or sonata (more about these later) which would connect to the daemon and let you play music.
Install mpd using your package manager (apt for Debian or Ubuntu users, yum for fedora and so on). Now comes the part of configuring it. If you would run mpd as root, it would read the configuration files from /etc/mpd.conf or otherwise from ~/.mpdconf . You won’t need to make any big changes in the conf file other than the location of music directory. Open up the conf file in an editor and see the line that reads music_directory. Just change the directory to your audio collection. As you would notice, the conf file is commented and it says ‘You can put symlinks in here, if you like.‘ This is pretty useful if your collection is spread over multiple directories. You can always start it by typing mpd at the terminal and kill it using mpd –kill. Remember it would read the appropriate conf file depending on how you are starting the process i.e. as a normal user or as the root.

Note: Your home directory ~ may not contain a .mpdconf directory by default after mpd is installed. In that case create one and for an example conf file, copy the mpd.conf file from /etc/ to ~/.mpdconf

anomit@deadbox:~$ cp /etc/mpd.conf .mpdconf/

Now comes the part of installing a client that would interact with the daemon and play music for you. Install ncmpc, a ncurses based client for mpd using your package manager. Then just start it using ncmpc at the terminal. There is also a GTK+ based client called Sonata which would appeal to you if you are more of a GUI person.

If you would like your current track to be displayed in your pidgin status message, install mpdscribble using your package manager and download music tracker, the plugin for pidgin from here.

Configuring mpdscribble
To configure it, you need to compute the md5sum of your last.fm account password. Execute the following at the terminal:

$ echo -n "your-password"|md5sum>file-name.txt
Get the md5sum value from the file and add the follwing lines in the /etc/mpdscribble.conf file

username = user-name
password = md5sum

Now just type mpdscribble at the terminal whenever you want the scrobbling service to start and press Ctrl+C to end it.

Installing musictracker plugin

Extract the contents of the file and cd to the directory where it has been extracted. Run the following commands to install it:

./configure
make
make install

Just check the plugins list in pidgin and enable the musictracker plugin. Configure it according to your wishes.

Comments
No Comments »
Categories
Entertainment, GNU/Linux
Comments rss Comments rss
Trackback Trackback

Something very volatile

anomit | March 6, 2008

Came across this some 5 days back on Digg, but was too tired and busy due to exams to post it. Anyways, it had just occurred to me while writing these assembly programs that we unknowingly put a lot of sensitive information in the RAM which maybe in some cases are unavoidable too. Watch the video there too.

Comments
No Comments »
Categories
Security
Comments rss Comments rss
Trackback Trackback

What’s in

  • Symlinks in a libfs virtual file system: The Pains
  • Small rant on the FUSE API reference
  • Kernel module debugging: a simple technique
  • Vim/Cscope quickie
  • PyCon India or Code Jam?

Blogroll

  • Akshay Kothari
  • Ankur Shrivastav (OS)
  • Ankur Sinha
  • Harsh J
  • Hullap
  • LUG manipal
  • Swap

Tags

aircrack airfail airtel assembly blues build c Coding college country cryptography dean faculty file systems fuckery gnuplot hacking India kernel linux mangalore manipal mpd music NASM plugin plugins politicians pub culture python rant rock sam scheduler simulation SSFNet stupidity supernatural suppression syscall syscalls unix vim xchat xml

Archives

  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • January 2009
  • November 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • October 2007
  • September 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007

License

Creative Commons License
This work by Anomit Ghosh is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 India License.
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox