Jump to content


Photo

IPTV Player - development thread


  • This topic is locked This topic is locked
3561 replies to this topic

Re: IPTV Player - development thread #261 benko

  • Senior Member
  • 96 posts

0
Neutral

Posted 21 October 2015 - 14:17

thanks for all B)

Can you add this ?

http://film-club.net


Re: IPTV Player - development thread #262 KlubbMover

  • Member
  • 11 posts

0
Neutral

Posted 21 October 2015 - 15:38

Hello samsamsam.

 

You make a great Work. I would to ask  if you can add this? serijex.com.

 

Many Thanks for your Hard and great work ;)


Edited by KlubbMover, 21 October 2015 - 15:39.


Re: IPTV Player - development thread #263 hyperonex

  • Senior Member
  • 82 posts

+7
Neutral

Posted 21 October 2015 - 20:37


Hello hyperonex,
Please ignore my previous post as the problem disappears today.
Thank you for this great work
If you think that this problem has been introduced with 81.00.00.00 you can downgrade version and check.

To do this you should simple enable this posibility in configuration menu.

Please check and let me know.

Regards,
SSS



Re: IPTV Player - development thread #264 hyperonex

  • Senior Member
  • 82 posts

+7
Neutral

Posted 21 October 2015 - 20:40

Sorry samsamsam. Please ignore my previous post as the problem disappears today.
Thank for this work

Re: IPTV Player - development thread #265 Nixon

  • Senior Member
  • 36 posts

+1
Neutral

Posted 21 October 2015 - 23:54

Would be great a pagination feature on subititles section download... I cant download my subtitles for "The Walking Dead"..

Re: IPTV Player - development thread #266 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 22 October 2015 - 00:56

Hello samsamsam.

 

You make a great Work. I would to ask  if you can add this? serijex.com.

 

Many Thanks for your Hard and great work ;)

 

Added in version "82.01.00.00"



Re: IPTV Player - development thread #267 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 22 October 2015 - 01:07

Would be great a pagination feature on subititles section download... I cant download my subtitles for "The Walking Dead"..

 

Try to add episode number to search pattern or search by episode title if searching by series title  does not give results.



Re: IPTV Player - development thread #268 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 22 October 2015 - 01:09

 

thanks for all B)

Can you add this ?

http://film-club.net

 

Hello,

 

This seems that this service use links from yify.tv, so I do not see the reason to duplicate.

 

Regards,

SSS


Edited by samsamsam, 22 October 2015 - 01:09.


Re: IPTV Player - development thread #269 KlubbMover

  • Member
  • 11 posts

0
Neutral

Posted 22 October 2015 - 10:27

 

Hello samsamsam.

 

You make a great Work. I would to ask  if you can add this? serijex.com.

 

Many Thanks for your Hard and great work ;)

 

Added in version "82.01.00.00"

 

Thank you very much.. :)



Re: IPTV Player - development thread #270 minimal101

  • Member
  • 18 posts

0
Neutral

Posted 23 October 2015 - 09:01

Hello 

can u add in app settings prefered language in opensubtitles download?

subtitles on local media files need to be in UTF8,i saw downloaded subs r converted for player.can u do temp convert for local .srt files to be correct displayed in player?

reorder in main page by most used of online services?

 

keep u good work and thank you for u hard work.best player for my e2 so far !



Re: IPTV Player - development thread #271 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 23 October 2015 - 11:41

1. Prefered language for OpenSubtitiles 
As prefered (first in list) language from E2 is taken 
 
2. Hosts order
 
To change hosts order please go to IPTVPlayer configuration 
and then select  "Services configuration"
 
In service configuration press "Menu" and select "Enable reordering mode"
 
Than you can change order of hosts in similar way as you changing channel order (OK to slect, UP/DOWN to move, OK to unselect).


Re: IPTV Player - development thread #272 minimal101

  • Member
  • 18 posts

0
Neutral

Posted 23 October 2015 - 11:48

 

1. Prefered language for OpenSubtitiles 
As prefered (first in list) language from E2 is taken 
 
2. Hosts order
 
To change hosts order please go to IPTVPlayer configuration 
and then select  "Services configuration"
 
In service configuration press "Menu" and select "Enable reordering mode"
 
Than you can change order of hosts in similar way as you changing channel order (OK to slect, UP/DOWN to move, OK to unselect).

 

Thank u ! appreciated !!



Re: IPTV Player - development thread #273 minimal101

  • Member
  • 18 posts

0
Neutral

Posted 23 October 2015 - 12:01

 

subtitles on local media files need to be in UTF8,i saw downloaded subs r converted for player.can u do temp convert for local .srt files to be correct displayed in player?

reorder in main page by most used of online services?

 

 

still remains as q .thanks !



Re: IPTV Player - development thread #274 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 23 October 2015 - 13:00

With this point is some problem, because I do not know the file coding. When the file is downloaded from OpenSubtitles I have information about original coding, so I can convert it to UTF-8.

Without the information about original coding this is hard to do, so I can only ask the user to choose the original coding.


Edited by samsamsam, 23 October 2015 - 13:01.


Re: IPTV Player - development thread #275 minimal101

  • Member
  • 18 posts

0
Neutral

Posted 23 October 2015 - 14:38

With this point is some problem, because I do not know the file coding. When the file is downloaded from OpenSubtitles I have information about original coding, so I can convert it to UTF-8.

Without the information about original coding this is hard to do, so I can only ask the user to choose the original coding.

hi 

we dont know how u convert but i think u can find out file encoding like on downloaded,or u can set encoding convertion preset.in my case is cp1251.thanks



Re: IPTV Player - development thread #276 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 23 October 2015 - 14:45

Notepad++ > Encoding > Convert to UTF8.


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: IPTV Player - development thread #277 minimal101

  • Member
  • 18 posts

0
Neutral

Posted 23 October 2015 - 15:01

Notepad++ > Encoding > Convert to UTF8.

thanks! but we know how to convert file.its not my point.u can do even in cmd by 

iconv -f windows-1251 -t utf-8 original.srt > converted.srt


Re: IPTV Player - development thread #278 minimal101

  • Member
  • 18 posts

0
Neutral

Posted 23 October 2015 - 15:11

i made some digg to google.this works on e2 box for convertion 

#!/usr/bin/env python
 
import os
import sys
import shutil
 
def convert_to_utf8(filename):
    # gather the encodings you think that the file may be
    # encoded inside a tuple
    encodings = ('windows-1251', 'iso-8859-7', 'macgreek')
 
    # try to open the file and exit if some IOError occurs
    try:
        f = open(filename, 'r').read()
    except Exception:
        sys.exit(1)
 
    # now start iterating in our encodings tuple and try to
    # decode the file
    for enc in encodings:
        try:
            # try to decode the file with the first encoding
            # from the tuple.
            # if it succeeds then it will reach break, so we
            # will be out of the loop (something we want on
            # success).
            # the data variable will hold our decoded text
            data = f.decode(enc)
            break
        except Exception:
            # if the first encoding fail, then with the continue
            # keyword will start again with the second encoding
            # from the tuple an so on.... until it succeeds.
            # if for some reason it reaches the last encoding of
            # our tuple without success, then exit the program.
            if enc == encodings[-1]:
                sys.exit(1)
            continue
 
    # now get the absolute path of our filename and append .bak
    # to the end of it (for our backup file)
    fpath = os.path.abspath(filename)
    newfilename = fpath + '.bak'
    # and make our backup file with shutil
    shutil.copy(filename, newfilename)
 
    # and at last convert it to utf-8
    f = open(filename, 'w')
    try:
        f.write(data.encode('utf-8'))
    except Exception, e:
        print e
    finally:
        f.close()
if __name__ == '__main__':
    convert_to_utf8(sys.argv[1])

regs



Re: IPTV Player - development thread #279 benko

  • Senior Member
  • 96 posts

0
Neutral

Posted 23 October 2015 - 16:57

 

Hello samsamsam.

 

You make a great Work. I would to ask  if you can add this? serijex.com.

 

Many Thanks for your Hard and great work ;)

 

Added in version "82.01.00.00"

 

 

I have the latest version of "82.01.00.00" but I do not have listed  serijex.com  ??



Re: IPTV Player - development thread #280 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 23 October 2015 - 17:01

 

With this point is some problem, because I do not know the file coding. When the file is downloaded from OpenSubtitles I have information about original coding, so I can convert it to UTF-8.

Without the information about original coding this is hard to do, so I can only ask the user to choose the original coding.

hi 

we dont know how u convert but i think u can find out file encoding like on downloaded,or u can set encoding convertion preset.in my case is cp1251.thanks

 

 

The OpenSubtitles.org sent this information. So, when I get info about subtitles file the server return to me encoding type. 

So, I can not use the same method. Because when file is read from local storage I do not have such information.

 

There are many different heuristics to detect encoding based on file content but they are not perfect.
 
I can not use your heuristics  because it will work only for greek language.
 
 
For now I can add the choose list and user will must choose correct encoding.



2 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


    Bing (2)