You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(4) |
Aug
(12) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(2) |
Feb
(13) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Kevin N. <bea...@ya...> - 2007-01-30 03:09:38
|
I got the AJAX callbacks working on the current song and the song queue. It was actually quite easy without extra libraries. As for the wait time, it turns out boost::thread has built in sleep capabilities. You just tell a current thread to sleep and give it an amount of time, and it happens. No new thread needed. Kevin --- Tim Nowaczyk <zi...@cs...> wrote: > On Thu, Jan 25, 2007 at 01:40:33PM -0800, Kevin > Nowaczyk wrote: > > Hey Tim, > > Hopefully you get this and have something to add: > > I've been working on tjukebox again. I created a > PHP > > web client which works pretty well. There's one > thing > > you might be able to help with. The console > client > > keeps the socket connection open so it constantly > > recieves updates from the server on the current > song. > > The web client, on the otherhand, get's it's > > information and closes the socket. I want to try > to > > ensure that the "current song" name is correct. I > > could do this by forcing the entire page to reload > > every 10 second, but that's annoying. I know > > Javascript does not support socket connections, > but It > > can do AJAX. > > > It might be most flexable if the communication > between the clients and > server was in the form of XML. Google for WSDL > and/or SOAP. This way you also > aren't having to do your own raw TCP/IP connections. > > > Do you know how we cound harness the AJAX > functions to > > get the current artist, album, and song from the > > tjukebox server. > > > A first step might be doing this. > > > Also, I want to implement a wait time between > playing > > random songs. > > You pretty much have it figured out. > > The Jukebox server needs a new variable let's call > waittime_thread. > When a new song is added to the playlist if the list > is empty and > waittime_thread is not null, kill waittime_thread > then add the new song. > The function of waittime_thread is then simply to > wait for x minutes > then add a random song to the playlist and then end. > It's been a long > time since I've done any mutli-threaded c++ > programming, so I can't > really be of any more help. > > Good luck. > Tim > > -- > A wink is as good as a nudge to a blind bat. --Eric > Idle > > ----------Tim > Now...@cs...-------------------- > GPG Key ID: 0x4F9A159C > GPG Fingerprint: 0B1C 3D7B 6EB3 B8B6 D408 F7CC BD48 > 8E2D 4F9A 159C > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Tjukebox-general mailing list > Tju...@li... > https://lists.sourceforge.net/lists/listinfo/tjukebox-general > ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news |
|
From: Tim N. <zi...@cs...> - 2007-01-29 21:30:53
|
On Thu, Jan 25, 2007 at 01:40:33PM -0800, Kevin Nowaczyk wrote: > Hey Tim, > Hopefully you get this and have something to add: > I've been working on tjukebox again. I created a PHP > web client which works pretty well. There's one thing > you might be able to help with. The console client > keeps the socket connection open so it constantly > recieves updates from the server on the current song. > The web client, on the otherhand, get's it's > information and closes the socket. I want to try to > ensure that the "current song" name is correct. I > could do this by forcing the entire page to reload > every 10 second, but that's annoying. I know > Javascript does not support socket connections, but It > can do AJAX. > It might be most flexable if the communication between the clients and server was in the form of XML. Google for WSDL and/or SOAP. This way you also aren't having to do your own raw TCP/IP connections. > Do you know how we cound harness the AJAX functions to > get the current artist, album, and song from the > tjukebox server. > A first step might be doing this. > Also, I want to implement a wait time between playing > random songs. You pretty much have it figured out. The Jukebox server needs a new variable let's call waittime_thread. When a new song is added to the playlist if the list is empty and waittime_thread is not null, kill waittime_thread then add the new song. The function of waittime_thread is then simply to wait for x minutes then add a random song to the playlist and then end. It's been a long time since I've done any mutli-threaded c++ programming, so I can't really be of any more help. Good luck. Tim -- A wink is as good as a nudge to a blind bat. --Eric Idle ----------Tim Now...@cs...-------------------- GPG Key ID: 0x4F9A159C GPG Fingerprint: 0B1C 3D7B 6EB3 B8B6 D408 F7CC BD48 8E2D 4F9A 159C |
|
From: Kevin N. <bea...@ya...> - 2007-01-25 21:40:42
|
Hey Tim, Hopefully you get this and have something to add: I've been working on tjukebox again. I created a PHP web client which works pretty well. There's one thing you might be able to help with. The console client keeps the socket connection open so it constantly recieves updates from the server on the current song. The web client, on the otherhand, get's it's information and closes the socket. I want to try to ensure that the "current song" name is correct. I could do this by forcing the entire page to reload every 10 second, but that's annoying. I know Javascript does not support socket connections, but It can do AJAX. Do you know how we cound harness the AJAX functions to get the current artist, album, and song from the tjukebox server. Also, I want to implement a wait time between playing random songs. Usually at bars if the jukebox is quiet for so many minutes, it'll play a rondom song and sit there for a few minutes again. I have a wait_time parameter in the tjukeboxd.conf file, and the jukebox will currently only play random songs if this flag is set to some value. I was thinking that when the playlist is empty, a new thread could be created to count the wait time. When the timer completes, it will add a random song to the queue. If a song is added to the queue before the timer is done, there will need to be some way to kill the thread. I'm sure it's all easy to do, I just have to learn. If you see any potential problems with this, let me know. Kevin ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 |
|
From: Kevin N. <bea...@ya...> - 2005-02-22 14:21:55
|
I didn't even think about that. I added the line and it compiles fine. I'd still like to know why the server automatically added this to the compiler line whereas the client doesn't. I'm worried that if someone actually downloads the code and tries to compile that it might not work in all cases. The new source tarballs are on sourceforge now. Have fun with the completed project. Maybe I'll try an X-windows version if the client now :) With support for album images. Kevin --- Tim Nowaczyk <zi...@cs...> wrote: > On Mon, Feb 21, 2005 at 05:57:18AM -0800, Kevin > Nowaczyk wrote: > > If I type in the line to compile CursesGui and add > -D_REENTRANT in it, > > it works. Do you how you got the original jukebox > code to add this > > definition? > > > Have you tried adding #define _REENTRANT to the top > of CursesGui.cpp? > > Tim > > -- > "As I hammered in the last bolt and staggered over > the rim, it was not at all > clear to me who was conqueror and who was conquered. > I do recall that El Cap > seemed to be in much better condition than I was." > -- Warren Harding > > ----------Tim > Now...@cs...-------------------- > GPG Fingerprint: 5AC1 1E3C 611F BE19 6725 A3B1 6AFF > E4CD D40A 039B > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Tjukebox-general mailing list > Tju...@li... > https://lists.sourceforge.net/lists/listinfo/tjukebox-general > ===== Manage your PEZ collection online. Visit PezBase at http://pezbase.beakerboy.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Tim N. <zi...@cs...> - 2005-02-21 20:35:09
|
On Mon, Feb 21, 2005 at 05:57:18AM -0800, Kevin Nowaczyk wrote: > If I type in the line to compile CursesGui and add -D_REENTRANT in it, > it works. Do you how you got the original jukebox code to add this > definition? > Have you tried adding #define _REENTRANT to the top of CursesGui.cpp? Tim -- "As I hammered in the last bolt and staggered over the rim, it was not at all clear to me who was conqueror and who was conquered. I do recall that El Cap seemed to be in much better condition than I was." -- Warren Harding ----------Tim Now...@cs...-------------------- GPG Fingerprint: 5AC1 1E3C 611F BE19 6725 A3B1 6AFF E4CD D40A 039B |
|
From: Kevin N. <bea...@ya...> - 2005-02-21 14:14:21
|
Since the last release 3 weeks ago there have been 2 major updates to the CVS code. The server now supports data output to stdout. This has been tested with icecast and works. There may be a bug in that sometimes the song skips forward a minute, or skips to the next song befor a song is complete. I'm guessing the jukebox sends data so fast, the input buffer for ices2 fills up. Next the server sends updates to all connected clients on the artist, album, and title of the tracks when they change. You can check out the latest copy from CVS. Compiliation will fail so add -D_REENTRANT to the failing line and type make again. After the REENTRANT problem is fixed, I'll have new source tarballs available for download. Kevin __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 |
|
From: Kevin N. <bea...@ya...> - 2005-02-21 13:57:27
|
I need to add a thread to the CursesGui class. I tried to follow everything you did for the jukebox, but it's not compiling. If I type in the line to compile CursesGui and add -D_REENTRANT in it, it works. Do you how you got the original jukebox code to add this definition? Kevin __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com |
|
From: Kevin N. <bea...@ya...> - 2005-02-18 14:01:17
|
pan is running an icecast server which receives a live stream from tjukeboxd through stdin. You can now control this "all request" radio station via the tjukebox client! For Tracy, you'll need a couple things. Go to http://pan.beakerboy.com:8000 and click on the "click to listen" link. Hopefully you'll start hearing some music. If not you'll need the WinAmp player (http://www.winamp.com). If the link isn't there then that means the song queue is empty. Also, you'll need an ssh client to add songs to the queue. Get PuTTY at http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Run PuTTY and connect to www.beakerboy.com with username tracy and you know the password. Once logged in type `./tjukebox_client pan.beakerboy.com` Have fun Kevin __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 |
|
From: Kevin N. <bea...@ya...> - 2005-02-11 12:02:13
|
I disabled all of the status updates the server was
printing out. Here's the snippit of code I was given:
const char *fname = p.string().c_str();
Sound_Sample * sample = Sound_NewSampleFromFile
(fname, NULL,
1024*64);
if (!sample) {
cerr << "Error opening " << fname << ": " <<
Sound_GetError();
return;
}
do {
Uint32 br = Sound_Decode(sample);
if (br > 0) // write this block of decoded data
to stdout.
cout.write((const char *) sample->buffer,
sample->buffer_size);
if (sample->flags & SOUND_SAMPLEFLAG_ERROR) {
cerr << "Error decoding " << fname << ": "
<<
Sound_GetError();
break;
}
} while (sound->flags & SOUND_SAMPLEFLAG_EOF);
Sound_FreeSample(sample);
I believe the line "sound->flags" is supposed to be
sample->flags.
I'm also wondering if this needs to be in a loop. The
NewSampleFromFile function may only be returning part
of the file.
I'll experiment and I guess I'll probably write back
to the list explaining that a stream to my audio
device doesn't work, unless you come up with any
ideas.
Kevin
--- Tim Nowaczyk <zi...@cs...> wrote:
> On Thu, Feb 10, 2005 at 05:46:01PM -0800, Kevin
> Nowaczyk wrote:
> > A person on the SDL_sound gave me some code out
> decode
> > and output an audio stream to stdout.
> >
> Cool!
>
> > When I compile and run it as ./tjukeboxd >>
> /dev/dsp and queue up a
> > song I just get noise for about 10-20 seconds. Do
> you think I should
> > be hearing the song, or do I need something to
> take this stream and
> > feed it to the soundcard at the proper rate?
> >
> It should be working. Is the daemon still outputing
> "Ready to Accept
> connections"?
>
> Tim
>
> --
> "As I hammered in the last bolt and staggered over
> the rim, it was not at all
> clear to me who was conqueror and who was conquered.
> I do recall that El Cap
> seemed to be in much better condition than I was"
> -- Warren Harding
>
> ----------Tim
>
Now...@cs...--------------------
> GPG Fingerprint: 5AC1 1E3C 611F BE19 6725 A3B1 6AFF
> E4CD D40A 039B
>
>
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Tjukebox-general mailing list
> Tju...@li...
>
https://lists.sourceforge.net/lists/listinfo/tjukebox-general
>
=====
Manage your PEZ collection online. Visit PezBase at http://pezbase.beakerboy.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
|
From: Tim N. <zi...@cs...> - 2005-02-11 03:05:27
|
On Thu, Feb 10, 2005 at 05:46:01PM -0800, Kevin Nowaczyk wrote: > A person on the SDL_sound gave me some code out decode > and output an audio stream to stdout. > Cool! > When I compile and run it as ./tjukeboxd >> /dev/dsp and queue up a > song I just get noise for about 10-20 seconds. Do you think I should > be hearing the song, or do I need something to take this stream and > feed it to the soundcard at the proper rate? > It should be working. Is the daemon still outputing "Ready to Accept connections"? Tim -- "As I hammered in the last bolt and staggered over the rim, it was not at all clear to me who was conqueror and who was conquered. I do recall that El Cap seemed to be in much better condition than I was" -- Warren Harding ----------Tim Now...@cs...-------------------- GPG Fingerprint: 5AC1 1E3C 611F BE19 6725 A3B1 6AFF E4CD D40A 039B |
|
From: Kevin N. <bea...@ya...> - 2005-02-11 01:46:09
|
A person on the SDL_sound gave me some code out decode and output an audio stream to stdout. When I compile and run it as ./tjukeboxd >> /dev/dsp and queue up a song I just get noise for about 10-20 seconds. Do you think I should be hearing the song, or do I need something to take this stream and feed it to the soundcard at the proper rate? I'm also trying to get icecast with liveice working. Kevin ===== Manage your PEZ collection online. Visit PezBase at http://pezbase.beakerboy.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Kevin N. <bea...@ya...> - 2005-02-09 01:22:36
|
I've been experimenting with this tonight. It looks like the SDL and the SDL_sound code is very integrated. The callback function is actually called by SDL. I'll probably have to redo the complete class to get something working. Right now I have a running aplication which (i think) has SDL sending the sound to the audio device and simultaniously prints tons of garbage to the screen. The moment I run it as tjukeboxd >> /dev/audio I get nothing except small beeps when I connect a client or add a song to the queue. The server has a couple couts when those events occur. Kevin --- Tim Nowaczyk <zi...@cs...> wrote: > On Tue, Feb 08, 2005 at 01:28:00PM -0800, Kevin > Nowaczyk wrote: > > Do you know if stdout has a specific address or do > you think I should > > just use a std::cout stream, or even a printf type > function to do > > this. > > > You should be able to use cout. But, it's not hard > to simply > experiment. > > Tim > > -- > "The day Microsoft makes something that doesn't suck > is probably the day > they start making vacuum cleaners." -Ernst Jan > Plugge > > ----------Tim > Now...@cs...-------------------- > GPG Fingerprint: 5AC1 1E3C 611F BE19 6725 A3B1 6AFF > E4CD D40A 039B > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Tjukebox-general mailing list > Tju...@li... > https://lists.sourceforge.net/lists/listinfo/tjukebox-general > ===== Manage your PEZ collection online. Visit PezBase at http://pezbase.beakerboy.com __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail |
|
From: Tim N. <zi...@cs...> - 2005-02-09 00:10:40
|
On Tue, Feb 08, 2005 at 01:28:00PM -0800, Kevin Nowaczyk wrote: > Do you know if stdout has a specific address or do you think I should > just use a std::cout stream, or even a printf type function to do > this. > You should be able to use cout. But, it's not hard to simply experiment. Tim -- "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge ----------Tim Now...@cs...-------------------- GPG Fingerprint: 5AC1 1E3C 611F BE19 6725 A3B1 6AFF E4CD D40A 039B |
|
From: Kevin N. <bea...@ya...> - 2005-02-08 21:28:09
|
I asked the libsdl list about piping audio to stdout and here's the response. It looks like the AudioPlayer callback function is what is doing all the data transfer. It uses the memset() and memcpy() functions to move "character" data from one memory address to another. Do you know if stdout has a specific address or do you think I should just use a std::cout stream, or even a printf type function to do this. Kevin > I'm working on a console based music jukebox called > tjukebox (http://www.sf.net/projects/tjukebox). I'm > using SDL_sound to take care of all the file > translations and SDL for the sound output. I'd like > to follow the Linux tradition of allowing users to > link software together and I want to use stdout as > that bridge. How do I force SDL to write the > audiostream to stdout instead of /dev/dsp. You _could_ change SDL12/src/audio/disk/SDL_diskaudio.c to use stdout instead of a filename in the DISKAUD_OpenAudio() function. Then add this to your program before initializing SDL: putenv("SDL_AUDIODRIVER=disk"); putenv("SDL_DISKAUDIODELAY=0"); The DISKAUDIODELAY makes the SDL audio callback run continuously, which is probably what you want for something that's just piping to another program. "150" is a better value if you want a timing-specific simulation of a real audio device (which some programs need to function correctly with diskaudio). But really, you're better off just writing the stream to stdout directly when piping, since that'll be cleaner than hacking up SDL to do it for you. ===== Manage your PEZ collection online. Visit PezBase at http://pezbase.beakerboy.com __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail |
|
From: Kevin N. <bea...@ya...> - 2005-02-02 15:37:57
|
The new server socket implimentation is now in CVS. I'll have neww source packages available by the end of the week. Things to do yet: Server needs to communicate the current playing track back to each client. Kevin Nowaczyk __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo |
|
From: Kevin N. <bea...@ya...> - 2005-02-02 15:37:51
|
The new server socket implimentation is now in CVS. I'll have neww source packages available by the end of the week. Things to do yet: Server needs to communicate the current playing track back to each client. Kevin Nowaczyk ===== Manage your PEZ collection online. Visit PezBase at http://pezbase.beakerboy.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Kevin N. <bea...@ya...> - 2005-01-18 21:05:57
|
I have a varsion of the server which will send a full catalog to a client. The way it is currently implemented, each ServerSocket instance recatalogs the filesystem and sends the resulting catalog. It would be nicer if it could request a copy of the catalog from the jukebox. This would be useful if new files were added to the filesystem, but the jukebox has not been reindexed, or if the configure file was changed since the jukebox was started. My understanding is a SocketListener creates a new ServerSocket when a connection is established. How would you suggest I set it up so the ServerSocket can get the catalog. Is there a good way to set up a static pointer to the Jukebox...should I make the Catalog a static object in the Jukebox? Let me know your ideas. Did your Design Patterns book have anything you'd like to implement in Tjukebox? Kevin __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 |
|
From: Kevin N. <bea...@ya...> - 2005-01-06 20:31:34
|
I'd like your opinion. Which do you recommend, adding the Socket library sources to the tjukebox code base and compile it all in, or having configure inform the user to install the library if not installed, and link to it? The latter would be easier, but I'm worried it'll be one more step that might not work for some people. LMK Kevin __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 |
|
From: Kevin N. <bea...@ya...> - 2004-10-19 17:38:17
|
I need some help with the tjukebox socket programming. Here's a little bit of what's not good with the way things are now. Currently the socket class has an overloaded << and >> operator. The client creates a socket to the server and can send data. The server can send data back, but can only use the << operator once. It seems like after this the socket get closed. This means the client has to keep sending requests for data to keep the socket open. The message size to the client is limited too, so I can't send all the data at once. I try to get past the message size by doing this: Client : Send me album 1 Server : here it is! Client : Send me album 2 ... Sometimes there are some albums with too many tracks and the full list doesn't get sent because of the size limit. At this point the program exits. When the client and server are running on the same computer there is no limit to message size. I know you told me once that you have a decent socket class from one of your classes. Could you send them to me? I'll try them out and hopefully they'll work better. Kevin ===== Manage your PEZ collection online. Visit PezBase at http://pezbase.beakerboy.com _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com |
|
From: Kevin N. <bea...@ya...> - 2004-08-30 13:17:12
|
I thought I'd make sure the boost header files exist by using configure. I added the following line in configure.in, but it appears to not work: AC_CHECK_HEADER(boost/tokenizer.hpp,,AC_MSG_ERROR(The Boost tokenizer is required)) If, instead, I make it: AC_CHECK_HEADER(vorbis/codec.h,,AC_MSG_ERROR(The Boost tokenizer is required)) or AC_CHECK_HEADER(lcms.h,,AC_MSG_ERROR(The Boost tokenizer is required)) it works fine. I even changed the name of the tokenizer file to tokenizer.h to see if it was the .hpp that was throwing it off. It looks like nothing in the boost directory can be located by this function. Any ideas as to why the boost directory is not found? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Kevin N. <bea...@ya...> - 2004-08-25 20:51:51
|
I've decided to clean up the code for the tjukebox_client. configure.in still requires boost_filesystem and boost_thread even thought there's no filesystem usage and no threading. The only boost libraries the client uses are tokenizer and lexical cast. Do you think I should verify their existance at configure time? I tried changing AC_CHECK_LIB(boost_filesystem, main,,AC_MSG_ERROR(The tjukebox client requires the boost libraries)) to AC_CHECK_LIB(boost_tokenizer, main,,AC_MSG_ERROR(The tjukebox client requires the boost libraries)) but that didn't work. What is the proper way to check for the tokenizer, or is this only done when the files need to be linked in versus used an an include?(Or do I sound like I have no idea what I'm talking about) Kevin ===== Manage your PEZ collection online. Visit PezBase at http://www.beakerboy.com:8081 __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |
|
From: Kevin N. <bea...@ya...> - 2004-08-20 20:37:38
|
Tim, I want your opinion about how you think the client server interaction should work WRT the "current track" display and the track change callback function. We could either have the clients poll the server for the current track every 5 seconds (or whatever) and display that info, or we could have the client run a server on another port where the server keeps track of connected clients with pings, and sends the new track info to them as it becomes available. Let me know which you like, or any other ideas you might have. Kevin ===== Manage your PEZ collection online. Visit PezBase at http://www.beakerboy.com:8081 __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail |
|
From: Kevin N. <bea...@ya...> - 2004-08-19 20:55:29
|
I new milestone announcement! The client and the server now can communicate with one another. Currently the client can request the catalog from the server, the server sends the catalog, and the client can parse out the data and display it ALL IN THE CURSES GUI!! I'm psyched! Next we have to get the server to play requested files. In a couple weeks we should have a fully functional client/server app. Kevin ===== Manage your PEZ collection online. Visit PezBase at http://www.beakerboy.com:8081 _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush |
|
From: Kevin N. <bea...@ya...> - 2004-08-13 22:22:22
|
The client ia modified echo client. Check it out by typing cvs -d:ext:use...@cv...:/cvsroot/tjukebox co client After running the server, the client is run in the followinf format: ./simple_client <host> <port> <message> I have a question that I'm hoping you could look into...I can't figure it out. The server runs jukebox.set_random_node(true) when it recieved "random" from the client. When this happens, I don't get any music coming out of the speakers. In fact, the audio device is still free so I can run mpg123 from another terminal. I'm guessing it's something simple that I'm over looking. Let me know if you can check it out. Kevin ===== Manage your PEZ collection online. Visit PezBase at http://www.beakerboy.com:8081 __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail |
|
From: Tim N. <zi...@cs...> - 2004-08-12 19:38:45
|
The catalog probably contains pointers. If you did this, the pointer variables on the client would be pointing to parts of memory that probably don't contain the right stuff. What you are doing is probably fine. Tim On Thu, Aug 12, 2004 at 12:16:59PM -0700, Kevin Nowaczyk wrote: > The other day you were surprised that I was going to > send the catalog information as text. It probably > WOULD be easier to send it binary than to parse out > the text and re-parse it into the object. > Is it just a matter of ensuring the Catalog, Album and > Track cpp and hpp files are the same and reading the > socket stream into the object?: > server: > socket_out << catalog; > client > socket_in >> catalog; > Kevin > ===== > Manage your PEZ collection online. Visit PezBase at http://www.beakerboy.com:8081 > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Tjukebox-general mailing list > Tju...@li... > https://lists.sourceforge.net/lists/listinfo/tjukebox-general -- ----------Tim Now...@cs...-------------------- | <>< Truth | | GPG fingerprint = 1612 3E41 D649 63ED 222D EB27 E84D 4274 392C A50A |