I've seen people on here with what they're listening to - is that being driven from the jukebox?? I've got a TV system set up at home so that I can watch what ever is on the PC on every TV in the house... if I could broadcast across the localhost (network) then I can pick that up on the TV PC and show the album art on TV's around the house... oooh the posibilities!!
Freebox generates a small JPG and people are using a bat file to FTP that to the web... There is a guide how to do this and also upload you jukebox stats somewhere. I forget now it's been a while since i worked on that.... Freebox really does need more documentation :downer
http://www.freeboxjukebox.com/Forum/index.php?topic=210.0
That link should tell you what you need.
where is the JPG generated? I couldnt really find anything in that thread to say where information is posted on what's currently playing.
The data I'd need would be
Currently playing: Artist, album, track, path-to-cd-cover.jpg
and maybe...
Coming up next (from the queue...) - same details as above.
Is that possible? I can code the front end, just those details in a text file or xml or something I can read with PHP!! Just put somewhere in the program folder. Then I can read in using the jukebox's IP.
Look in the XML dev thred, what you want might be in there.
it seems there are people discussing what I need, but nowhere does it seem to say where the files are! I guess it was some time ago now!!
I've seen that in user_history I could get the last track in that file for the "now playing" and for coming up next, I can check the queue.upl file.
It'd just be much easier if somehow the software, when it changed to the next track wrote a file called "now_playing" with the data. I could then just read that! :)
My front end script could be a simple web page that refreshes every 2 seconds maybe, that would probably be updated enough! Or maybe another program which sits as an "add-on" - you enter the path of the file "now_playing" and it will display the information.
I need to check but i think it puts it in the freebox folder. I then made it call a bat file evertime a song was added to update this info. the requried web file supplied by screaming are around somewhere, i need to look on my own pc at home.
ok cool - thanks!! I dont need to FTP or anything - just have a file is all :) !
Yeah I began to write a howtp once, but lost the files. Mine in my Sig are a left over from long time ago.
so the file in your sig must be a remote PHP script generating an image based on a file generated from freebox?
Hope someone has something, somewhere I can have a look at! Very keen to get it working!! :)
Quote from: mfacer on June 12, 2008, 08:12:01 AM
so the file in your sig must be a remote PHP script generating an image based on a file generated from freebox?
Hope someone has something, somewhere I can have a look at! Very keen to get it working!! :)
No the image in his sig is generated by freebox and dumped into the freebox directory. Freebox then called a BAT file to upload it to a website...
Yeah its pretty simple. I wonder if coffee still has the files since I noticed he uses it too. I'll drop him a PM. ;)
Any luck on this, anyone?
Im still trying to track down the files. I need to fix mine as well. ;)
any updates on this?
just a recap: I'd LOVE freebox to simply write a file with (maybe) some XML data (or simlar) with what is playing... and what's up next in the queue....
It could be any format actually, so long as it's the same each time. I can then write a pretty flash front end to read in the file and display cover art. I want to then display this on the TVs around my house.
so does anyone have anything like this?? I'll obviously share my end result once done!! (should anyone be interested!)
Creat a bat file called test.bat
test.bat
ftp -n -s:test.scp ftp.freeboxjukebox.com
test.scp
User
username
password
cd /public_html/freejukebox/files/
put User_history.dat
put Random_history.dat
cd /public_html/
binary
put forum.jpg
quit
Replace the username and password in test.scp with your username and password for your ftp site. That iwll copy the jpg to your site and also the 2 datafiles.
The attachment contains the files to do the web stuff for you. Hopefully with this you can work it all out.
Coolness, I've been looking for those files.
Wow, works really well, got it working right away... Barry, can you make teh forum.jpg/bmp file skinnable? Would be cool to have teh BnB Now Playing screen show up via the web, and also I see on the page it says "Not Done Yet" I take it that those pages weren't completed. Hopefully mfacer has some good php skills to make this a great option. Wonder if there would ever be a way to have a web frontend for terminal boxes (just a dream...) to control the jukebox.
On the web page terminal idea, I found this program CompControl http://www.softpedia.com/get/Internet/Remote-Utils/CompControl.shtml (http://www.softpedia.com/get/Internet/Remote-Utils/CompControl.shtml) which is a little service that runs on your PC that listens on whatever port you want it to, and allows you to send commands to it via a webpage written in HTML. If there was someone on here that could write a web frontend to send commands to the jukebox that might be an idea. Just a thought....
Those PHP pages were going to allow some basic control over your juke by creating a file that the juke downloads when it does it's upload. I wanted to offer the freebox jukebox options screens via the web allowing you to create an ini file via the web page that freebox then pulled down and loaded.
Coffee needs some more work doing on those PHP pages for licing requirements in SA so i could really do with some help on those because screaming seems to be a little AWOL right now.
As for skining that box it should be pretty easy. I'll put support in for it.