Posts: 45
Joined: Aug 2020
Reputation:
0
2022-05-30, 14:53
(This post was last modified: 2022-05-30, 14:59 by michelb2.)
i was editing my revious message while you wrote yours. !!
yes i test
Posts: 45
Joined: Aug 2020
Reputation:
0
2022-05-30, 17:02
(This post was last modified: 2022-05-30, 17:03 by michelb2.)
a small remark
at the beginning of file tmdb.py don't forget to add
import re
Posts: 45
Joined: Aug 2020
Reputation:
0
2022-05-31, 07:51
(This post was last modified: 2022-05-31, 08:19 by michelb2.)
2022-05-31 07:42:25.495 T:10404 INFO <general>: [metadata.themoviedb.org.python]: Find movie with title 'dummy [tmdb#85870]' from year 'None'
2022-05-31 07:42:25.690 T:10404 INFO <general>: [metadata.themoviedb.org.python]: Find mo1vie tmdb with title 'dummy [tmdb#85870]' media '{'type': 'tmdb', 'id': '85870'}' result '{'adult': False, 'backdrop_path': ........
'dummy [tmdb#85870]' is Ok
'dummy (tmdb#85870)' is Not OK
'dummy (tmdb#285)' => dummy (2002) is Not OK because it search for dummy (year=none)
i guess that with () kodi first thought is was a year and search for title=dummy, year=tmdb#85870 (ie none)
when it found a movie without year it's "dummy (2002)"
try with
dummy (tmdb#38700) => dummy (2002)
dummy [tmdb#38700]= > bad boys for life (2020)
but
dummy (tmdb#38700) (2020) => dummy (2020) it's a real movie name !
dummy [tmdb#38700] (2020) => bad boys for life (2020)
dummy tmdb#38700 => bad boys for life (2020)
so don't use () for the moment use [] or nothing
Posts: 15
Joined: May 2022
Reputation:
0
Z3b2G
Junior Member
Posts: 15
Sad ... still don't work, looks like the bug is in the scrapper ou the tmdb API ...
Some not working files :
clo [tmdb#85870].mkv
in the forest [395452].avi
HP1 [tmdb#671].mkv
but this one works fine :
tmdb#672.mkv
More ... if I rename 'clo [tmdb#85870].mkv' to 'tmdb#85870.mkv' ... it's working ... the true is elsewhere ... ??!?
Any idea ?!
Posts: 15
Joined: May 2022
Reputation:
0
Z3b2G
Junior Member
Posts: 15
More tests ... less understandable ...
Need tests from another Kodi user.
Bye.
Posts: 45
Joined: Aug 2020
Reputation:
0
2022-05-31, 20:12
(This post was last modified: 2022-05-31, 20:39 by michelb2.)
sorry for you but
clo [tmdb#85870].mkv ) => cloclo (2012)
same for tmdb#85870.mkv
same for HP1 [tmdb#671].mkv==> harry potter à l'ecole des sorciers (2001)
are you sure your code are ok ?
...but i stop as you want another user
my mistake :
in advancedsettings.xml
for your examples working, i need to add
<cleanstrings> <regexp>\(.*\)?</regexp> </cleanstrings>
Posts: 15
Joined: May 2022
Reputation:
0
Z3b2G
Junior Member
Posts: 15
Hi world,
any news about this request ?
Does anybody have try this ?
Thanks,
bye.