OnDemand
OnDemand
I've been trying to get the ondemand feature working on steamcast.. however i've only been able to get it to play three secs of the song. I have tired this with three different songs with the same luck. I have the server set up at http://216.127.74.135:8022/1.mp3 Can anyone please help me with getting the ondemand feature up and running?
Thanks-
Boston
Thanks-
Boston
Thanks for helping Jay- here's the log:
[04/03/2005@21:56:31] SIGHUP recieved; flushing log files!
[04/03/2005@22:52:44] Request: /1.mp3 {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:52:44] Request: /favicon.ico {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:53:03] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:03] File Closed
[04/03/2005@22:53:07] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:07] File Closed
[04/03/2005@22:53:12] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:12] File Closed
[04/03/2005@22:53:14] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:14] File Closed
[04/03/2005@22:53:16] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:16] File Closed
[04/03/2005@22:53:18] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:18] File Closed
[04/03/2005@22:53:19] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:19] File Closed
[04/03/2005@22:53:20] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:20] File Closed
[04/03/2005@22:53:22] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:22] File Closed
[04/03/2005@22:53:35] Sending File: /1.mp3 {UA: Winamp}
[04/03/2005@22:53:35] File Closed
[04/03/2005@22:53:37] Invalid Resource Request (/favicon.ico) {UA: Winamp}
[04/03/2005@22:53:51] Sending File: /1.mp3 {UA: Winamp}
[04/03/2005@22:53:51] File Closed
[04/03/2005@22:54:22] Request: /1.mp3 {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:54:23] Request: /favicon.ico {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:54:28] Request: / {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:54:28] Request: /favicon.ico {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:54:44] Request: /1.mp3 {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:54:44] Request: /favicon.ico {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
When to shut off the stream, it seems like you have to send it three times in order for it to shut off. Any suggestions? Here's the log from that: Last login: Mon Apr 4 00:08:12 2005 from d53-64-233-203.nap.wideopenwest.com
[root@plain root]# cd ..
[root@plain /]# ps -ef|grep steamcast
root 12290 1 0 00:07 ? 00:00:00 ./usr/sbin/steamcast /etc/steamcast/fusionaudio.conf
root 12340 1 0 00:08 ? 00:00:00 ./usr/sbin/steamcast /etc/steamcast/fusiontv.conf
root 12411 12365 0 00:17 pts/2 00:00:00 grep steamcast
[root@plain /]# kill -s TERM 12290
[root@plain /]# ps -ef|grep steamcast
root 12290 1 0 00:07 ? 00:00:00 ./usr/sbin/steamcast /etc/steamcast/fusionaudio.conf
root 12340 1 0 00:08 ? 00:00:00 ./usr/sbin/steamcast /etc/steamcast/fusiontv.conf
[root@plain /]# kill -s TERM 12290
[root@plain /]# ps -ef|grep steamcast
root 12290 1 0 00:07 ? 00:00:00 [steamcast ]
root 12340 1 0 00:08 ? 00:00:00 ./usr/sbin/steamcast /etc/steamcast/fusiontv.conf
root 12415 12365 0 00:17 pts/2 00:00:00 grep steamcast
[root@plain /]#
[04/03/2005@21:56:31] SIGHUP recieved; flushing log files!
[04/03/2005@22:52:44] Request: /1.mp3 {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:52:44] Request: /favicon.ico {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:53:03] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:03] File Closed
[04/03/2005@22:53:07] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:07] File Closed
[04/03/2005@22:53:12] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:12] File Closed
[04/03/2005@22:53:14] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:14] File Closed
[04/03/2005@22:53:16] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:16] File Closed
[04/03/2005@22:53:18] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:18] File Closed
[04/03/2005@22:53:19] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:19] File Closed
[04/03/2005@22:53:20] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:20] File Closed
[04/03/2005@22:53:22] Sending File: /1.mp3 {UA: WinampMPEG/5.0}
[04/03/2005@22:53:22] File Closed
[04/03/2005@22:53:35] Sending File: /1.mp3 {UA: Winamp}
[04/03/2005@22:53:35] File Closed
[04/03/2005@22:53:37] Invalid Resource Request (/favicon.ico) {UA: Winamp}
[04/03/2005@22:53:51] Sending File: /1.mp3 {UA: Winamp}
[04/03/2005@22:53:51] File Closed
[04/03/2005@22:54:22] Request: /1.mp3 {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:54:23] Request: /favicon.ico {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:54:28] Request: / {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:54:28] Request: /favicon.ico {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:54:44] Request: /1.mp3 {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
[04/03/2005@22:54:44] Request: /favicon.ico {UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2}
When to shut off the stream, it seems like you have to send it three times in order for it to shut off. Any suggestions? Here's the log from that: Last login: Mon Apr 4 00:08:12 2005 from d53-64-233-203.nap.wideopenwest.com
[root@plain root]# cd ..
[root@plain /]# ps -ef|grep steamcast
root 12290 1 0 00:07 ? 00:00:00 ./usr/sbin/steamcast /etc/steamcast/fusionaudio.conf
root 12340 1 0 00:08 ? 00:00:00 ./usr/sbin/steamcast /etc/steamcast/fusiontv.conf
root 12411 12365 0 00:17 pts/2 00:00:00 grep steamcast
[root@plain /]# kill -s TERM 12290
[root@plain /]# ps -ef|grep steamcast
root 12290 1 0 00:07 ? 00:00:00 ./usr/sbin/steamcast /etc/steamcast/fusionaudio.conf
root 12340 1 0 00:08 ? 00:00:00 ./usr/sbin/steamcast /etc/steamcast/fusiontv.conf
[root@plain /]# kill -s TERM 12290
[root@plain /]# ps -ef|grep steamcast
root 12290 1 0 00:07 ? 00:00:00 [steamcast ]
root 12340 1 0 00:08 ? 00:00:00 ./usr/sbin/steamcast /etc/steamcast/fusiontv.conf
root 12415 12365 0 00:17 pts/2 00:00:00 grep steamcast
[root@plain /]#
- Jay
- Will work for food (Administrator)
- Posts: 3020
- Joined: Mon Jan 14, 2002 12:48 am
- Location: Next Door
- Contact:
this is how I have the shutdown process working.
Steamcast registers to catch SIGTERMS, this way it can properly destroy it's threads and remove itself from yp's if it is on any. This process may take a little time. After you have sent it once, steamcast no longer registers to recieve it, so in affect your second sigterm orphans threads and the system does it's own job of shutting down the server however it likes.
Give it time when you send a SIGTERM, the server should shut itself down momentarily.
Steamcast registers to catch SIGTERMS, this way it can properly destroy it's threads and remove itself from yp's if it is on any. This process may take a little time. After you have sent it once, steamcast no longer registers to recieve it, so in affect your second sigterm orphans threads and the system does it's own job of shutting down the server however it likes.
Give it time when you send a SIGTERM, the server should shut itself down momentarily.
- Jay
That makes sence, I had a feeling It was that. Shoutcast was pretty quick to shut down, but then again, steamcast touches 3 directories just not 1.
the interesting thing about my ondemand problem is , right after I restart my steamcast streams, it will play the entire file , but after that one time, it will only play 3 seconds of it and HALT. I tested it on various pcs with with Real/winamp and it does the same thing.
Do you have an aol msn or yahoo screen name I can contact you at. [email protected]
the interesting thing about my ondemand problem is , right after I restart my steamcast streams, it will play the entire file , but after that one time, it will only play 3 seconds of it and HALT. I tested it on various pcs with with Real/winamp and it does the same thing.
Do you have an aol msn or yahoo screen name I can contact you at. [email protected]