Displaying the liner notes of the current replay

Posted by: nbpf on 01 February 2015

Most control applications for replay systems based on MPD/UPnP client-server architectures allow us to access cover art, artist biography and a lot of more or less interesting information but not the liner notes that we have bought together with our music files.

 

To me, this limitation seems unacceptable, in particular in applications which have been designed for conscious listeners and enthusiasts. I have carefully organized my music collection and I have a lot of nice booklets. Wouldn't it be nice to select an album to play and browse its liner notes by just pressing a key on my tablet computer?

 

Today I followed a suggestion from the MPD forum and implemented a simple and, I believe, effective solution. I thought I would share it: the shell script
           
#!/bin/sh         
server="fitpc3"         
musicdir="music"           
viewer="xpdf -fullscreen"           
tmpfile="/home/nicola/tmp/booklet.pdf"         
if wget -q "http://$server/$musicdir/$(dirname "$(mpc -h $server current --format '%file%')")/booklet.pdf" -O $tmpfile;
  then $viewer $tmpfile; rm $tmpfile;           
  else echo "booklet not found"           
fi           
           
grabs the liner notes from my server, fires up a PDF viewer and displays the booklet fullscreen. The assumptions for the script to work for you are that         

It should not be too difficult to modify the script to work for other OSs and for a UPnP server. Maybe Naim could add this functionality to their iOS and Android apps via a suitable button. Then we still would not be able to search our music files according to our own classification tags. But at least we could read our album liner notes.

Posted on: 01 February 2015 by J.N.

Or; pick up one of these big things and read it.

 

 

 

 

John.

Posted on: 01 February 2015 by nbpf
Originally Posted by J.N.:

Or; pick up one of these big things and read it.

 

John.

Right, if you have one of those big things that's the best of course! But if you happen to have bought some of your music in digital form or if you do not want to stand up or take off your headphones, then being able to access a CD booklet from your control application is a nice feature, I think. And you can get it with just three lines of code (five, in fact) and, as Naim says, "at your fingerstips"! Best, nbpf