I supose this is only for pure2
TMDb - The Movie Database
-
- TMDb
- W@Rp
- Thread is marked as Resolved.
There are 104 replies in this Thread which was already clicked 24,222 times. The last Post () by frank087234.
-
-
TMDb v.0.7-r5
- Update
- Überschreibe Taste Gelb für TMDb Infos in EPGs
thx @ schomi -
Hi,
how can i exclude from search some strings from my vod ?
i need to exclude any characters between [xxxx] .
Thank you !
-
you could make a list of invalid characters and apply it to the text_clear of the call epg type:
Python
Display Moredef charRemove(self, text): char = ['MD', '720p', 'HDTC', 'CINEMA', 'TELECINE', '1080p', 'WEBDL', 'HDTS', 'WEBRip', 'R3', 'TELESYNC', 'BluRay', 'HDCAM', '480p', 'SD', 'SENTIMENTALE', 'FANTASCIENZA', 'MAG', 'DRAMMATICO', 'DOCUMENTARIO', 'MAFIA', 'ANIMAZIONE', 'GEN', 'MARVEL', '4K', 'APR', 'BIOGRAFICO', 'MAR', 'ORROR', 'COMMEDIA', 'FANTASY', 'WESTERN', 'TEEN', 'AVVENTURA', 'POLIZ', 'LD', '[', ']'] myreplace = text for ch in char: myreplace = myreplace.replace(ch, '').replace(' ', ' ').replace(' ', ' ').strip() return myreplace
then
-
Or
Simply use replace. This is what Ive added to mine.
Code
Display Moredef cleanFile(text): cutlist = ['x264','720p','1080p','1080i','PAL','GERMAN','ENGLiSH','WS','DVDRiP','UNRATED','RETAIL','Web-DL','DL','LD','MiC','MD','DVDR','BDRiP','BLURAY','DTS','UNCUT','ANiME', 'AC3MD','AC3','AC3D','TS','DVDSCR','COMPLETE','INTERNAL','DTSD','XViD','DIVX','DUBBED','LINE.DUBBED','DD51','DVDR9','DVDR5','h264','AVC', 'WEBHDTVRiP','WEBHDRiP','WEBRiP','WEBHDTV','WebHD','HDTVRiP','HDRiP','HDTV','ITUNESHD','REPACK','SYNC'] text = text.replace('.wmv','').replace('.flv','').replace('.ts','').replace('.m2ts','').replace('.mkv','').replace('.avi','').replace('.mpeg','').replace('.mpg','').replace('.iso','') for word in cutlist: text = re.sub('(\_|\-|\.|\+)'+word+'(\_|\-|\.|\+)','+', text, flags=re.I) text = text.replace('.',' ').replace('-',' ').replace('_',' ').replace('+','') return text def cleanEnd(text): text = text.replace('.wmv','').replace('.flv','').replace('.ts','').replace('.m2ts','').replace('.mkv','').replace('.avi','').replace('.mpeg','').replace('.mpg','').replace('.iso','').replace('.mp4','') return text
That's for use in Streaming plugins
For Sat channels from the Yellow button you need to add an else to the class tmdbscreen
The above example will remove the word Cine from the EPG for the Spanish Digital + Channels.
Without removing words such as Cine ( and many others too ) TMDB will always return no results. It a pain, but I think Ive now managed to get it to work on every Sat channel available. It just takes time and patience.
I might when I get time add a def to enable it to read a text file located in the plugin folder itself, and then its a simple matter of just adding any word or character to this text file and it will be ignored.
-
you could make a list of invalid characters and apply it to the text_clear of the call epg type:
Python
Display Moredef charRemove(self, text): char = ['MD', '720p', 'HDTC', 'CINEMA', 'TELECINE', '1080p', 'WEBDL', 'HDTS', 'WEBRip', 'R3', 'TELESYNC', 'BluRay', 'HDCAM', '480p', 'SD', 'SENTIMENTALE', 'FANTASCIENZA', 'MAG', 'DRAMMATICO', 'DOCUMENTARIO', 'MAFIA', 'ANIMAZIONE', 'GEN', 'MARVEL', '4K', 'APR', 'BIOGRAFICO', 'MAR', 'ORROR', 'COMMEDIA', 'FANTASY', 'WESTERN', 'TEEN', 'AVVENTURA', 'POLIZ', 'LD', '[', ']'] myreplace = text for ch in char: myreplace = myreplace.replace(ch, '').replace(' ', ' ').replace(' ', ' ').strip() return myreplace
then
Thank you Lululla ! IT works !
Or
Simply use replace. This is what Ive added to mine.
Code
Display Moredef cleanFile(text): cutlist = ['x264','720p','1080p','1080i','PAL','GERMAN','ENGLiSH','WS','DVDRiP','UNRATED','RETAIL','Web-DL','DL','LD','MiC','MD','DVDR','BDRiP','BLURAY','DTS','UNCUT','ANiME', 'AC3MD','AC3','AC3D','TS','DVDSCR','COMPLETE','INTERNAL','DTSD','XViD','DIVX','DUBBED','LINE.DUBBED','DD51','DVDR9','DVDR5','h264','AVC', 'WEBHDTVRiP','WEBHDRiP','WEBRiP','WEBHDTV','WebHD','HDTVRiP','HDRiP','HDTV','ITUNESHD','REPACK','SYNC'] text = text.replace('.wmv','').replace('.flv','').replace('.ts','').replace('.m2ts','').replace('.mkv','').replace('.avi','').replace('.mpeg','').replace('.mpg','').replace('.iso','') for word in cutlist: text = re.sub('(\_|\-|\.|\+)'+word+'(\_|\-|\.|\+)','+', text, flags=re.I) text = text.replace('.',' ').replace('-',' ').replace('_',' ').replace('+','') return text def cleanEnd(text): text = text.replace('.wmv','').replace('.flv','').replace('.ts','').replace('.m2ts','').replace('.mkv','').replace('.avi','').replace('.mpeg','').replace('.mpg','').replace('.iso','').replace('.mp4','') return text
That's for use in Streaming plugins
For Sat channels from the Yellow button you need to add an else to the class tmdbscreen
The above example will remove the word Cine from the EPG for the Spanish Digital + Channels.
Without removing words such as Cine ( and many others too ) TMDB will always return no results. It a pain, but I think Ive now managed to get it to work on every Sat channel available. It just takes time and patience.
I might when I get time add a def to enable it to read a text file located in the plugin folder itself, and then its a simple matter of just adding any word or character to this text file and it will be ignored.
THANK YOU !
-
The issue is only on list type LuckyServer with Vod stream..
at least I hope :)
this test for xcplugin v.6.6 with
Python
Display Moredef charRemove(text): char = ['1080p', '2018', '2019', '2020', '480p', '4K', '720p', 'ANIMAZIONE', 'APR', 'AVVENTURA', 'BIOGRAFICO', 'BDRip', 'BluRay', 'CINEMA', 'COMMEDIA', 'DOCUMENTARIO', 'DRAMMATICO', 'FANTASCIENZA', 'FANTASY', 'FEB', 'GEN', 'GIU', 'HDCAM', 'HDTC', 'HDTS', 'LD', 'MAFIA', 'MAG', 'MAR', 'MARVEL', 'MD', 'ORROR', 'NEW_AUDIO', 'POLIZ', 'R3', 'R6', 'SD', 'SENTIMENTALE', 'TC', 'TEEN', 'TELECINE', 'TELESYNC', 'THRILLER', 'Uncensored', 'V2', 'WEBDL', 'WEBRip', 'WEB', 'WESTERN', '-', '_', '.', '+', '[', ']'] myreplace = text for ch in char: myreplace = myreplace.replace(ch, '').replace(' ', ' ').replace(' ', ' ').strip() return myreplace
of course you can add other words to the list
regards..
-
TMDb v.0.8
- Update- Detailed display of actors, with films in which they were involved
- Display of current cinema films
thx @ schomi
-
TMDb v.0.8-r1
- Current, upcoming, popular, similar, recommended and best rated films
- Acquisition of TMDb data as movie information
- Takeover of the TMDb cover as a film cover
- Delete the EIT file
- more small changes
thx @ schomi
-
TMDb v.0.8-r2
-Works now with mkv, ... files.
thx @ schomi
-
TMDb v.0.8-r3
- Plugin Einstellungen über Vu+ Openwebif möglich
thx @ schomi -
TMDb v.0.8-r4
- More options when saving movie info
thx @ schomi
-
TMDb v.0.8-r5
-Update
-Fix some bugs
thx @ schomi
-
TMDb v.0.8-r6
- Fixed problems with ipv6
thx @ schomi
-
TMDb v.0.8-r7
- Added detection of mp4 files
thx @ schomi
-
TMDb v.0.8-r7
- Added detection of mp4 files
thx @ schomi
Thank but after install i receiver error
no module named extevent
how solve this ?
Thank
Hispa
-
-
/usr/lib/enigma2/python/Components/Sources/
-
Thank but also follow
Problem installing TMDB on openpli image error no module named extevent
not solved.
When i push EPG no tmdb is loaded
Thank
Hispa
-
Following the procedure indicated in #38, it's go very well, but.... there isn't the italian language and it's not optimized for FHD skin too ...:whatthefuck:
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!