INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Track Info / Now playing  (Read 1860 times)

Kaboon

  • Regular Member
  • Recent member
  • *
  • Posts: 5
Track Info / Now playing
« on: November 20, 2002, 07:50:08 am »

Hi all! I'm looking for (additional) info on the 'Track Info' feature. I recently discovered this player and I started to play with that feature. But couldn't fine more information then this: http://www.musicex.com/mediajukebox/DevZone/Track%20Info.html.

I almost immediately say an opportunity to use that option for my own project, http://audio-tracker.com (= on-line database which saves playlist entries like artist and title, and allows dynamic image creation of current song playing).

So I started to look around where I could edit the stuff in "Playing Now" -> "Artist Info". Then I found out about this 'Track Info' feature. Now I've created this little file:

Code: [Select]
<!--
Create a new map in your 'Visualizations\Track Info' map called 'Audio-Tracker'.
Edit username and password (XXXXX) to fit your own.
Save this text to a file (index.html) in the map you just created.
File created for MediaJukebox v8.
-->

<html>
<head>
<title>Audio-Tracker</title>
<meta http-equiv="Refresh" content="1; URL=http://www.audio-tracker.com/submitdb.php?title=TRACKINFO_INSERT_TITLE&artist=TRACKINFO_INSERT_ARTIST&username=XXXXX&password=XXXXX">
</head>
<body>
</body>
</html>


I was wondering if there would be an easier way to set the username and password then by letting people edit this file. Does it support external reading from files on your local computer or something like that, or is it just plain HTML that you can use?

Is this a good way to handle this after all? I haven't got any VC++ skills and a little VB skills (read something about external support..). I was wondering if anyone has some suggestions.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42382
  • Shoes gone again!
Re: Track Info / Now playing
« Reply #1 on: November 21, 2002, 04:45:42 am »

Right now, it's just plain HTML.  You could always write a simple VB app or something to help people configure it.  I don't really have any other ideas...

Anyway, very cool plugin -- looking forward to seeing it work in MJ!
Logged
Matt Ashland, JRiver Media Center

Kaboon

  • Regular Member
  • Recent member
  • *
  • Posts: 5
Re: Track Info / Now playing
« Reply #2 on: November 25, 2002, 12:41:16 pm »

Thanks for your reply!

/me blows dust of MS VB6  ;) ;D

I'll see what I can do. I'll let you guys know when I've got something serious. :) I need to get into that VB stuff again... It's been a while and I never was that good with VB. But the SDK's looked quite nice so that would help me a lot.

I'm also thinking about creating a php script that generates a template with the username and password in it.
Logged

Kaboon

  • Regular Member
  • Recent member
  • *
  • Posts: 5
Re: Track Info / Now playing
« Reply #3 on: November 28, 2002, 10:59:55 am »

Well things look even better then I expected! I never thought that the SDK was so "easy" to understand. :D I've been playing around a bit with the SDK and VB. This is what came out so far: http://www.berkenpies.nl/misc/AudioTrackerMJ.exe

Please check it out. It doesn't do much at the moment but I need to know if it will work on systems other then my Windows 98 pc's where I tested the plugin with. I tested the plugin with Media Jukebox v8.0.388.

What it does so far:

  • Plugin is only controlled by internal playback controls for now.
  • You can set a username and password (which are saved to AudioTracker.ini file).
  • It displays artist and title.
  • It displays the full url this is going to be send off to the web.


Todo:

  • Bugfixes?
  • Make the plugin react on 'general' changes/playback control (eg. automatic song advance).
  • Actually send the url to the web.


Please let me know what you think of it so far. :D
Logged

dedidio

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 72
Re: Track Info / Now playing
« Reply #4 on: December 12, 2002, 02:06:59 pm »

dunno if you already know this or not but I thought I would let you know just incase.

to get the page to automatically visit an url use it as an image source i.e.

<img src="www.audiotracker.com\logsong.asp?id=bob&artist=singer&track=song" />
Logged
http://www.theindependentstate.co.uk - Where everyone is as bored as you.
Pages: [1]   Go Up