PhatHack
May 30, 2012, 11:12:46 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Registration only by approval.  You probably want to send one of the admins an email asking them to approve you if you just created an account.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: A web interface to browse the DMS music collection  (Read 1314 times)
0 Members and 2 Guests are viewing this topic.
amb
A few posts under my belt.
*
Offline Offline

Posts: 44



« on: January 06, 2006, 11:43:27 am »

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!  Cheesy
« Last Edit: January 06, 2006, 11:43:57 am by amb » Logged
twitti
Newbie

Offline Offline

Posts: 3



« Reply #1 on: January 11, 2006, 09:10:06 pm »

Quote
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!  Cheesy
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.
Logged
Terry_Kennedy
Moderator
Veteran.
*****
Offline Offline

Posts: 247


There and back again


WWW
« Reply #2 on: January 11, 2006, 11:03:23 pm »

Quote
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
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).
Logged
amb
A few posts under my belt.
*
Offline Offline

Posts: 44



« Reply #3 on: January 14, 2006, 03:17:40 am »

Quote
What a great script ! Is it possible to get the script ?

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

Quote
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.
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.
Logged
amb
A few posts under my belt.
*
Offline Offline

Posts: 44



« Reply #4 on: January 18, 2006, 10:02:23 am »

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.
Logged
amb
A few posts under my belt.
*
Offline Offline

Posts: 44



« Reply #5 on: January 21, 2006, 04:52:56 am »

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/
« Last Edit: January 21, 2006, 04:53:50 am by amb » Logged
amb
A few posts under my belt.
*
Offline Offline

Posts: 44



« Reply #6 on: January 27, 2006, 09:51:45 am »

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.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.024 seconds with 16 queries.