srbaber / xbmc-easynews

XBMC interface for Easynews.com Search and playback of video streams.
GNU General Public License v3.0
16 stars 3 forks source link

fix thumbnail url #37

Closed guycls closed 1 year ago

guycls commented 1 year ago

Current thumbnail generation logic leads to broken thumbnail urls.

E.g. file link: https://members.easynews.com/dl/auto/443/2790b226e1cedd7b47924e4587050f9809779f17c77f4.avi/Teen%20Titans%20-%203x11%20-%20%2337%20-%20Bunny%20Raven%20or%20How%20To%20Make%20a%20TitanAnimal%20Disappear.avi

Output: https://th.easynews.com/thumbnails-/27/pr-/2790b226e1cedd7b47924e4587050f9809779f17c.jpg/th-Teen%20Titans%20-%203x11%20-%20%2337%20-%20Bunny%20Raven%20or%20How%20To%20Make%20a%20TitanAnimal%20Disappear.jpg

Expected output: 'https://th.easynews.com/thumbnails-279/pr-2790b226e1cedd7b47924e4587050f9809779f17c.jpg/th-Teen%20Titans%20-%203x11%20-%20%2337%20-%20Bunny%20Raven%20or%20How%20To%20Make%20a%20TitanAnimal%20Disappear.jpg'

guycls commented 1 year ago

@srbaber added small fix for file thumbnails

srbaber commented 1 year ago

Hey. Had to tweak the thumbnail logic...

Did you ever use the route selection tool on easynews... I'm thinking that's the difference between the urls: Mine: https://members.easynews.com/dl/iad/ Yours: https://members.easynews.com/dl/auto/

On Mon, Aug 7, 2023 at 12:51 PM guycls @.***> wrote:

Current thumbnail generation logic leads to broken thumbnail urls.

E.g. file link: https://members.easynews.com/dl/auto/443/2790b226e1cedd7b47924e4587050f9809779f17c77f4.avi/Teen%20Titans%20-%203x11%20-%20%2337%20-%20Bunny%20Raven%20or%20How%20To%20Make%20a%20TitanAnimal%20Disappear.avi

Output: https://th.easynews.com/thumbnails-/27/pr-/2790b226e1cedd7b47924e4587050f9809779f17c.jpg/th-Teen%20Titans%20-%203x11%20-%20%2337%20-%20Bunny%20Raven%20or%20How%20To%20Make%20a%20TitanAnimal%20Disappear.jpg

Expected output: ' https://th.easynews.com/thumbnails-279/pr-2790b226e1cedd7b47924e4587050f9809779f17c.jpg/th-Teen%20Titans%20-%203x11%20-%20%2337%20-%20Bunny%20Raven%20or%20How%20To%20Make%20a%20TitanAnimal%20Disappear.jpg '

You can view, comment on, or merge this pull request online at:

https://github.com/srbaber/xbmc-easynews/pull/37 Commit Summary

File Changes

(1 file https://github.com/srbaber/xbmc-easynews/pull/37/files)

Patch Links:

— Reply to this email directly, view it on GitHub https://github.com/srbaber/xbmc-easynews/pull/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJS4BVXNJVIPRZE7CDPS6ELXUEMJHANCNFSM6AAAAAA3HIIVYI . You are receiving this because you are subscribed to this thread.Message ID: @.***>