Kodi Community Forum
Release P2P-Streams - SopCast and AceStream for Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Release P2P-Streams - SopCast and AceStream for Kodi (/showthread.php?tid=201894)



RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - mjbxx - 2014-09-02

(2014-09-02, 20:36)enen92 Wrote: Which view? I don't remember forcing any view in this add on. Maybe on lists only

A default to List view on P2P rather than Panel view on the Fire TV would be nice to have.


RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - sausageman - 2014-09-03

(2014-09-02, 20:36)enen92 Wrote: Which view? I don't remember forcing any view in this add on. Maybe on lists only

Yes

I mean in the lists. Medium list is almost impossible to read on Arctic skin.


RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - slobato9594 - 2014-09-04




RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - Deniska - 2014-09-04

Hi Enen,
I'm runing GeeXboX on Utilite Standard (iMX6 armv7). Have just tried your plugin which works perfectly with SopCast, but like others in this thread I got stuck with ACEStream not being able to playback. It seems that ACEStream couldn't run at all.

Then I tried to run /root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/start.py manually from a console, but first thing I found was that it didn't have exec permissions.
After "chmod a+x start.py" tried it once again and got this:
Quote:# ./start.py
not using apsw
2014-09-04 08:32:20 get_default_api_version: 2
2014-09-04 08:32:20 build 2191
2014-09-04 08:32:20 version 2.0.8.7
No existing database found. Attempting to creating a new database u'/root/.ACEStream/sqlite/torrentstream.sdb'
Traceback (most recent call last):
File "./start.py", line 10, in <module>
start(apptype, curdir)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Plugin/EngineConsole.py", line 43, in sta rt
bgapp = run_bgapp(wrapper, appname, VERSION)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Plugin/BackgroundProcess.py", line 2304, in run_bgapp
app = BackgroundApp(wrapper, 0, appname, appversion, params, installdir)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Plugin/BackgroundProcess.py", line 156, i n __init__
BaseApp.__init__(self, wrapper, redirectstderrout, appname, appversion, params, installdir, i2i_port, session_port)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Player/BaseApp.py", line 226, in __init__
self.OnInitBase()
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Player/BaseApp.py", line 403, in OnInitBa se
self.s = Session(self.sconfig, on_error=self.on_error)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Core/Session.py", line 172, in __init__
self.lm.register(self, self.sesslock)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Core/APIImplementation/LaunchManyCore.py" , line 75, in register
cachedb.init(config, self.rawserver_fatalerrorfunc)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Core/CacheDB/sqlitecachedb.py", line 54, in init
sqlitedb.initDB(sqlite_db_path, CREATE_SQL_FILE)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Core/CacheDB/sqlitecachedb.py", line 227, in initDB
self.safelyOpenACEStreamDB(sqlite_filepath, create_sql_filename, busytimeout, check_version=check_version, current_db_version= current_db_version)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Core/CacheDB/sqlitecachedb.py", line 259, in safelyOpenACEStreamDB
self.createDBTable(sql_create_tables, dbfile_path, busytimeout)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Core/CacheDB/sqlitecachedb.py", line 211, in createDBTable
cur = self.openDB(dbfile_path, busytimeout)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Core/CacheDB/sqlitecachedb.py", line 201, in openDB
con = apsw.Connection(dbfile_path)
NameError: global name 'apsw' is not defined

As far as I understand python's APSW library is missed. Though, there is apsw.co in "python-modules" dir...
I've tried to download and build apsw from sources, but without success yet.. I feel like I'm doing something wrong Smile Any help would be really appreciated.


RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - enen92 - 2014-09-04

Which os have u choosen from the list?

Also let me know what is the output of:

Quote:python

>import sys
>print sys.maxunicode



RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - bpllfc - 2014-09-04

Hi guys Smile

Sry in advance for this, but I am new to all this :/ I want to go on SportsDevil to view live streams from Acestream and Sopcast but when I go to a Sopcast stream I just get 'Exteranal Player Active- Click OK when playback has ended' and no stream is loaded. Similar with Acestream... I get a countdown of 30 seconds and when it finishes, a notification at the bottom of my screen says 'P2P streams- Couldn't connect'

I have P2P installed of-course and when I go to Settings>Add-ons>Get Add-ons there is P2P streams repository. I tried searching for instructions online and also here but couldn't find anything or didn't understand much.

It might seem stupid but I am a beginner soo any help for me? Obviously if you want me to tell you something that I didn't mention that would help just ask

Thanks,
Kurt


RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - Deniska - 2014-09-04

(2014-09-04, 13:28)enen92 Wrote: Which os have u choosen from the list?

I've tried all 3 options available for armv7 - the same result in any way. Currently go with OpenELEC option

(2014-09-04, 13:28)enen92 Wrote: Also let me know what is the output of:

Quote:python

>import sys
>print sys.maxunicode

# python
Python 2.7.1 (r271:86832, Aug 31 2014, 22:49:01)
[GCC 4.8.3 20140401 (prerelease)] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.maxunicode
65535
>>>


RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - enen92 - 2014-09-04

Deniska remove the plugin.video.p2p-streams on your addon data and select mx linux once u run it again, it should work. Openelec is the worst you could have chosen Tongue

Quote:rm -r $HOME/.xbmc/userdata/addon_data/plugin.video.p2p-streams

Enter the addon and select mxlinux.

After the configuration if it doesn't start execute:

Quote:python $HOME/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/start.py

So we can also have an idea of what module is failing


RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - Deniska - 2014-09-04

Well, have just tried that. This time selected MX Linux. ACEStream is still not working with the same message in log:
TSEngine:Failed to connect to 127.0.0.1:62062

Though, start.py now behaves differently:
Quote:# python /root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/
start.py
2014-09-04 20:55:05 get_default_api_version: 2
2014-09-04 20:55:05 build 2191
2014-09-04 20:55:05 version 2.0.8.7
Traceback (most recent call last):
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/start.py", line 8, in <module>
start(apptype, curdir)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Plugin/EngineConsole.py", line 43, in start
bgapp = run_bgapp(wrapper, appname, VERSION)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Plugin/BackgroundProcess.py", line 2304, in run_bgapp
app = BackgroundApp(wrapper, 0, appname, appversion, params, installdir)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Plugin/BackgroundProcess.py", line 156, in __init__
BaseApp.__init__(self, wrapper, redirectstderrout, appname, appversion, params, installdir, i2i_port, session_port)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Player/BaseApp.py", line 231, in __init__
self.i2i_listen_server = Instance2InstanceServer(self.i2i_port, self, timeout=86400.0, port_file=port_file)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Utilities/Instance2Instance.py", line 27, in __init__
interfaces = self.rawserver.bind(self.i2iport, bind=['127.0.0.1'], reuse=True)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Core/BitTornado/RawServer.py", line 109, in bind
result = self.sockethandler.bind(port, bind, reuse, ipv6_socket_style)
File "/root/.xbmc/userdata/addon_data/plugin.video.p2p-streams/acestream/ace/ACEStream/Core/BitTornado/SocketHandler.py", line 327, in bind
raise socket.error(str(e))
socket.error: [Errno 98] Address already in use
Exception in thread Timer-Thread-20 (most likely raised during interpreter shutdown):
Exception in thread Timer-Thread-19 (most likely raised during interpreter shutdown):Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 530, in __bootstrap_inner

Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 732, in run
File "/usr/lib/python2.7/threading.py", line 394, in wait
File "/usr/lib/python2.7/threading.py", line 530, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 253, in wait

File "/usr/lib/python2.7/threading.py", line 732, in run<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Exception in thread Timer-Thread-22 (most likely raised during interpreter shutdown):Exception in thread Timer-Thread-21 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 530, in __bootstrap_inner

File "/usr/lib/python2.7/threading.py", line 394, in wait File "/usr/lib/python2.7/threading.py", line 732, in run
File "/usr/lib/python2.7/threading.py", line 394, in wait

Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 530, in __bootstrap_inner File "/usr/lib/python2.7/threading.py", line 253, in wait
File "/usr/lib/python2.7/threading.py", line 732, in run
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
File "/usr/lib/python2.7/threading.py", line 253, in wait


<type 'exceptions.TypeError'>: 'NoneType' object is not callable File "/usr/lib/python2.7/threading.py", line 394, in wait

File "/usr/lib/python2.7/threading.py", line 253, in wait
<type 'exceptions.TypeError'>: 'NoneType' object is not callable



RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - enen92 - 2014-09-04

It's working, you just have another process running also on port 62062. Probably a good idea to restart your box and try again:

Quote:socket.error: [Errno 98] Address already in use



RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - GeorgeRx - 2014-09-05

Quote:Why is it not working?
Just put the settings back to default, click ok and enter the addon

Enen , i did everything and on Onofficial Openelec id does not download modules. On Raspberry it does ...

Any clues? Thanks again ...


RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - enen92 - 2014-09-05

The addon doesn't differenciate if you're running an official or unoffical build. I don't own any of those platforms so I can't trace the problem (it it exists). Remove the addon_data folder and enter the addon again, probably you have something stored on your settings.xml:

Quote:rm $HOME/.xbmc/userdata/addon_data/plugin.video.p2p-streams



RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - enen92 - 2014-09-05

v1.0.6 (5/9/2014)
-Fixed issue with mobile networks
-Updated italian strings (tks axlt2002)
-Fix download modules on boot (acestream) android
-Fix local lists
-Added support for Jynxbox Pure linux custom firmware (added to the list of supported OS's)


RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - FAMMAR - 2014-09-05

Still doesn't load on Armv7 (OpenELEC,Xbian,MXLinux,Jynxbox pure linux) on boot after update


RE: P2P-Streams - SopCast and AceStream for XBMC/Kodi - enen92 - 2014-09-05

(2014-09-05, 16:31)FAMMAR Wrote: Still doesn't load on Armv7 (OpenELEC,Xbian,MXLinux,Jynxbox pure linux) on boot after update

It should. What's the output of:

Quote:uname -a

Probably a problem with lowercase/uppercase of the "arm" word as I'm looking exactly for "armv7l". At least the only possibility I can imagine without trying it myself.