=== UNMAINTAINED ===

I don't use KDE or this plasmoid anymore. I have reports that it doesn't work with 4.5 anymore. I'm not going to fix these Issues. If the problems persist with the next releases I am probably going to delete this plasmoid. If you like it, feel free to adopt the package. Just contact me via the included address and we will work sth out (I'll delete it, you create a new project under the same name or something like that). It should probably be rewritten in JavaScript to avoid unnecesary dependencies.

It's not a plasmoid, but for anybody looking for an alternative i can recommend radiotray (http://radiotray.sourceforge.net/). This seems to be actively developed.

=== UNMAINTAINED ===

A Simple Plasmoid to play an audio stream from the internet. Enter the Stream Url in the configuration dialog, then click once to play, again to stop. Depends on pyKDE, pyQT and pyQT-phonon.

0.1.1
- Config rework: Moved the configuration backend from KConfigSkeleton to QSettings, old configuration files won't work anymore, the new file is usually located in ~/.config/simplestream/simplestream.conf
- Volume Control: The mousewheel can now control the volume of the stream

If I want to add this plasmoid on my Desktop, there just appeares the red cross with the error message "Script initializing failed". Can someone help me?

Re: Can't install

Can you run the plasmoid from a shell with "plasmoidviewer SimpleStream" and post the output? That would help a lot in finding the error. Without knowing any specifics my guess would be on a missing dependency like pykde/pyqt or a missing scriptengine.

I have to add a stream after every boot, so is there a possible that the added streams will stay until I remove them? : P

Re: Problem stream!

It should already save, them, at least it does for me. Are you using the latest version? If yes, the streams should be saved in ~/.config/simplestream/simplestream.conf. Can you post this file once you've added a stream, and once after a reboot so we can check what's going on?

well there is no such file
i created one by myself but simplestream wont write anything into it : P

Re: Re: Re: Problem stream!

hm, that is weird, can you run the plasmoid with "plasmoidviewer SimpleStream"? Can you see if it throws any error messages when it attempts to write the config file (should happen when you click ok in the config dialog). You could also try to copy this text from my simplestream.conf into yours:

If you do this, does it load the streams specified? Also, can you post the name you are giving your stream and the url so i can see if it borks things up here for me? could be some weird characters messing up the file write or something.

Re: Re: Re: Problem stream!

hm, that is weird, can you run the plasmoid with "plasmoidviewer SimpleStream"? Can you see if it throws any error messages when it attempts to write the config file (should happen when you click ok in the config dialog). You could also try to copy this text from my simplestream.conf into yours:

If you do this, does it load the streams specified? Also, can you post the name you are giving your stream and the url so i can see if it borks things up here for me? could be some weird characters messing up the file write or something.

Re: Re: Re: Re: Re: Problem stream!

The config files are stored in a standard location for such things, the location is chosen automatically by QSettings, so it should choose a writable location. I think your problem probably was with QSettings not knowing the path to your config files, maybe something wrong with the global path configuration? Butr then it should just save and load from a different path, and not refuse to do so alltogether. Does it only work with the streams from my config or can you add and remove new ones yourself?

cant start playing

not working :(

$ plasmoidviewer SimpleStream
findServiceByDesktopPath: not found
phonon-xine does not support splitting of audio or video streams into multiple outputs. The sink node is already connected to AudioOutput(0x24ec1f0)
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ).

can anybody help?

Re: cant start playing

The problem you are having seems to be caused by the xine-backend not supporting a feature needed for volume control. You could try using another backend or using the modified version without the volume control I just uploaded. I hope this is of help to you, please let me know if any of this works for you.

Re: Re: cant start playing

hmm...
now i cant install new plasmoid...
i was uninstall old SimpleStream and type
arise@arise:~/1/plasmoids/1$ plasmapkg --install SimpleStream.zip
Ошибка установки пакета /home/arise/1/plasmoids/1/SimpleStream.zip
(error packet install).
also im trying install phonon-gstreamer-backend, but plasmoid wants to use xine backend.
when i trying to remove phonon-xine-backend, adept wants to delete all kde-desktop with it.

Re: Re: Re: cant start playing

That's weird, it installed fine for me. Perhaps i accidentally uploaded the wrong file. I'm at uni right now so i can't look into it any further until tomorrow, but did you try setting the phonon backend preference to gstreamer in the KDE systemsettings module? If you just installed gstreamer it might also be possible that you don't have the necessary codecs to play the stream. I believe there are some packages like gstreamer-plugins-bad or gstreamer-plugins-ugly for playing mp3. But I'd rather fix it to work with xine. I'll install that backend tomorrow and test it out myself, maybe I'll find out what's going on.

Re: Re: Re: Re: cant start playing

oops...
i was forget move up gstreamer in systemsettings.

now i get
$ plasmoidviewer SimpleStream
findServiceByDesktopPath: not found
kdeinit4: preparing to launch /usr/lib/kde4/kio_http.so
but stream actually does not playing.

PS: main cause of searching new stream player is my last dist-upgrade (was kubuntu 9.04, now 9.10). after upgrade all players i have wont play internet radios... :\ maybe plasmoid actually works fine, but new system libs have any bug?

Re: Re: Re: Re: Re: cant start playing

Hm, it seems to be a very definitive worksforme. I installed xine and the modified version doesn't give me any problems. The error message of the unmodified version just gives me

phonon-xine does not support splitting of audio or video streams into multiple outputs. The sink node is already connected to AudioOutput(0x8248bc0)
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ).

It works fine, just the volume control isn't available. Your error seems to be with the "findServiceByDesktopPath: not found" message. Some quick googling showed that it sometimes was a problem with some missing/broken packeges, so could be that your upgrade messet something up. Maybe the problem is indeed with missing audio filters for your phonon-backend. I havent used kubuntu in a while (Arch Linux ftw!) but i think the packages i mentioned before are thw ones you need for gstreamer, for xine it is something like libxine1-ffmpeg, I believe. You could try to apt-get --purge and then apt-get --install all your phonon stuff. And I don#t think it actually wants to delete kde, kde-desktop is a meta-package used to install all kde stuff i think. But before you remove it you should definitely make sure of that. The people over at the ubuntu forums definitely know more about that than me! Good luck and let me know if you get it to work, ok?

Re: Re: Re: Re: Re: Re: cant start playing

for a fun.. i was install SimpleStream to my home notebook with direct internet connection (wich have same kubuntu 9.10).
and found no problem with playing. (only one thing - i was install gstreamer0.10-plugins-good)
it looks like a problem with system proxy libraries (maybe libproxy0).

Странно, а сейчас все заработало.

Ах, да. В консоли получил следующее:

findServiceByDesktopPath: not found
phonon-xine does not support splitting of audio or video streams into multiple outputs. The sink node is already connected to AudioOutput(0x94403e0)
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ).

Any idea how to fix it?

Re: Not working

It seems you don't have QTs Phonon installed. It usually comes in a package called pyqt-phonon or similar, alternatively you could edit the script and import pykde phonon (Comment the PyQT4.phonon line, uncomment the PyKDE4.phonon line), though this could give you problems with volume control( see the link in your post). I will test this stuff again with KDE SC 4.4, but until then this workaround is needed I guess,

Any idea?

Re: Re: Re: Not working

Yes, that was that problem with volume control. I think this happens with the xine backend? If so you could try this modified version with no volume control for xine.

http://rapidshare.com/files/324533547/SimpleStream-0.2-x.zip.html

Not related to this problem I did have some trouble playing your stream with the mplayer-backend I use, gave me an 404 error. It worked fine in vlc though. So maybe there will also be some trouble on that end...

i wonder if anyone else experiences this?
is there a fix?

Re: simplestream plays twice

I don't use pulse, so I can't reproduce that behaviour, sorry. Generally, if there's a playback problem, you could try to see if it persists with a different phonon backend. You could also try to look at the output of the widget with 'plasmoidviewer SimpleStream' and see if there's anything weird in there.

it appears that in order for you to get your mousewheel volume to work you created 2 audio objects Phonon.audioOutput and Phonon.MediaSource
when i comment out these lines i only get 1 stream in the pulseaudio volume control, I found that the mousewheel only controled the volume of 1 of the outputs

Could not install

I am on KDE 4.5.1, Kubuntu 10.10 beta.

I tried to install by downloading the plasmoid but could not install. Similarly I tried to install from normal "add widget > Download ..." method. But for that too it is giving error.

Trying to install from command prompt giving the following error

"plasmapkg(10017)/libplasma Plasma::PackageStructurePrivate::createPackageMetadata: No metadata file in the package, expected it at: ""
plasmapkg(10017)/libplasma Plasma::PackageStructurePrivate::createPackageMetadata: No metadata file in the package, expected it at: ""

Looks like there has been some recent change happened in the plasma engine because many more plasmoid are not getting installed too.

How do you like Plasma 5? The best KDE Desktop ever. Definitely a nice improvement. Not decided yet. Haven't tried it yet. I do not like some of the changes. KDE is taking the wrong way. I am still sticking with KDE 3.5. I have no opinion, but wanted to vote anyway.

Copyright 2003-2015 KDE-Apps.org Team All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.All contributors are responsible for the lawfulness of their uploads.KDE and K Desktop Environment are trademarks of KDE e.V.