News:

I have updated the spam detection on registrations, and as such I am enabling new users.  If we have spam, I will change it back to by approval.

Main Menu

A web interface to browse the DMS music collection

Started by amb, January 06, 2006, 11:43:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

amb

Hi all, I wrote a CGI script that mimics a subset of the PMM user interface.  It uses the *.db files found on the PHTDTA partition as its database.  Check it out:

http://www.amb.org/cgi-bin/myphat.cgi

You can browse by genre, artist or album, and can sort the track list by album, artist, title, genre or track number.  Clicking on a track's artist, album or title will trigger a CDDB search related to the item.

Since I have close to 5000 tracks on my DMS (and growing) it represents a fairly substantial amount of data, so it will take a moment to load.  Dialup users beware!

Please be kind to my web server and have fun!  :D

twitti

QuoteHi all, I wrote a CGI script that mimics a subset of the PMM user interface.  It uses the *.db files found on the PHTDTA partition as its database.  Check it out:

http://www.amb.org/cgi-bin/myphat.cgi

You can browse by genre, artist or album, and can sort the track list by album, artist, title, genre or track number.  Clicking on a track's artist, album or title will trigger a CDDB search related to the item.

Since I have close to 5000 tracks on my DMS (and growing) it represents a fairly substantial amount of data, so it will take a moment to load.  Dialup users beware!

Please be kind to my web server and have fun!  :D
Hi Amp.
What a great script ! Is it possible to get the script ?
May be your next step for the script is to play songs and to build playlists via web and play them !....
This is what I look for.

Terry_Kennedy

QuoteHi all, I wrote a CGI script that mimics a subset of the PMM user interface.  It uses the *.db files found on the PHTDTA partition as its database.  Check it out:

http://www.amb.org/cgi-bin/myphat.cgi
Interesting. I took a somewhat different approach as I had all the music on a computer before I got a PhatBox - so I have a web interface to the raw files (at http://www.tmk.com/media/searcher.html). I generate my DMS playlists from this data. For more info on the system, look at http://www.tmk.com/media.

I'll be adding genre support and per-user selections to this (Amanda and I both populate our PhatBoxes from this server, but with somewhat different selections).

amb

QuoteWhat a great script ! Is it possible to get the script ?

Yes, PM me and I'll provide download info.

QuoteMay be your next step for the script is to play songs and to build playlists via web and play them !....
This is what I look for.
Should be do-able.  I don't want RMAA's lawyers knocking on my door, so my publically-accessible version won't play music, but maybe I will do a version for my own use that could.

amb

Hi all, with thanks to sbinger, this CGI script is now up and available for download here:

http://downloads.phathack.com/amb/

The file name is myphat-1.0.tar.gz which is a tarball format bundle of the script, support files and a README file on how to install and use it.  The same bundle is also available there in ZIP format: myphat-1.0.zip  You need a computer running a web server (such as Apache) and Perl interpreter.

I also added my phatsort script (phatsort.sh-1.0.2.tar.gz) in tarball format to the same location for downloads.  This is a shell script for Linux which re-sorts the DMS database and re-generates the index files to arrange the tracks in a more sensible manner when browsing on your radio in "album" mode.

Fron now on this will be the location for future updates of these scripts, and any other phatnoise-related software that I might whip-up.

Have fun.

amb

#5
Just uploaded a new version "myphat-1.0.1" which contains a small fix for the Safari and Konqueror browsers.

http://downloads.phathack.com/amb/

amb

Version 1.1 of myphat.cgi is now out for download:

http://downloads.phathack.com/amb/

This version fixes a problem with track list sorting, and adds a "search" text field.