CurrentlyHearing 2.0
posted on december 21, 2002, tag: plugin
The new version of CurrentlyHearing, 2.0, is released. This update includes the ability to display a history, the next track and the track number. Please head over to the CH Plugin page and download either the upgrade or full package.
Please note there are also all new example files for PHP, ASP and Perl. You must download these separately. The new example files are written to support the new features of this release.
I would like to hear your feedback! Please post a comment to this entry or post in the CH forum or email me. Have fun!
Comments
There are 11 comments, comments are closed
michael on 12/22/2002:
cool, i'll have to install it soon.
gautch on 12/22/2002:
makes me wish i had my own internet.. hmm This is an interesting idea. I used an app like it and viewers could click a link to hear what i was listening to.. but it sucked too much bandwidth... bleh.. i like this though.
-Gautch
michael on 12/23/2002:
a friend of mine wanted to know if you were using ms C++ and the getline function for the php calling, if so... here is a fix that you have to do, because there is a bug in the C++ coding, believe it or not.
Microsoft Visual C++ 6.0 getline( ) Error
Users of the string getline method in MSVC++ 6.0 are aware that it has some errors.
To correct this problem the header file which defines the string class needs to be updated. Right click on a statement in your program file which says #include, and select "Open Document".
Replace line 165 in the which reads ( ):
_I.rdbuf()->snextc();
with the following:
_I.rdbuf()->sbumpc(); //getline correction
This must be done on each computer or server running Microsoft Visual C++ v6.0
Garrett on 12/24/2002:
Actually, I'm using Delphi 6 to write CH. I haven't been able to get the GET functionality to work because the included HTTP components are terrible and each set I download from other places tends to have random little bugs that won't allow me to do what I want seamlessly.
In the coming days (when I get back from xmas at my mother's) I think I might be able to get it to work thanks to some info from some Delphi sites I was reading today. Keep your fingers crossed.
Hugo on 12/24/2002:
I gave Michael that info, just keep in mind it has to be on every computer that it is COMPILED on. Once you get to a.out or whatever .exe, that fix is not needed. I'm sure you knew that if you're creating programs like this though. Lates.
Hugo
Hugo on 12/24/2002:
yeah, I would end up going with perl just cuz of how well it works in conjunction with the internet.
Garrett on 12/24/2002:
I'm not sure exactly what you mean. If you're speaking of the GET functionality, I think they're a bit of confusion.
The GET method will work so that each time the song changes, instead of uploading a text file like it does currently, it will ping an address you specify. That address can be used, in the most obvious way, to add your song info to a database. Perl can do this, but I think PHP or ASP would actually be better suited.
Hugo on 12/24/2002:
yeah, you could go with PHP and have a MySQL database set up. You could include a little section of the last 20 songs I've listened to, (just have the database auto-prune), you could have the script just add a new row to a table, you could have songs listened to within the last 20 minutes also.
I have come to the conclusion that PHP is god.
Linus on 12/25/2002:
About bloody time! ;)
michael on 12/25/2002:
there goes hugo again, trying to sound smart...