Warning: session_start(): open(/tmp/sess_683pndknf5qn4kr8tsrohvkq91, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Amarok Shouter openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

Amarok Shouter

   0.2.1  

Amarok Script

Score 78%
Amarok Shouter
zoom


Link:  Link
Downloads:  10531
Submitted:  Mar 24 2005
Updated:  Oct 3 2006

Description:

This script was written as a vehicle for learning python, I'm open to suggestions, comments and anything not overly abusive. With disclaimer out of
the way, forward with the details: this script will start a small server from within amaroK and serve music streams on a specified port. Stream sources are configurable: current options are for "live" streams as well as a snapshotted playlist. This works with a bevy of different user agents.

Comments and feedback will be much appreciated.




Changelog:

Oct 3, 2006
* fixed unsupported operand error on startup
+ added README.

Aug 30, 2005
- fixed executable bits on non-executable files

Aug 28, 2005
- beta2 Bumped to 0.2.0

0.2.0 beta2, 2005
- Added fix from ShadowFiend
- Tweaked static playlist management. Static playlist clients should now *never* be dropped because of buffer underruns.

0.2.0-beta, 2005
August 12th
Added link to 0.2.0-beta. This is somewhat experimental. It works for me, but as I don't currently have access to a machine with Winamp/WMP I'm posting this as a beta to see if any problems come up. This includes fixes for client side buffer-overruns which result in a repeat of the trailing 10% of each song, and some simple burst-on-connect handling. These changes will be committed to amaroK SVN when I get my DSL at home up and running.

*June 23, 2005 update*
- Re-uploaded 0.1.4. It looks like it never made it there the first time.




LicenseGPL
(Shouter)
Send to a friend
Subscribe
Other  Content  from jbell
Report inappropriate content



goto page: prev   1  2  3  4  5  6  7  8  9 

-
.

 hi

 
 by ATAHUALPA on: Jul 18 2005
 
Score 50%

Jbell, i read in all the files *.py that this script should works with python 2.2, so i have py 2.3, i dont know if this is my problem, the only thing that I know is that it does not work.
I have tried to execute Shouter.py from shell end i have obtained this output:
////////////////////////////////////////////////////////////////////////////////
$ python Shouter.py
localhost.localdomain - - [18/Jul/2005 17:13:37] "GET /amarok HTTP/1.1" 404 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 46053)
Traceback (most recent call last):
File "/usr/lib/python2.3/SocketServer.py", line 463, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.3/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.3/SocketServer.py", line 521, in __init__
self.handle()
File "/usr/lib/python2.3/BaseHTTPServer.py", line 324, in handle
self.handle_one_request()
File "/usr/lib/python2.3/BaseHTTPServer.py", line 318, in handle_one_request
method()
File "/home/felipe/.kde/share/apps/amarok/scripts/shouter/StreamController.py", line 63, in do_GET
raise unmapped_mount_error
unmapped_mount_error
----------------------------------------
localhost.localdomain - - [18/Jul/2005 17:14:02] "GET /amarok HTTP/1.1" 404 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 47037)
Traceback (most recent call last):
File "/usr/lib/python2.3/SocketServer.py", line 463, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.3/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.3/SocketServer.py", line 521, in __init__
self.handle()
File "/usr/lib/python2.3/BaseHTTPServer.py", line 324, in handle
self.handle_one_request()
File "/usr/lib/python2.3/BaseHTTPServer.py", line 318, in handle_one_request
method()
File "/home/felipe/.kde/share/apps/amarok/scripts/shouter/StreamController.py", line 63, in do_GET
raise unmapped_mount_error
unmapped_mount_error
----------------------------------------
Traceback (most recent call last):
File "Shouter.py", line 136, in ?
while 1: sleep(120)
KeyboardInterrupt

Killed
////////////////////////////////////////////////////////////////////////////

Jbell, please, help me, this script is too much useful!


PS.the previous ones release worked wonderfully:)

Tia!


Reply to this

-
.

 Re: hi

 
 by econan on: Jul 29 2005
 
Score 50%

You are not alone on this:

http://amarok.kde.org/component/option,com_simpleboard/Itemid,57/func,view/id,6278/catid,8/


Reply to this

-

 Re: hi

 
 by jbell on: Aug 11 2005
 
Score 50%

Shouter.py is not meant to be run from the command line. It needs to be run by the amaroK script manager so that it can be fed input on events (like track changes, pause, etc). The only file that should be run manually is test.py, but do so only if you're interested in seeing if your server is handling metadata injection correctly. test.py is located in the test subdirectory. It has a required url argument, and the syntax should look like:
python test.py http://hostname:port/mount


Reply to this

-
.

 Server full

 
 by kokiperex on: Jul 19 2005
 
Score 50%

Hi, I was trying to mount a server, but when I try to play in xmms ($ xmms http://localhost:8000/myradio) I have the error 503, server is full. But I'm the only one that is trying to connect.

Sorry about my English, is not my first language


Reply to this

-
.

 Not working

 
 by raphink on: Jul 21 2005
 
Score 50%

I've tried lots of times, but it won't work ... Xmms starts and plays nothing for example. Today I've tried with Kaffeine, and I get this output (sorry it's very long but I thought it might be useful ...) :

xine: couldn't find demux for >http://raphink.myftp.org:8001/amarok<
xine: found input plugin : http input plugin
xine: cannot find input plugin for MRL []
xine: couldn't find demux for >http://raphink.myftp.org:8001/amarok<
xine: found input plugin : http input plugin
xine: cannot find input plugin for MRL []
xine: couldn't find demux for >http://raphink.myftp.org:8000/amarok<
xine: found input plugin : http input plugin
200 frames delivered, 2 frames skipped, 10 frames discarded
video_out: throwing away image with pts 241819782 because it's too old (diff : 14244).
video_out: throwing away image with pts 241810782 because it's too old (diff : 23244).
video_out: throwing away image with pts 241801782 because it's too old (diff : 32244).
video_out: throwing away image with pts 241792782 because it's too old (diff : 41244).
video_out: throwing away image with pts 241783782 because it's too old (diff : 50244).
video_out: throwing away image with pts 241774782 because it's too old (diff : 59244).
video_out: throwing away image with pts 241765782 because it's too old (diff : 68244).
video_out: throwing away image with pts 241756782 because it's too old (diff : 77244).
video_out: throwing away image with pts 241747782 because it's too old (diff : 86244).
video_out: throwing away image with pts 241738782 because it's too old (diff : 95244).
xine: found demuxer plugin: RealMedia file demux plugin
xine: found input plugin : rtsp streaming input plugin
xine: cannot find input plugin for MRL []
xine: couldn't find demux for >http://raphink.myftp.org:8000/amarok<
xine: found input plugin : http input plugin
xine: cannot find input plugin for MRL []
xine: couldn't find demux for >http://raphink.myftp.org:8000/amarok<
xine: found input plugin : http input plugin
xine: cannot find input plugin for MRL []
xine: couldn't find demux for >http://82.239.88.236:8000/amarok<
xine: found input plugin : http input plugin
xine: cannot find input plugin for MRL []
xine: couldn't find demux for >http://raphink.myftp.org:8001/amarok<
xine: found input plugin : http input plugin
xine: cannot find input plugin for MRL []
xine: couldn't find demux for >http://raphink.myftp.org/amarok<
input_http: content length = 19039 bytes
input_http: 3xx redirection: >301 Moved Permanently<
xine: found input plugin : http input plugin
xine: cannot find input plugin for MRL []
200 frames delivered, 0 frames skipped, 1 frames discarded
video_out: throwing away image with pts 31880219 because it's too old (diff : 10530).
200 frames delivered, 0 frames skipped, 1 frames discarded
video_out: throwing away image with pts 15346788 because it's too old (diff : 18042).
200 frames delivered, 0 frames skipped, 1 frames discarded
video_out: throwing away image with pts 11296386 because it's too old (diff : 9273).
200 frames delivered, 4 frames skipped, 10 frames discarded
video_out: throwing away image with pts 514994 because it's too old (diff : 15461).
video_out: throwing away image with pts 505994 because it's too old (diff : 24461).
video_out: throwing away image with pts 496994 because it's too old (diff : 33461).
video_out: throwing away image with pts 487994 because it's too old (diff : 42461).
video_out: throwing away image with pts 478994 because it's too old (diff : 51461).
video_out: throwing away image with pts 469994 because it's too old (diff : 60461).
video_out: throwing away image with pts 460994 because it's too old (diff : 69461).
video_out: throwing away image with pts 451994 because it's too old (diff : 78461).
video_out: throwing away image with pts 442994 because it's too old (diff : 87461).
video_out: throwing away image with pts 433994 because it's too old (diff : 96461).
xine: found demuxer plugin: RealMedia file demux plugin
xine: found input plugin : rtsp streaming input plugin


Reply to this

-
.

 Locked ports

 
 by pvoce on: Aug 6 2005
 
Score 50%

Its WONDERFUL, but I've run itno the following issue:

I have setup a streamer at a raduio station that I work at. Every couple of days, Amarok will crash (MUCH more than likely not your fault), but when I restart the apps and the script, the script always streams to the next port. For example, If I designate 8000, and amarok crashes, it streams to 8001 upon restart.

Even after restarting the computer, I cannot get the script to stream to the original port. I have even uninstalled the script AND recreated the streams, to no avail Ideas?


Reply to this

-

 changed port....

 
 by jwoo on: Aug 10 2005
 
Score 50%

I changed the port because I was unable to access it, now it won't start and it says to see debug output but it is empty. I can't run the configure script to change the port from amarok unless Shouter is running. I tried reinstalling it, reinstalling amarok, completely removing anything in the amarok directories and reinstalling... It still will not run again.

What am I to do now? Is there a file I can edit to change the port it is using?


Reply to this

-

 Re: changed port....

 
 by jbell on: Aug 11 2005
 
Score 50%

When a python server exits less than gracefully, it tends to not immediately release the port it was using. You can look at a list of your running processes and kill some of the python ones, or edit (I think) ~/.kde/share/apps/amarok/scripts-data/shouterrc to change the port.


Reply to this

-
.

 Tag Absence Failure

 
 by Shadowfiend on: Aug 13 2005
 
Score 50%

First of all, let me say this is a wonderful script :-)

An issue I noticed is that the stream dies very quicly (a second or two) if the current track does not have an artist (or, for that matter, an album). This is an error that occurs in the Playlist.py file, the function get_meta, where the following occurs:
return self.artist + ' - ' + self.title

I'm running amaroK 1.2.4, is that the problem?

Also, any reason for which OGG streams are impossible?

Again, thanks for this impressive script :-)


Reply to this

-

 Re: Tag Absence Fail

 
 by jbell on: Aug 16 2005
 
Score 50%

Thanks. Fixed in beta2. Mixed-format streams (mp3 + ogg + whatever) aren't possible as there is no way to inform clients that they need to start decoding differently. A pure ogg stream may be doable, though as ogg files only comprise less than a quarter of my collection it's not something that I'm putting much work into. On-the-fly transcoding ogg into mp3 is also doable and is something I'm working on when I have time.


Reply to this

-

 Re: Re: Tag Absence

 
 by Shadowfiend on: Aug 16 2005
 
Score 50%

Fantastic! Thanks!


Reply to this

-

 Re: Re: Tag Absence

 
 by jetpeach on: May 29 2007
 
Score 50%

please let us know if there is any progress on on-the-fly ogg to mp3 encoding for streaming. it's definitely something i would love as well.

great script, thanks for all the hard work!!!


jet
Reply to this

goto page: prev   1  2  3  4  5  6  7  8  9 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team