Jump to content


Photo

Subtitle Dowanloader and OpenPLI


  • Please log in to reply
29 replies to this topic

#1 silelis

  • Member
  • 13 posts

+1
Neutral

Posted 23 December 2011 - 09:13

Hello,

I'm Subtitle Downloader developer.

I've got request from OpenPLI users that Subtitle Downloader may not cooperate with OpenPLI images. Prapobly the reason is missing Python modules.

So I've got request to OpenPLI developers (if You want of course support Subtitle Downloader in OpenPLI) to contact with me so togother We can supply OpenPLI image with all depends required to Subtilte Download work.

If there is willing of cooperation please contact with me via: enigma2subsdownloader@gmail.com.

Unless I can't do this by mayself because I've got only one receiver (which is mostly used by my home-mates) so I can't changes between images.

Best regards,
SileliS

Edited by silelis, 23 December 2011 - 09:16.

"Reasonable people adapt themselves to the world.
Unreasonable people attempt to adapt the world to themselves.
All progress, therefore, depends on unreasonable people"

============
SubsDownloader

Re: Subtitle Dowanloader and OpenPLI #2 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 23 December 2011 - 10:42

Silesis,

Welcome here.... currently I do not know why your plugin is not working -or- what is missing. I hope someone who want to use your plugin can add this and complete it to this tread.... First we need to now what may be the issue here.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Subtitle Dowanloader and OpenPLI #3 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 23 December 2011 - 10:52

I just installed in...

It comes with a message "no module named io"

I do not exactly understand which module is ment/required here...

In addition PluginOnlineContent was not compiled during the start and it contains ^M.... do you use a windows editor to create your sources...

Could someone help us which is required... ?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Subtitle Dowanloader and OpenPLI #4 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 23 December 2011 - 10:53

here wrote MiLo some notices about dependencies (last message)... http://openpli.org/f...sort-extension/

But problem is still with:
import io
Kdo nic nedělá, nic nezkazí!

Re: Subtitle Dowanloader and OpenPLI #5 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 23 December 2011 - 10:54

While removing the package it tells met getcwd was missing... probably this might give a clue?

(ignore this ... I was in that directory, while I removed it)

But stull indeed the missing io message....

Edited by littlesat, 23 December 2011 - 11:00.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Subtitle Dowanloader and OpenPLI #6 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 23 December 2011 - 11:53

and it is python-io module or what ?
Kdo nic nedělá, nic nezkazí!

Re: Subtitle Dowanloader and OpenPLI #7 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 23 December 2011 - 11:57

That module should already be included

[email="root@et9x00:/usr/lib/enigma2/python/Screens"]root@et9x00:/usr/lib/enigma2/python/Screens[/email]# opkg install python-io
Package python-io (2.6.6-ml12.3) installed in root is up to date.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Subtitle Dowanloader and OpenPLI #8 silelis

  • Member
  • 13 posts

+1
Neutral

Posted 23 December 2011 - 12:42

Is python-io in OpenPLI repository?

If no here is io.py which should be added to /usr/lib/python2.6/

Prapobly some other modules are required so be patient (in the end I'll add all required modules to CONTROL/DEPENDS or I'll make extra IPK to install all required modules).

Just give me feedback please.

Edited by silelis, 23 December 2011 - 12:46.

"Reasonable people adapt themselves to the world.
Unreasonable people attempt to adapt the world to themselves.
All progress, therefore, depends on unreasonable people"

============
SubsDownloader

Re: Subtitle Dowanloader and OpenPLI #9 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 23 December 2011 - 12:49

Or you need to add a depend on you package so io,py gets installed... It isn't indeed there...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Subtitle Dowanloader and OpenPLI #10 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 23 December 2011 - 12:59

problem in io.py:

import _fileio
Kdo nic nedělá, nic nezkazí!

Re: Subtitle Dowanloader and OpenPLI #11 silelis

  • Member
  • 13 posts

+1
Neutral

Posted 23 December 2011 - 13:01

Or you need to add a depend on you package so io,py gets installed... It isn't indeed there...


Probably Yes. I'll see if I get information that plugin is running.
"Reasonable people adapt themselves to the world.
Unreasonable people attempt to adapt the world to themselves.
All progress, therefore, depends on unreasonable people"

============
SubsDownloader

Re: Subtitle Dowanloader and OpenPLI #12 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 23 December 2011 - 13:05

Ins't there a better way for a plugin to access files....???

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Subtitle Dowanloader and OpenPLI #13 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,473 posts

+118
Excellent

Posted 23 December 2011 - 13:07

we do not standard put *.py files inside our images
only compiled files

on the Glassfibre 1GB DVB-C...


Re: Subtitle Dowanloader and OpenPLI #14 silelis

  • Member
  • 13 posts

+1
Neutral

Posted 23 December 2011 - 13:09

Ins't there a better way for a plugin to access files....???


import IO is required by gzip and zipfile modules (some subtitles are compresses so I added this module directly to plugin modules).
"Reasonable people adapt themselves to the world.
Unreasonable people attempt to adapt the world to themselves.
All progress, therefore, depends on unreasonable people"

============
SubsDownloader

Re: Subtitle Dowanloader and OpenPLI #15 silelis

  • Member
  • 13 posts

+1
Neutral

Posted 23 December 2011 - 13:21

problem in io.py:

import _fileio


Put file _fileio.so to /usr/lib/python2.6/lib-dynload/ and add 755 rights.
"Reasonable people adapt themselves to the world.
Unreasonable people attempt to adapt the world to themselves.
All progress, therefore, depends on unreasonable people"

============
SubsDownloader

Re: Subtitle Dowanloader and OpenPLI #16 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 23 December 2011 - 13:39

I suggest this is not the right solution by just patching around in PLi.... we need to know the exact missing/incorrect package... (or these thinks should be included in the package from this plugin...)

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Subtitle Dowanloader and OpenPLI #17 silelis

  • Member
  • 13 posts

+1
Neutral

Posted 23 December 2011 - 13:48

I suggest this is not the right solution by just patching around in PLi.... we need to know the exact missing/incorrect package... (or these thinks should be included in the package from this plugin...)



Yes I know that this is not right way. And in the end I'll prepare depends in IPK control file.

But as I said I've got only one receiver so I have no possibility to check (by myself) what is missing. So I ask You to check and on the end I'll add urls to missing packages (if there will be so) and I'll correct IPK Control file.

So I guarantee that everything will be correct due to programming issue.

Or I suggest maybe You can help (test application) me and give list of packages that I should add to DEPENDS?

Edited by silelis, 23 December 2011 - 13:52.

"Reasonable people adapt themselves to the world.
Unreasonable people attempt to adapt the world to themselves.
All progress, therefore, depends on unreasonable people"

============
SubsDownloader

Re: Subtitle Dowanloader and OpenPLI #18 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 23 December 2011 - 14:15

Ok, it seems, it works now under PLi.

package python-shell + io.py + _fileio.so
Kdo nic nedělá, nic nezkazí!

Re: Subtitle Dowanloader and OpenPLI #19 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 23 December 2011 - 14:23

IO is not in any package (so it gets dumped into the python-misc sink).

I'll add (move) it to the python-io package, that makes sense.
Real musicians never die - they just decompose

Re: Subtitle Dowanloader and OpenPLI #20 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 23 December 2011 - 14:44

I put the ipk on our 3rd party streams...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users