Kodi Community Forum

Full Version: [release] plugin.video.x-sopcast-0.2.21
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
(2012-12-04, 20:29)max2011ro Wrote: [ -> ]In default.py on line 210 comment "os.chmod(SPSC,0755)" line.


or "sudo chmod 777 /usr/local/bin/sp-sc-auth" or any other path where sp-sc-auth binary is
or "sudo chown (xbmc user) /usr/local/bin/sp-sc-auth"

additional remote channel list http://streams.magazinmixt.ro/xsopcast.xml
maintained online at http://streams.magazinmixt.ro
Upgraded from 0.2.14 to 0.2.15 (on xbmc 11.0) and I get this error in xbmc.log every time I try to play any item in the list

22:25:20 T:2843704128 NOTICE: -->Python Interpreter Initialized<--
22:25:21 T:2843704128 ERROR: EndOfDirectory - called with an invalid handle.

any idea ?
Same here with Frodo RC3. I have followed the same steps than tocinillo...
A more accurate trace with debug on:

04:47:10 T:3007268672 DEBUG: RunScriptWithParams - calling plugin X-Sopcast('plugin://plugin.video.xsopcast/','-1','?sop=sop%3A%2F%2F95.211.111.66%3A3912%2F122846&mode=2&name=%5Bwmv%5D+GSP+TV+-+La+pescuit++-+05%3A00+%C5%9Etiri++-+05%3A30+%C5%9Etiri+%28reluare%29+-+06%3A00+%C5%9Etiri+%28reluare%29+-+06%3A30+%C5%9Etiri+%28reluare%29&iconimage=%2Fhome%2Fcybertoy%2F.xbmc%2Faddons%2Fplugin.video.xsopcast%2Flogos%2Fgsp_tv.png')
04:47:10 T:3007268672 INFO: initializing python engine.
04:47:10 T:3007268672 DEBUG: new python thread created. id=12
04:47:10 T:2870971200 NOTICE: Thread XBPyThread start, auto delete: false
04:47:10 T:2870971200 DEBUG: Python thread: start processing
04:47:10 T:2870971200 NOTICE: -->Python Interpreter Initialized<--
04:47:10 T:2870971200 DEBUG: Process - The source file to load is /home/cybertoy/.xbmc/addons/plugin.video.xsopcast/default.py
04:47:10 T:2870971200 DEBUG: Process - Setting the Python path to /home/cybertoy/.xbmc/addons/plugin.video.xsopcast:/usr/share/xbmc/addons/weather.wunderground/resources/lib/wunderground:/usr/share/xbmc/addons/script.module.simplejson/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/cybertoy/.xbmc/addons/script.module.parsedom/lib:/usr/share/xbmc/addons/script.module.pysqlite/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/python2.7/dist-packages/gtk-2.0:
04:47:10 T:2870971200 DEBUG: Process - Entering source directory /home/cybertoy/.xbmc/addons/plugin.video.xsopcast
04:47:10 T:2870971200 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.xsopcast" dependent on version 2.0 of the xbmc.python api
04:47:10 T:2870971200 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xb18133e0
04:47:11 T:3007268672 DEBUG: Activating window ID: 10138
04:47:11 T:3007268672 DEBUG: ------ Window Init (DialogBusy.xml) ------
04:47:11 T:3007268672 DEBUG: Activating window ID: 10138
04:47:11 T:2870971200 ERROR: EndOfDirectory - called with an invalid handle.
04:47:11 T:2870971200 INFO: Scriptresult: Success
04:47:11 T:3007268672 DEBUG: ------ Window Deinit () ------
04:47:11 T:3007268672 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
04:47:11 T:3007268672 DEBUG: ------ Window Init () ------
04:47:11 T:2870971200 INFO: Python script stopped
04:47:11 T:2870971200 DEBUG: Thread XBPyThread 2870971200 terminating
04:47:11 T:3007268672 DEBUG: waiting for python thread 12 (/home/cybertoy/.xbmc/addons/plugin.video.xsopcast/default.py) to stop
04:47:11 T:3007268672 DEBUG: python thread 12 (/home/cybertoy/.xbmc/addons/plugin.video.xsopcast/default.py) destructed


Thank you
problem is this line :

1773: xbmc.sleep(int(settings.getSetting('wait_time')))

because is trying to read wait_time setting from "resources/settings.xml"
and that line is commented
just uncomment that line from resources/settings.xml file and the plugin will work:

<setting id="wait_time" type="number" label="30020" default="20"/>

----------------------------------------------------------------------------------------------------------------------------------
additional remote channel list http://streams.magazinmixt.ro/xsopcast.xml
maintained online at http://streams.magazinmixt.ro
Thanks for the update, just one question...

When I try to enter Channel ID manually or when I try to play any other sopcast channel, the programs shows: "Failed to initialize sopcast channel" or "this chanel is off...", but If I try this same sopcast channel with the official sopcast program, the channel plays correctly...

Then, I tried with every channel and nothing is working..

Into log I have this problem (frodo):

15:32:46 T:2740812608 ERROR: CDVDPlayer::OpenInputStream - error opening [http://10.0.2.15:9001/]

And with Eden:

ERROR: EndOfDirectory - called with an invalid handle.

EDIT: I try with 0.2.6 version and sopcast channels are playing correctly...

ANyone helps me, please!? Thanks!
(2013-01-20, 15:07)tocinillo Wrote: [ -> ]Thanks for the update, just one question...

When I try to enter Channel ID manually or when I try to play any other sopcast channel, the programs shows: "Failed to initialize sopcast channel" or "this chanel is off...", but If I try this same sopcast channel with the official sopcast program, the channel plays correctly...

Then, I tried with every channel and nothing is working..

Into log I have this problem (frodo):

15:32:46 T:2740812608 ERROR: CDVDPlayer::OpenInputStream - error opening [http://10.0.2.15:9001/]

And with Eden:

ERROR: EndOfDirectory - called with an invalid handle.

EDIT: I try with 0.2.6 version and sopcast channels are playing correctly...

ANyone helps me, please!? Thanks!

This happens because sopcast server IPs are changing and by default the address is built using the domain: sop://broker.sopcast.com:3912/.
For few hours during the change, the domain address will not work and only the new IP address will work.
Solution is to activate the option "Select the domain when enter channel id' under General tab and if you can't find the IP in the list, try to use the last one 'sop://221.12.89.140:53/"

P.S. If you save the channel in the list using the IP address, after the next DNS change the channel will no longer work, but if you have it in the list using the domain name the channel will be offline only for few hours during the DNS change
(2013-01-21, 09:17)ecinema Wrote: [ -> ]
(2013-01-20, 15:07)tocinillo Wrote: [ -> ]Thanks for the update, just one question...

When I try to enter Channel ID manually or when I try to play any other sopcast channel, the programs shows: "Failed to initialize sopcast channel" or "this chanel is off...", but If I try this same sopcast channel with the official sopcast program, the channel plays correctly...

Then, I tried with every channel and nothing is working..

Into log I have this problem (frodo):

15:32:46 T:2740812608 ERROR: CDVDPlayer::OpenInputStream - error opening [http://10.0.2.15:9001/]

And with Eden:

ERROR: EndOfDirectory - called with an invalid handle.

EDIT: I try with 0.2.6 version and sopcast channels are playing correctly...

ANyone helps me, please!? Thanks!

This happens because sopcast server IPs are changing and by default the address is built using the domain: sop://broker.sopcast.com:3912/.
For few hours during the change, the domain address will not work and only the new IP address will work.
Solution is to activate the option "Select the domain when enter channel id' under General tab and if you can't find the IP in the list, try to use the last one 'sop://221.12.89.140:53/"

P.S. If you save the channel in the list using the IP address, after the next DNS change the channel will no longer work, but if you have it in the list using the domain name the channel will be offline only for few hours during the DNS change

yes, I undestand that, but this problem is not only with the "enter channel id option" if I try any other channel in the list (that is online, of course) with 0.2.16 the channel will never play, but at the same time (deleted the 0.2.16 version and data folder) I tried with the first version (0.2.6) and works perfectly...

Example, now I triyng to play the CCTV-10 channel from official sopcast list, that's online, but with the new versions it's impossible to play (no error or offline message):

Image

And in the log appears this:

Quote:ERROR: CFileCurl ::CReadState::Open, didn't get any data stream
ERROR: Open - failed to open source http://10.0.2.15:9001

But with the first x-sopcast version (0.2.6)...:

Image
Image
Image

Works correctly, but the xbmc log shows exactly the same than previous (but after that, I see that stream is created):

Quote:ERROR: CFileCurl ::CReadState::Open, didn't get any data stream
ERROR: Open - failed to open source http://10.0.2.15:9001
NOTICE: Creating InputStream
NOTICE: Creating Demuxer
NOTICE: Opening video stream: 1 source: 256
...

PS: Any one use the new version without problems?

Thanks for your reply!
0.2.16 working smooth with XBMC 11.0 Eden on OpenSuse 12.2 . Thanks!

----------------------------------------------------------------------------------------------------------------------------------
additional remote channel list http://streams.magazinmixt.ro/xsopcast.xml
maintained online at http://streams.magazinmixt.ro
(2013-01-23, 10:10)lascarica Wrote: [ -> ]0.2.16 working smooth with XBMC 11.0 Eden on OpenSuse 12.2 . Thanks!

Can you play channels with 0.2.16 version? for example CCTV10? I don't know I was wrong Sad

FIXED! The problems was the skin: AEON NOX, with Confluence works perfectly Tongue

To use the addon with Aeon Nox (or other skin) I copied the "skin.confluence" folder from /home/xbmc/.xbmc/addons/plugin.video.xsopcast/resources/skins and rename it to "skin.aeon.nox" and works perfectly. So, finally I have three folders inside "/home/xbmc/.xbmc/addons/plugin.video.xsopcast/resources/skins/": default, skin.confluence and skin.aeon.nox, if I delete one of this the add-on doesn't work.

EDIT: This only works with Frodo.
Im not sure but I may have some life in my sopcast after all this time

At least im not getting the script failed error now anyway

Did the following ........ installing ia32-libs and all its dependencies too (64bit Ubuntu 12.04)

1. Download ‘sopcast for Linux’ the sopcast.tgz from www.sopcast.org/download/

Extract the package, copy and paste ‘sp-sc-auth’ file into ‘/usr/bin/sp-sc’ and ‘usr/local/bin/sp-sc’

sudo cp ~/Downloads/sp-auth/sp-sc-auth /usr/bin/sp-sc
sudo cp ~/Downloads/sp-auth/sp-sc-auth /usr/local/bin/sp-sc
2. Check if step1 is working by running sp-sc and it should output as below (64-bit Ubuntu first install sudo apt-get install ia32-libs ):

~$ sp-sc
SC Version: 3.2.6 Build time: 2009-11-09 15:09
Usage:
./sp-sc [-TpI] [-b ipaddr] [-u username:password] [-n out:total]

If not, download stdc++5 extract ‘libstdcpp5.tgz’, and then run:

sudo cp -a ~/Downloads/usr/lib/libstdc++.so.5* /usr/lib/

This was from here

http://www.bestubuntu.com/install-sopcas...12-04.html

Just need to try witha decent stream later today

We will see

Hope this might be handy for someone anyway


Update: very hard to get streams to work using the sopcast plugin - so far the best ive had is sound but no picture - arggh so close
Another Update - getting some channels now with video as well as sound - so somethings working now - hope will find some good streams later
(2012-09-25, 19:53)Pacco Wrote: [ -> ]"an2njo Wrote:

As far as I know x-sopcast requires the sopcast binary (sp-sc-auth) and the one you downloaded is most likely compiled for the x86 architecture, not arm which the pi is using. That's why you can run it on your ubuntu pc but not on your pi.

I have solved my sopcast watching on the pi by starting the sopcast stream on my fileserver. I then put a .strm file on my pi that I can open in xbmc. The .strm file just need to contain the url to your stream, e.g. http://192.168.0.2:8908/tv.asf. It works like a charm."

an2njo Wrote:
You would need libstdc++5, not 6. But as I said in my first post... Unless you find sopcast pre-compiled for the arm architecture you will not get it going on your pi.

More answers will be posted

Great idea, but it partially worked for me. I can get audio but see no video... :-(
I'm using openelec. Are you, too?
Am I missing something else, like an updated library for example.
PLEASE HELP! I'm running Ubuntu 12.10 32bit with xbmc 12.1 with plugin.video.x-sopcast-0.2.16 and I have libstdc++5_3.3.6-25ububtu1i386.deb installed.. Remote list shows the the Romanian Channels! The problem is sometimes the channels work and sometimes it gives me the error channel initialization failed but I know that the channels are online and working fine on the normal sopcast program! What is wrong! I've read this thread but nothing really answered my question! I am new to Linux too! Please help!!!
(2013-04-11, 20:03)Dchizza8 Wrote: [ -> ]PLEASE HELP! I'm running Ubuntu 12.10 32bit with xbmc 12.1 with plugin.video.x-sopcast-0.2.16 and I have libstdc++5_3.3.6-25ububtu1i386.deb installed.. Remote list shows the the Romanian Channels! The problem is sometimes the channels work and sometimes it gives me the error channel initialization failed but I know that the channels are online and working fine on the normal sopcast program! What is wrong! I've read this thread but nothing really answered my question! I am new to Linux too! Please help!!!

Use "Enter ID Channel", it's better. If the initialization channel fails, try again 1 or 2 times more and finally you get the channel work.

This add-on is amazing, is working perfectly with all sop channels Smile
Is there a reason it does this? And can it be avoided? Surely there is something not right? I don't want to always click on enter channel id, that would be just as inconvenient as using the actual sopcast program! But even entering channel id sometimes gives me the channel initialization failed error! Is it just me or is this how everyone has it? Thanks for your reply!
Pages: 1 2 3 4 5 6 7 8 9