Edited by damtom85, 24 February 2015 - 15:07.
VU solo2 issue with installing Cocy plugin
Re: VU solo2 issue with installing Cocy plugin #21
Re: VU solo2 issue with installing Cocy plugin #22
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
Re: VU solo2 issue with installing Cocy plugin #24
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
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
Re: VU solo2 issue with installing Cocy plugin #27
Re: VU solo2 issue with installing Cocy plugin #28
Re: VU solo2 issue with installing Cocy plugin #29
Re: VU solo2 issue with installing Cocy plugin #30
Re: VU solo2 issue with installing Cocy plugin #31
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
Re: VU solo2 issue with installing Cocy plugin #33
Re: VU solo2 issue with installing Cocy plugin #34
Re: VU solo2 issue with installing Cocy plugin #35
Re: VU solo2 issue with installing Cocy plugin #36
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
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.
8 user(s) are reading this topic
0 members, 8 guests, 0 anonymous users