Using PHP/Database for home entertainment system
Moderator: General Moderators
-
Mobius Man
- Forum Newbie
- Posts: 8
- Joined: Mon Dec 15, 2003 8:16 pm
Using PHP/Database for home entertainment system
Is it possible to rig PHP, and say MYSQL, on an entertainment system, and use a database to organzie music and video listings. I think it could work a lot better than folers upon folders. Is something like this even possible.
-
Mobius Man
- Forum Newbie
- Posts: 8
- Joined: Mon Dec 15, 2003 8:16 pm
I've done it with windows. I have a firewire disk with a bunch of divxs and vcds on. I downloaded the IMDB database and using AMDBFront converted it to a local MySQL db. I wrote a script that could scan through my library of films and determine (using fuzzy searching) the real, accurate titles (and years) for each film. The script then went through renaming the directories, clearing up poorly-named films, and cleaning house. I made a web interface that included a script to find the covers for the movies from the internet. When it was all done, I could use the wireless mouse/keyboard combo to cue up films. I wrote the code to play AVIs/MPEGs, and mount VCDs as virtual drives and cue them up for playing in my favourite player (zoom player). It supported networked locations of movies, so it can be used over a LAN to stream movies to a whole house. The interface even had reviews, ratings, run-times and certificates.
Check out the IMDB database for download, and AMDBFront. It lets you have the whole IMDB (or as much as u want) on your computer.
I do something similar for my MP3s, but off my iPod. It has a web interface so I can stream it across our home network, or from the office (via a SSH tunnel to my work PC). You can browse the artists/albums/songs, and cue them up. Click "play" and it opens an m3u file in winamp (or whatever plays m3us on the computer), and streams the songs. Using the iTunesDB file on the ipod, the code knows exactly what song is being played. The code can even dump out the entire music collection (or bits thereof) to the hard disk from the ipod, tagged with the information from the itunes database file.
ANYTHING is possible using PHP.
Check out the IMDB database for download, and AMDBFront. It lets you have the whole IMDB (or as much as u want) on your computer.
I do something similar for my MP3s, but off my iPod. It has a web interface so I can stream it across our home network, or from the office (via a SSH tunnel to my work PC). You can browse the artists/albums/songs, and cue them up. Click "play" and it opens an m3u file in winamp (or whatever plays m3us on the computer), and streams the songs. Using the iTunesDB file on the ipod, the code knows exactly what song is being played. The code can even dump out the entire music collection (or bits thereof) to the hard disk from the ipod, tagged with the information from the itunes database file.
ANYTHING is possible using PHP.