Jump to content


Photo

VU solo2 issue with installing Cocy plugin


  • Please log in to reply
36 replies to this topic

Re: VU solo2 issue with installing Cocy plugin #21 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 24 February 2015 - 15:06

Hi. Where is that ssdp.py file , I have fixed IP on my box , also Trial did you check what happens with Cocy when enigma2 starts on your box ?

Edited by damtom85, 24 February 2015 - 15:07.


Re: VU solo2 issue with installing Cocy plugin #22 Trial

  • Senior Member
  • 1,128 posts

+34
Good

Posted 24 February 2015 - 15:24

Hi,

"/usr/lib/python2.7/site-packages/cocy-0.1.13-py2.7.egg/cocy/upnp/ssdp.py" I think it calls now GetHostByName or so and there the IP must be set. But only if you have the error message and only if the error message is still there when you did a reboot.

 

No I did not have a chance because I have to do something for my living:-)

 

ciao



Re: VU solo2 issue with installing Cocy plugin #23 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 24 February 2015 - 15:50

OK Trial, whenever you are ready , thanks

Re: VU solo2 issue with installing Cocy plugin #24 Trial

  • Senior Member
  • 1,128 posts

+34
Good

Posted 24 February 2015 - 16:10

Hi,

at least I found the trick with the IP address:

 

In Zeile 87 von ssdp.py von der CoCy-Bibliothek musste ich Zeile 87 so ändern:
// changed
self.hostaddr = "192.168.178.226"

 

where the IP must be the IP of your box. But I repeat normally it should not be neccessary. It is no solution it is a work around (dirty trick).

 

ciao



Re: VU solo2 issue with installing Cocy plugin #25 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 24 February 2015 - 16:35

Hi,

there is a little problem with Cocy when it cannot detect the IP of the box automatically. When everything in the image on the box is OK then it should not happen. I noticed it once or twice when I only restarted Enigma2 but with a complete boot I never had the problem.

 

When you have a fixed IP for your box you can edit ssdp.py enter enter your IP there.

 

ciao

 

 

Thanks man, now works.

 

In file "/usr/lib/python2.7/site-packages/cocy-0.1.13-py2.7.egg/cocy/upnp/ssdp.py"

this line:

self.hostaddr = gethostbyname(gethostname())

replaced with

self.hostaddr = "192.168.111.4"

I have a litle problem with hd playback, but found a solution.

 

If file "/usr/lib/enigma2/python/Plugins/SystemPlugins/CoCy/renderer.py"

i edited line

self._service = eServiceReference(4097, 0, changed["source"])

to

self._service = eServiceReference(1, 0, changed["source"])

Now all works like a charm :)

 

Again thanks


Edited by Cofybreak, 24 February 2015 - 16:37.


Re: VU solo2 issue with installing Cocy plugin #26 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 24 February 2015 - 20:46

Cofybreak what box and image you have , did u have any problems with installation

Re: VU solo2 issue with installing Cocy plugin #27 Trial

  • Senior Member
  • 1,128 posts

+34
Good

Posted 24 February 2015 - 20:50

Hi Cofybreak,

your welcome. I will also test your service reference trick.

 

ciao



Re: VU solo2 issue with installing Cocy plugin #28 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 25 February 2015 - 08:37



Cofybreak what box and image you have , did u have any problems with installation

 

 

13e05aa5ed8b9f7f.jpeg

Same problems as yours.


Edited by Cofybreak, 25 February 2015 - 08:39.


Re: VU solo2 issue with installing Cocy plugin #29 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 25 February 2015 - 08:47

Did you have problem with circuits_bricks.app ?

Re: VU solo2 issue with installing Cocy plugin #30 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 25 February 2015 - 09:49

No, as far as I see you also don`t have a problem with this.



Re: VU solo2 issue with installing Cocy plugin #31 Trial

  • Senior Member
  • 1,128 posts

+34
Good

Posted 25 February 2015 - 10:49

Hi,

here is how it looks on my system when cocy started correctly and is working:

 

[CoCy] reason = 0
[CoCy] session = <__main__.Session instance at 0x327d7b0>
[CoCy] Added missing attribute oldRef to ServiceEventTracker
[PictureScreen] __init__

[SKIN] Parsing embedded skin <embedded-in-'PictureScreen'>
Setvolume: 100 100 (raw)
Setvolume: 0 0 (-1db)
[CoCy] Player: <Enigma2Player/media_player 731:MainThread (queued=1) [S]>
* <Application/application 731:MainThread (queued=15) [S]>
 * <Enigma2Player/media_player 731:MainThread (queued=0) [S]>
 * <Logger/logger 731:MainThread (queued=0) [S]>
 * <SSDPTranceiver/ssdp 731:MainThread (queued=0) [S]>
  * <SSDPSender/ssdp 731:MainThread (queued=0) [S]>
  * <UDPMCastServer/ssdp 731:MainThread (queued=0) [S]>
  * <SSDPReceiver/ssdp 731:MainThread (queued=0) [S]>
 * <Configuration/configuration 731:MainThread (queued=0) [S]>
 * <UPnPDeviceServer/upnp 731:MainThread (queued=0) [S]>
  * <BaseServer/upnp-web 731:MainThread (queued=0) [S]>
   * <ScopeDispatcher/upnp-web 731:MainThread (queued=0) [S]>
    * <DummyRoot/ScopedChannel("upnp-web", "/") 731:MainThread (queued=0) [S]>
   * <HTTP/upnp-web 731:MainThread (queued=0) [S]>
   * <TCPServer/upnp-web 731:MainThread (queued=0) [S]>

 

 

ciao



Re: VU solo2 issue with installing Cocy plugin #32 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 25 February 2015 - 14:58

Trial thanks for checking , after comparing logs from your box and mine , they are exactly the same.

So Cocy plugin is running on box .

I think it will be matter of the phone , I am using Nexus 6 with android 5 lollipop , what do you have ?

Re: VU solo2 issue with installing Cocy plugin #33 Trial

  • Senior Member
  • 1,128 posts

+34
Good

Posted 25 February 2015 - 16:07

Hi,

no Galaxy S5 with 4.4.2

 

ciao



Re: VU solo2 issue with installing Cocy plugin #34 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 25 February 2015 - 16:20

Firewall, Antivirus software may be... :unsure:



Re: VU solo2 issue with installing Cocy plugin #35 damtom85

  • Senior Member
  • 64 posts

0
Neutral

Posted 25 February 2015 - 19:13

I will try nexus 7 tablet with android 4.4.4

Re: VU solo2 issue with installing Cocy plugin #36 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 27 February 2015 - 11:40

I have a little trouble with this plugin.

If i want play ts-stream, then the receiver can not reproduce because sRef should be something like "1:0:..." and he filed his "4097:0:...".

If edited line

self._service = eServiceReference(4097, 0, changed["source"])

to

self._service = eServiceReference(1, 0, changed["source"])

then ts-stream works, but all other don`t.

 

How to solve this?

Thanks


Edited by Cofybreak, 27 February 2015 - 11:41.


Re: VU solo2 issue with installing Cocy plugin #37 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 17 March 2015 - 18:50

Тhe problem is solved!

 

Solution - in file "/usr/lib/enigma2/python/Plugins/SystemPlugins/CoCy/renderer.py" after line 155:

if "source" in changed:

Added mimetype chek:
 

import mimetypes
mimetypes.add_type("video/MP2T", ".ts")
mimetypes.add_type("video/MP2T", ".tsv")
mimetypes.add_type("video/MP2T", ".tsa")
mime, enc = mimetypes.guess_type(self._source)
if mime == "video/MP2T":
        stype = 1
else:
        stype = 4097

Then edited the line:

self._service = eServiceReference(4097, 0, changed["source"])

to

self._service = eServiceReference(stype, 0, changed["source"])

Now work fine for me.

 




9 user(s) are reading this topic

0 members, 9 guests, 0 anonymous users