Sunday, 24 February 2008

Sopcast with GUI and sop:// URLs in Ubuntu

This guide will help you install sopcast on Ubuntu 7.10 Gutsy. It will also help you get a special modified version of the GUI running and setup firefox to send sop:// links to the program.


Installing packages

Make sure you have all universe and multiverse repositories switched on. Then, in terminal:

sudo apt-get install qt3-apps-dev vlc build-essential

Downloading the latest SopCast binary

Link: Sopcast ix86 binary

Unzip it and cd into that directory using terminal. Then run:

sudo cp sp-sc-auth /usr/bin/sp-sc

Downloading and building the latest GUI

Download this specially modified source package. I have added URL handling.

Link: RKMOD version of QSopCast

Aga*in, unzip it and cd into that (src) directory using terminal. Then run

sudo qmakesudo makesudo make install

This should compile the source and install the binary into the correct location.

Creating a menu shortcut

Go to System / Preferences / Main Menu... then 'Internet' and 'Add New Item'. Give it the name "QSopCast" and command "qsopcast". You should now be able to launch from the main menu.

Setting up the GUI

Once the gui is open, goto config then config again. Make sure that the player settings are all set to "vlc" and that the channel URL is set to "http://www.sopcast.com/gchlxml"

You should now be able to watch sop casts by selecting a channel, launching it and then hitting player when the stream is at 100%

Firefox sop:// URLS

Go into firefox and enter URL: "about:config". Right click, select new and string. The string name is "network.protocol-handler.app.sop" and the value is "qsopcast". It should now send sops to the modified version of QSopCast ready to be launched.

6 comments:

Salvatore said...

All is ok , it works great,thanks a lot
really a very usefull guide!
Sal Naples IT

Dh said...

I followed above instructions, installed Sopcast, it shows channel list, connects, buffers, but it doesn't launch the player. I tried changing config settings, but neither vlc nor mplayer works.
How do I launch a media player?
Do I need wmv codec for these players?

Salvatore said...

dh Hello if it shows channel list and if it fill the buffer all is ok.
In configuration put as follow:
lettore mp3 XMMS
lettore rm VLC
lettore wmv VLC

(( put only VLC nothing else !! no more dates !! only VLC no parameters !! ))

channelhttp:www.sopcast.com/gchlxml

url sop://

save directory /home/your_dir/SOPCAST/


enable codec you need... if you want you can use another able to decode player ...totem etc.

usefull help to
http://www.linux.ryukent.co.uk/show.php?id=36

Sorry for my bad english. Ciao Sal
Enjoy.

Dh said...

thanks a lot Salvatore, it's working now.
But I don't know which command exactly solved my problem.
I can use 'mplayer', but not vlc with qsopcast.I think the problem was in VLC and its codecs for wmv format.

Tim said...

I am running mepis 7.0
I followed the steps exactly, and have also used several other HOWTOs on other forums, but I am still running into problems.

I can get the qsopcast launcher in the menu and have also had success running gtk-sopcast. but when i try to use qsopcast it will start loading and the window bar has an item for qsopcast for a few seconds only, then it just disappears and qsopcat does not load.

any help would be appreciated!!!

Tim

augustose said...

Bon giorno Salvatore !
io sono Augusto ( Argentino )
and I can see the chanel list , but when I double click any chanel , only the connectig message apears and nothing else.
any help will be appreciated.

by the way your english is perfect ! like mine ;-)