Forum
SopCast without PC - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Additional Packages (/forum-22.html)
+--- Thread: SopCast without PC (/thread-1856.html)



SopCast without PC - ganchito55 - 7th Dec, 2013 07:52 AM

Hi we can just run SopCast in owns Raspberry Pi.

Here is the download


With this file we can:
- Watch all SopCast link like sop://broker.sopcast.com:3912/146690
- Mange a channel list


1) Download the .tar file
2) run $ tar xvf sopcast.tar
3) Now we have a folder named sopcast, run: $ cd sopcast
4) Create a file to play with XBMC. run $ cd ~/.xbmc/userdata/playlists/video/
5) run $ nano sopcast.strm
6) write: "http://127.0.0.1:12345" (without " )
7)run the software with: $ ./tv.sh
7.1) $ ./tv.sh num (num is the channel number)
7.2) $ ./tv.sh sop://broker.sopcast.com:3912/146690
7.3) $ ./tv.sh --help (for show instructions)
7.4) $ ./tv.sh --chanel (for show the channel list)
7.4) $ ./tv.sh --stop (for stop the streaming)
8) Go to XBMC/Videos/PlayList and play sopcast.strm

BUGS
Sometimes, you only heard the sound and image is black. You need to stop and then play the file. Sometimes you need to do this more than one time, but finally it always works

We wrote this in a Spanish web, if you understand Spanish you can read the post in http://www.somosbinarios.es/raspberry-pi-television-y-futbol/

Thank you for all hard work that you do for becoming XBian in the best Operating System for Raspberry Pi


RE: SopCast without PC - IriDium - 8th Dec, 2013 03:20 AM

Many thanks for the information.

If I understand correctly - there may well be an add-on coming soon.


RE: SopCast without PC - ganchito55 - 9th Dec, 2013 03:13 AM

Well If XBMC has an addon that it can send instrucctions to terminal. It was very easy develop XBMC with SopCast inside.

If you need more information or something like that, I'll try to answer your questions.


RE: SopCast without PC - xraxor - 10th Dec, 2013 05:36 AM

I tried this but I get an error when trying to run the ./tv.sh I get 'Permission Denied'


RE: SopCast without PC - ganchito55 - 11th Dec, 2013 07:00 PM

(10th Dec, 2013 05:36 AM)xraxor Wrote:  I tried this but I get an error when trying to run the ./tv.sh I get 'Permission Denied'

Well, run:
$ sudo chmod 700 tv.sh

(with this, you will have all permission (read write and execution )

Also you can show the permission with $ ls -l


RE: SopCast without PC - xraxor - 15th Dec, 2013 10:23 PM

thanks. but could not get it to work. don't know what im doing wrong either.

I run ./sh.tv sop:// channel id
then go to sopcast.strm and press enter but get error 'cant find whats next' or something like that.


RE: SopCast without PC - ganchito55 - 16th Dec, 2013 02:21 AM

I don't know why you have this error.

Try to do this:
search a link, like this sop://broker.sopcast.com:3912/144378
copy only 144378
run $ sop.sh 144378
and then play sopcast.strm in XBMC

This is the original method for use SopCast in Raspberry Pi, I only create other Shell Script (tv.sh). with tv.sh is easier to manage SopCast and It has others options such as stop, save channel and show list.