• 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 14
[RELEASE] HD-Trailers.net Video Plugin
#91
(2016-04-20, 09:59)ata843 Wrote: Hi all,

I think it would be useful to have a switch between the cinema and DVD releases. Some of us are more interested in what to buy not what to watch in cinema. What do you think?

Regards
-=ata843=-

Looking at http://www.hd-trailers.net/ webpage, the source of the addon trailers, I dont think there is such a category. Also, this addon seems dead. The author is rarely online and hasnt responded here for ages. Too bad, cuz I really liked this one.
Reply
#92
I am no longer seeing movie posters for any of the trailers.

Is this a bug or something?

I hope it can be fixed.
Reply
#93
I found the problem with the missing posters, seems they have change the links on the page to skip out on the http:.
So if you feel comfortable in changing a line of code it can be fixed quite easy.

Find where your addons are stored and go to the plugin.video.hdtrailers_net\resources\lib folder and open up scraper.py
There you need to go to line 145, should look like this
Code:
'thumb': td.a.img['src']

Now just add 'http:' + before the td so it looks like this
Code:
'thumb': 'http:' + td.a.img['src']

Then delete the scraper.pyo file, make sure it ends with PYO. (I'm not sure this is needed but it doesn't hurt)
That's it, hopefully you have posters again!
If you find any spelling mistakes you can keep them ;)
Reply
#94
(2016-04-22, 08:54)Fox Wrote: I found the problem with the missing posters, seems they have change the links on the page to skip out on the http:.
So if you feel comfortable in changing a line of code it can be fixed quite easy.

Find where your addons are stored and go to the plugin.video.hdtrailers_net\resources\lib folder and open up scraper.py
There you need to go to line 145, should look like this
Code:
'thumb': td.a.img['src']

Now just add 'http:' + before the td so it looks like this
Code:
'thumb': 'http:' + td.a.img['src']

Then delete the scraper.pyo file, make sure it ends with PYO. (I'm not sure this is needed but it doesn't hurt)
That's it, hopefully you have posters again!

Awesome! Will try this as soon as I get home from work. Thank you Smile
Reply
#95
Great that you found a fix for this problem with the movie posters not showing in the HD Trailers add-on.

But unfortunately I can't find the scraper.py file. I navigated using OSX Finder to the \[/quote]plugin.video.hdtrailers_net folder, but there's no \resources\lib folder available to me. Can you tell me what I'm doing wrong? Thanks in advance!
Reply
#96
Nevermind my previous noob question. Got it working though Terminal! Great fix, thank you.
Reply
#97
Looks I am gonna be needing some help with this pls. I have zero experience accessing the kodi file system. I tried accessing Kodi via network in Win 8.1 but the \resource\lib folder is not shown. Also I tried SSH but I am not familiar with that either, I managed to list the folder via putty/SSH but I cant find the addon data folder at all. Is there some other way I can access the kodi file system? Preferably something that has a GUI Wink

EDIT. Nevermind I figured it out eventually, using Putty/SSH. And edited the file with nano. Works like a charm again Smile Thank you.
Reply
#98
(2016-04-22, 08:54)Fox Wrote: I found the problem with the missing posters, seems they have change the links on the page to skip out on the http:.
So if you feel comfortable in changing a line of code it can be fixed quite easy.

Find where your addons are stored and go to the plugin.video.hdtrailers_net\resources\lib folder and open up scraper.py
There you need to go to line 145, should look like this
Code:
'thumb': td.a.img['src']

Now just add 'http:' + before the td so it looks like this
Code:
'thumb': 'http:' + td.a.img['src']

Then delete the scraper.pyo file, make sure it ends with PYO. (I'm not sure this is needed but it doesn't hurt)
That's it, hopefully you have posters again!

Can this change be pushed to the add-on in the repository? I was just thinking the same thing (that the posters are missing).
Reply
#99
(2016-04-22, 19:55)springroll Wrote: Can this change be pushed to the add-on in the repository? I was just thinking the same thing (that the posters are missing).

Sure it can be, but that is beyond me Sad

WJ2B and nixpix sorry I couldn't be more clear on the exact location but it is different on different systems.
But I'm glad you both got it working in the end! (and you learned something new Wink)
If you find any spelling mistakes you can keep them ;)
Reply
Thanks Fox your instructions worked perfect and I once again can now see movie posters for all trailers Smile

But I do hope the HD-Trailers add on will be updated soon.
Reply
The only thing now even with this fix is it does not show the movie poster on the menu you can bring up while the trailer is playing.
Reply
(2016-04-23, 01:07)gate1975mlm Wrote: The only thing now even with this fix is it does not show the movie poster on the menu you can bring up while the trailer is playing.

Ah, well that's easy to fix, do the same thing as before but on row 90.
It's not exactly the same code but you should end up with something like this.
Code:
'thumb': 'http:' + span.img['src']
If you find any spelling mistakes you can keep them ;)
Reply
(2016-04-23, 09:30)Fox Wrote:
(2016-04-23, 01:07)gate1975mlm Wrote: The only thing now even with this fix is it does not show the movie poster on the menu you can bring up while the trailer is playing.

Ah, well that's easy to fix, do the same thing as before but on row 90.
It's not exactly the same code but you should end up with something like this.
Code:
'thumb': 'http:' + span.img['src']

Hey Fox that worked as well but I noticed that the movie poster is very small.

Didn't it used to be bigger like how it looks when watching Movies and TV Shows from your Library?

See screenshots below for example

Image


Image
Reply
gate1975mlm,
hmm I doubt it could have changed in size due to anything we did to the code, if anything it should be set by the skin you are using.
If you find any spelling mistakes you can keep them ;)
Reply
Fox,

I created an account here just to say thank you for your posts! I just followed your suggestions and the plugin is working normally for me again! Thanks for taking the time to research and posting your solution!

Cheers!
Reply
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 14

Logout Mark Read Team Forum Stats Members Help
[RELEASE] HD-Trailers.net Video Plugin1