Giter Club home page Giter Club logo

Comments (5)

thombet avatar thombet commented on June 16, 2024 1

Just updated the add-on on my side and it works like a charm :)
Thank you @jaylinski for fixing it, it was quick!

from kodi-addon-vimeo.

jaylinski avatar jaylinski commented on June 16, 2024

This is weird, the video requested in your log has ?f=dash at the end.

2020-04-09 11:21:39.973 T:123145303990272   DEBUG: CCurlFile::Open - effective URL: <https://8vod-adaptive.akamaized.net/exp=1586438499~acl=%2F142130607%2F%2A~hmac=6dfa0a6230178bba34d819db7ef11b1d4f5c2c70b5c7d1372604049b7679a872/142130607/video/439018802,439018800,439018799/master.m3u8?f=dash>

This is what I'm seeing:

2020-04-09 06:34:16.628 T:140295912027904   DEBUG: CCurlFile::Open - effective URL: <https://8vod-adaptive.akamaized.net/exp=1586442858~acl=%2F142130607%2F%2A~hmac=ab3e4232c2fdcc3fd1a80dda5f2bea37603a52f6de4c6ee50a53419ac86e22d5/142130607/video/439018802,439018800,439018799/master.m3u8>

So it seems that you are getting some kind of HLS/DASH format which ffmpeg in Kodi can't play.

As a workaround you can choose another streaming format in the plugin settings (eg 1080p).

from kodi-addon-vimeo.

jaylinski avatar jaylinski commented on June 16, 2024

I could recreate the issue by sending the requests with a macOS user-agent header (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2).

But I don't know were this user-agent gets attached to the request. I'll investigate.

from kodi-addon-vimeo.

thombet avatar thombet commented on June 16, 2024

As a workaround you can choose another streaming format in the plugin settings (eg 1080p).

Yes I confirm it works when the streaming quality is not "HLS (Adaptive)". I can live with this workaround so nothing urgent on my side.

But I don't know were this user-agent gets attached to the request. I'll investigate.

Thanks :)

from kodi-addon-vimeo.

jaylinski avatar jaylinski commented on June 16, 2024

@thombetous Thanks for confirming.

The issue seems to be that Kodi is resolving the HLS URL by doing a cURL call:

2020-04-09 07:06:29.459 T:140280518919936   DEBUG: CurlFile::Open(0x7f959a7fad10) https://player.vimeo.com/play/439018802,439018800,439018799/hls?s=142130607_1586437590_ef6a2389313a7cccaea5af7967883838&context=Vimeo%5CController%5CApi%5CResources%5CVideoController.&logging=false

And Kodi automatically appends the User-Agent according to the current operating system.

from kodi-addon-vimeo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.