This forum has been archived. All content is frozen. Please use KDE Discuss instead.

shouter script problem [SOLVED]

Tags: None
(comma "," separated)
sebastian.g
Registered Member
Posts
2
Karma
0

shouter script problem [SOLVED]

Thu Aug 24, 2006 8:07 am
Hi,

after some problems getting this script to run without exiting with status code 1 (missing Publisher.py) i have now some other problems with getting the stream running.

In Client i get permanently "200 ICY OK" and then "error synchronizing"
This produces also following error(s) in the  shouter.debug logfile

Code: Select all
[Shouter] 09:25:53.055 _Amarok init
[Shouter] 09:25:53.056 Amarok on_engine_state_change:
[Shouter] 09:25:54.345 read_settings
[Shouter] 09:25:54.345 ConfigManager init
[Shouter] 09:25:54.348 ConfigManager parsed 1 sections
[Shouter] 09:25:54.348 run_streamer
[Shouter] 09:25:54.523 Serving 1 stream on port 8001
[Shouter] 09:26:06.395 _Amarok init
[Shouter] 09:26:06.396 Amarok on_engine_state_change:
[Shouter] 09:26:06.833 read_settings
[Shouter] 09:26:06.833 ConfigManager init
[Shouter] 09:26:06.837 ConfigManager parsed 1 sections
[Shouter] 09:26:06.837 run_streamer
[Shouter] 09:26:07.004 Serving 1 stream on port 8001
[Shouter] 09:26:09.366 configure
[Shouter] 09:26:09.366 ConfigDialog init
[Shouter] 09:26:09.417 ConfigManager init
[Shouter] 09:26:09.425 ConfigManager parsed 1 sections
[Shouter] 09:26:09.425 init tabstate at t_i 0
[Shouter] 09:26:09.425 init tab 0
[Shouter] 09:26:10.217 init tabstate at t_i 1
[Shouter] 09:26:10.217 init tab 1
[Shouter] 09:26:14.566 remove stream 1
[Shouter] 09:26:16.710 init tabstate at t_i 1
[Shouter] 09:26:16.710 init tab 1
[Shouter] 09:26:29.770 saving /amarok
[Shouter] 09:26:29.771 ConfigManager save
[Shouter] 09:26:29.771 ConfigManager save config for /amarok
[Shouter] 09:26:29.778 ConfigManager save server cfg
[Shouter] 09:26:29.999 read_settings
[Shouter] 09:26:29.999 ConfigManager init
[Shouter] 09:26:30.003 ConfigManager parsed 1 sections
[Shouter] 09:26:37.747 _Amarok init
[Shouter] 09:26:37.747 Amarok on_engine_state_change:
[Shouter] 09:26:38.227 read_settings
[Shouter] 09:26:38.227 ConfigManager init
[Shouter] 09:26:38.231 ConfigManager parsed 1 sections
[Shouter] 09:26:38.231 run_streamer
[Shouter] 09:26:38.403 Serving 1 stream on port 8000
[Shouter] 09:27:23.048 init _BaseStreamService on /amarok
[Shouter] 09:27:23.605 Service0 start
[Shouter] 09:27:23.606 LivePlaylist get_play_cursor
[Shouter] 09:27:25.230 StreamServer error encountered. Removing request
[Shouter] 09:27:25.234 Traceback (most recent call last):
[Shouter] 09:27:25.235   File "/usr/lib/python2.4/SocketServer.py", line 463, in process_request_thread
    self.finish_request(request, client_address)
[Shouter] 09:27:25.235   File "/usr/lib/python2.4/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
[Shouter] 09:27:25.235   File "/usr/lib/python2.4/SocketServer.py", line 521, in __init__
    self.handle()
[Shouter] 09:27:25.235   File "/usr/lib/python2.4/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
[Shouter] 09:27:25.235   File "/usr/lib/python2.4/BaseHTTPServer.py", line 310, in handle_one_request
    method()
[Shouter] 09:27:25.235   File "/root/.kde/share/apps/amarok/scripts/shouter/StreamController.py", line 68, in do_GET
    service.start()
[Shouter] 09:27:25.235   File "/root/.kde/share/apps/amarok/scripts/shouter/Services.py", line 179, in start
    (fobj, frac) = self.pl.get_play_cursor()
[Shouter] 09:27:25.236   File "/root/.kde/share/apps/amarok/scripts/shouter/Playlist.py", line 108, in get_play_cursor
    frac = float(current)/total
[Shouter] 09:27:25.236 TypeError: unsupported operand type(s) for /: 'float' and 'str'
[Shouter] 09:27:26.991 init _BaseStreamService on /amarok
[Shouter] 09:27:27.092 Service0 start
[Shouter] 09:27:27.093 LivePlaylist get_play_cursor
[Shouter] 09:27:29.169 StreamServer error encountered. Removing request
[Shouter] 09:27:29.170 Traceback (most recent call last):
[Shouter] 09:27:29.170   File "/usr/lib/python2.4/SocketServer.py", line 463, in process_request_thread
    self.finish_request(request, client_address)
[Shouter] 09:27:29.170   File "/usr/lib/python2.4/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
[Shouter] 09:27:29.170   File "/usr/lib/python2.4/SocketServer.py", line 521, in __init__
    self.handle()
[Shouter] 09:27:29.170   File "/usr/lib/python2.4/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
[Shouter] 09:27:29.171   File "/usr/lib/python2.4/BaseHTTPServer.py", line 310, in handle_one_request
    method()
[Shouter] 09:27:29.171   File "/root/.kde/share/apps/amarok/scripts/shouter/StreamController.py", line 68, in do_GET
    service.start()
[Shouter] 09:27:29.171   File "/root/.kde/share/apps/amarok/scripts/shouter/Services.py", line 179, in start
    (fobj, frac) = self.pl.get_play_cursor()
[Shouter] 09:27:29.171   File "/root/.kde/share/apps/amarok/scripts/shouter/Playlist.py", line 108, in get_play_cursor
    frac = float(current)/total
[Shouter] 09:27:29.171 TypeError: unsupported operand type(s) for /: 'float' and 'str'
[Shouter] 09:27:52.546 Amarok on_engine_state_change: engineStateChange: playing

[Shouter] 09:27:54.125 Amarok on_track_change set state = 2
[Shouter] 09:30:40.804 Amarok on_engine_state_change: engineStateChange: playing

[Shouter] 09:30:41.197 Amarok on_track_change set state = 3
[Shouter] 09:33:02.808 Amarok on_engine_state_change: engineStateChange: playing

[Shouter] 09:33:04.652 Amarok on_track_change set state = 4
[Shouter] 09:41:22.564 _Amarok init


OS is SuSE 10.1 and latest Amarom from SVN (built yesterday)

Thx in advance for your help

Sebastian

Last edited by Anonymous on Thu Aug 24, 2006 8:08 am, edited 1 time in total.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: shouter script problem

Thu Aug 24, 2006 8:08 am
Shouter is deprecated, don't use it.


--
Mark Kretschmann - Amarok Developer
sebastian.g
Registered Member
Posts
2
Karma
0

Re: shouter script problem [SOLVED]

Thu Aug 24, 2006 8:31 am
Is there something i can use instead?
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: shouter script problem [SOLVED]

Thu Aug 24, 2006 8:33 am
There's a script that makes Amarok talk to an Icecast server, try that. Somewhere on kde-apps.org


--
Mark Kretschmann - Amarok Developer


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]