Forest BB

The digital grapevine of The Forest.
It is currently Thu Apr 24, 2014 8:55 pm

All times are UTC




Post new topic Reply to topic  [ 25 posts ] 
Author Message
PostPosted: Tue Jul 20, 2010 10:19 pm 
Offline
User avatar

Joined: Fri Jun 25, 2010 12:01 am
Posts: 22
Location: argh
What?!

A shiny web interface to make accessing the jukebox nice and easy, available on the box or from the comfort of your own lapbox. Click things on your screen and watch in amazement as they happen on another screen! Shock your neighbours! Horrify your colleagues. Make this face: :shock:

Current plan as it stands is a jquery/ajax frontend (shiny) and php middleware which sends stuff back and forth from itunes via applescript. Stuck with itunes just because it is on there and working at the moment, but the frontend will stick on to anything with a decent interface.

Features so far:
  • play/pause, stop, back/forward
  • mute
  • currently playing track name
  • silky-smooth volume slider

Planned features/ideas:
  • a browser/playlist
  • a function that queues up random tracks if the playlist ends up empty, to prevent music suddenly ending just as you are delivering that extremely offensive risqué punchline causing one (1) tumbleweed to appear
  • if id3 tag info is available we could have album art, maybe a website link so people can learn more about the playing artist
  • interaction w/main site e.g. "Now playing in The Forest" thing

I think this diagram explains it better than anything: viewtopic.php?p=41840#p41840

fin


Top
 Profile  
 
PostPosted: Wed Jul 21, 2010 8:34 am 
Offline
User avatar

Joined: Mon Jan 22, 2007 5:50 pm
Posts: 944
This be very good! Are you on it? Do you need admin access to the iMac, or do you have that already?


Top
 Profile  
 
PostPosted: Wed Jul 21, 2010 9:53 am 
Offline
User avatar

Joined: Fri Jun 25, 2010 12:01 am
Posts: 22
Location: argh
Mike (the instigator!) is doing the dirty work on the Mac side of things and has got it all setup nicely, he is going to setup ftp access so that updating things will be straightforward. I just turn up and complain about my half-baked php not working really.


Top
 Profile  
 
PostPosted: Wed Jul 21, 2010 2:58 pm 
Offline
User avatar

Joined: Wed Apr 18, 2007 12:02 pm
Posts: 1798
Location: Edinburgh, UK
wooyay tech is wooyay. awesome and nice one, go mike and iain. now if we could get that shuttle working and under the sound desk, we could have it output something for the projector!

_________________
hey, if you don't like it, post on the BB (so you can ask about participating for better) | MilkMiruku


Top
 Profile  
 
PostPosted: Wed Jul 21, 2010 8:32 pm 
Offline
User avatar

Joined: Wed Jun 02, 2010 8:56 pm
Posts: 81
iTunes has a feature that allows people with iPhones and iPod touches to look at the list of tracks and request songs remotely, if the computer has wifi capabilities. I think this would be a nice feature, but it also has the potential to start fights probably.

_________________
https://plus.google.com/109863394112152727620/posts


Top
 Profile  
 
PostPosted: Wed Jul 21, 2010 9:16 pm 
Offline
User avatar

Joined: Wed Jun 02, 2010 8:56 pm
Posts: 81
...oops, unless this is what you meant in the first place....?

Might there be a way round the copyright bollocks if there was a feature to wi-fi tracks from your own iPod onto the jukebox and play them?

Probably not, eh... but I think the idea itself has a lot of potential for creating more madness and mayhem.

_________________
https://plus.google.com/109863394112152727620/posts


Top
 Profile  
 
PostPosted: Thu Jul 22, 2010 8:34 am 
Offline
User avatar

Joined: Fri Jun 25, 2010 12:01 am
Posts: 22
Location: argh
Well I think the aim is to have this interface available rather than iTunes directly, so that everyone can access it and do some requesting. So basically stealing that idea from the ipods and phones and making it available to all browsers, with a bit more functionality.

Streaming from people's devices would still construe public performance while the cafe was open afaik, so that would probably not be enabled as it would be difficult to enforce the music licensing rules. It would also have the risk of some scallywag queueing up katy perry and causing the painful fiery demise of this whole Earth.


Top
 Profile  
 
PostPosted: Thu Jul 22, 2010 12:18 pm 
Offline

Joined: Thu Mar 11, 2010 12:56 pm
Posts: 13
There's a shiny system here (http://www.playerpal.com/) for playing itunes songs remotely and this looks like exactly the kind of thing we need. There's a trial version available for free too.


Top
 Profile  
 
PostPosted: Thu Jul 22, 2010 12:34 pm 
Offline
User avatar

Joined: Sun Nov 23, 2008 10:16 am
Posts: 1111
Location: Edinburgh!
Huw wrote:
There's a shiny system here (http://www.playerpal.com/) for playing itunes songs remotely and this looks like exactly the kind of thing we need. There's a trial version available for free too.


It only works on Windows, we use a Mac.

Also:
Quote:
The trial version is fully functional but it does not display all of your music. The music that is not displayed will appear but the details will display "z Pls Register z". The exact limitation is as follows:

* 50% of albums are displayed as "z Pls Register z"
* 10% of track titles are displayed as "z Pls Register z"


And we don't just want a remote, but a nice system that allows queuing and prevents one person from queuing up hours and hours of music.

_________________
Mike

Dawnsio 'mlaen i'r gwres prynhawn a rwy'n addo erbyn yfori byddai wedi mynd, hwyl fawr i pawb, hwyl fawr i pawb...


Top
 Profile  
 
PostPosted: Thu Jul 22, 2010 1:37 pm 
Offline
User avatar

Joined: Wed Mar 29, 2006 11:24 am
Posts: 2572
Can you get Festival working on the jukebox Mac? Then it could introduce tracks and read out messages. I had that when I ran an Icecast radio server - Radio Sisyphus - where the rock doesn't stop.


Top
 Profile  
 
PostPosted: Fri Jul 23, 2010 9:06 am 
Offline
User avatar

Joined: Fri Jun 25, 2010 12:01 am
Posts: 22
Location: argh
Hmm quite possibly, it says it will build on any unix system. A disembodied robotic voice intoning someone's name over and over could be a way of making them happy and motivated.

Also I fear that the rock has indeed stopped now. :cry:


Top
 Profile  
 
PostPosted: Fri Jul 23, 2010 4:06 pm 
Offline
User avatar

Joined: Wed Jun 02, 2010 8:56 pm
Posts: 81
iain wrote:
It would also have the risk of some scallywag queueing up katy perry and causing the painful fiery demise of this whole Earth.


...or some drunken arsehole putting on early Madonna songs.

_________________
https://plus.google.com/109863394112152727620/posts


Top
 Profile  
 
PostPosted: Sat Sep 11, 2010 12:12 pm 
Offline
User avatar

Joined: Fri Jun 25, 2010 12:01 am
Posts: 22
Location: argh
Sorry for the delay folks, had a few deadlines. Anyway this thing is almost done, I just need to test some applescript and tidy up the dog's breakfast design. Also it now publishes the currently playing track to an xml feed in case that is ever useful.

On a different note has anyone thought about setting up the jukebox with a last.fm account? Keep stats of what the café listens to, add a little extra promotion for the artists played on there. Pointful or pointless.


Top
 Profile  
 
PostPosted: Sat Sep 11, 2010 12:34 pm 
Offline
User avatar

Joined: Sun Nov 23, 2008 10:16 am
Posts: 1111
Location: Edinburgh!
http://www.last.fm/user/theforestcafe ;)

_________________
Mike

Dawnsio 'mlaen i'r gwres prynhawn a rwy'n addo erbyn yfori byddai wedi mynd, hwyl fawr i pawb, hwyl fawr i pawb...


Top
 Profile  
 
PostPosted: Sun Sep 12, 2010 2:47 am 
Offline
User avatar

Joined: Wed Apr 18, 2007 12:02 pm
Posts: 1798
Location: Edinburgh, UK
damn, passed 31337 plays. and 4 days ago? are there enough files without tags to go that long without a submission?

_________________
hey, if you don't like it, post on the BB (so you can ask about participating for better) | MilkMiruku


Top
 Profile  
 
PostPosted: Sun Sep 12, 2010 10:24 am 
Offline
User avatar

Joined: Sun Nov 23, 2008 10:16 am
Posts: 1111
Location: Edinburgh!
milk wrote:
damn, passed 31337 plays. and 4 days ago? are there enough files without tags to go that long without a submission?


I doubt it. I suspect the network cable has been knocked out, it's very easy to do on that machine.

_________________
Mike

Dawnsio 'mlaen i'r gwres prynhawn a rwy'n addo erbyn yfori byddai wedi mynd, hwyl fawr i pawb, hwyl fawr i pawb...


Top
 Profile  
 
PostPosted: Sun Sep 12, 2010 12:25 pm 
Offline
User avatar

Joined: Fri Jun 25, 2010 12:01 am
Posts: 22
Location: argh
At least it caches the scrobbles. Precious scrobbles.


Top
 Profile  
 
PostPosted: Sun Sep 19, 2010 3:44 pm 
Offline
User avatar

Joined: Mon Jan 22, 2007 5:50 pm
Posts: 944
After much faffing about, I managed to stick a new plug on the end of that network cable. So the scrobbles should be scrobbled. And the interface should interface. You getting on alright with applescript, Iain?


Top
 Profile  
 
PostPosted: Thu Sep 23, 2010 4:02 pm 
Offline
User avatar

Joined: Fri Jun 25, 2010 12:01 am
Posts: 22
Location: argh
Had a minor setback involving itunes not wanting to enqueue a track if you give it the name, but if you give it some weird track identifier it possibly works. Going to test that tomorrow and then hopefully it will be sorted.


Top
 Profile  
 
PostPosted: Mon Oct 04, 2010 9:14 am 
Offline
User avatar

Joined: Fri Jun 25, 2010 12:01 am
Posts: 22
Location: argh
Ok this is basically done. Three things though:

  • What's the username on the jukebox? I need to hardcode in the itunes library path because my way of changing this via dialog box doesn't work. :cry:
  • Is PHP 5 installed on the jukebox? If not it isn't a big problem, not too hard to install usually.
  • Are we able to set it up with a static network address so that it can be accessed via http://blahblah/jukebox rather than an IP address?


Top
 Profile  
 
PostPosted: Mon Oct 04, 2010 9:29 am 
Offline
User avatar

Joined: Mon Jan 22, 2007 5:50 pm
Posts: 944
Hi Iain,

I'll pm the access details you need.

No php installed atm.

I'll pm static address as well.

Cool, nice work!


Top
 Profile  
 
PostPosted: Mon Oct 04, 2010 9:47 am 
Offline
User avatar

Joined: Sun Nov 23, 2008 10:16 am
Posts: 1111
Location: Edinburgh!
I thought there was PHP on the jukebox machine.

_________________
Mike

Dawnsio 'mlaen i'r gwres prynhawn a rwy'n addo erbyn yfori byddai wedi mynd, hwyl fawr i pawb, hwyl fawr i pawb...


Top
 Profile  
 
PostPosted: Mon Oct 04, 2010 10:37 am 
Offline
User avatar

Joined: Mon Jan 22, 2007 5:50 pm
Posts: 944
Apache comes as standard with OS X, php doesn't. I haven't installed it, so I'm pretty sure it's not there.


Top
 Profile  
 
PostPosted: Mon Oct 04, 2010 10:46 am 
Offline
User avatar

Joined: Sun Nov 23, 2008 10:16 am
Posts: 1111
Location: Edinburgh!
I think I installed it when I was setting up the jukebox for Iain to use.

_________________
Mike

Dawnsio 'mlaen i'r gwres prynhawn a rwy'n addo erbyn yfori byddai wedi mynd, hwyl fawr i pawb, hwyl fawr i pawb...


Top
 Profile  
 
PostPosted: Mon Oct 04, 2010 11:59 am 
Offline
User avatar

Joined: Fri Jun 25, 2010 12:01 am
Posts: 22
Location: argh
That's cool, it wasn't that long ago so it'll definitely be a suitable version.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group