Giter Site home page Giter Site logo

Comments (11)

taxigps avatar taxigps commented on July 3, 2024
  1. icon file too small. suggest to use this icon file: https://github.com/taxigps/xbmc-addons-chinese/blob/master/plugin.video.cntv-live/icon.png
  2. some bug:
    1. can't play when hls_url like: http://tv.fw.live.cntv.cn/channel7/seg0/index.m3u8?AUTH=ip%3D221.7.193.214%7Est%3D1419046054%7Eexp%3D1419132454%7Eacl%3D%2F*%7Ehmac%3D3b8a3c27d37eaa6bbb1225a96a525f1034c3a7889b816944537f22e325ca9f08
      e.g. cctv2
    2. some channel don't have a hls_url, only have hds_url. e.g. CCTV6

from xbmc-addons-chinese.

RunasSudo avatar RunasSudo commented on July 3, 2024
  1. Sorry. I accidentally exported the image at the wrong size. I have fixed this in 2.0.1.

2a. CCTV2 works for me: http://ak.live.cntv.cn/i/cctv2_1@139970/index_500_av-p.m3u8?AUTH=...

2b. CCTV6 is not working for me, even on the CNTV website: 由于播出安排变更,暂时不提供该时段内容. I will look into this later.

from xbmc-addons-chinese.

taxigps avatar taxigps commented on July 3, 2024

only cctv1 work in my test.
cctv2 get data like this:

var html5VideoData = '{"hls_url":{"hls4":"http://cctv2.vtime.cntv.cloudcdn.net:8000/live/no/204_/seg0/index.m3u8?AUTH=CcwwuFVdljVjn0F7TulvZ8xX9IE7GY1eLhzr2zlAt/yPNkj06Gx0rYW+1wvAdQWCEd1jd94f6LmDyALwy9PIqQ==","hls3":"http://tv.fw.live.cntv.cn/channel7/seg0/index.m3u8?AUTH=ip%3D222.216.97.10%7Est%3D1419053971%7Eexp%3D1419140371%7Eacl%3D%2F*%7Ehmac%3D708d332f5e3dc72a48358048003995c9e5f6393853f671e8d7d236e669fd2bde","hls5":"http://vpic1.cntv.cloudcdn.net:8000/live/pic/channel204","hls2":"http://cctv2.vtime.cntv.cloudcdn.net:8000/live/no/204_/seg0/index.m3u8?AUTH=CcwwuFVdljVjn0F7TulvZ8xX9IE7GY1eLhzr2zlAt/yPNkj06Gx0rYW+1wvAdQWCEd1jd94f6LmDyALwy9PIqQ==","hls1":"http://vapp1.fw.live.cntv.cn:8000/cache/cctv2.m3u8?AUTH=ip%3D222.216.97.10%7Est%3D1419053971%7Eexp%3D1419140371%7Eacl%3D%2F*%7Ehmac%3D708d332f5e3dc72a48358048003995c9e5f6393853f671e8d7d236e669fd2bde"},"hds_url":{"hds1":"http://vcbox1.fw.live.cntv.cn:8000/cache/cctv2.f4m?AUTH=ip%3D222.216.97.10%7Est%3D1419053971%7Eexp%3D1419140371%7Eacl%3D%2F*%7Ehmac%3D708d332f5e3dc72a48358048003995c9e5f6393853f671e8d7d236e669fd2bde","hds2":"http://cctv2.vtime.cntv.cloudcdn.net:8000/live/flv/channel204?AUTH=CcwwuFVdljVjn0F7TulvZ8xX9IE7GY1eLhzr2zlAt/yPNkj06Gx0rYW+1wvAdQWCEd1jd94f6LmDyALwy9PIqQ==","hds3":"","hds4":"","hds5":""},"hls_cdn_info":{"cdn_code":"LIVE-HLS-CDN-FW","cdn_name":"3rd......"},"client_sid":"4868b5aafc3848179ec8f5bd4c6f6d14","ack":"yes","hds_cdn_info":{"cdn_code":"LIVE-HDS-CDN-FW","cdn_name":"3rd......"},"lc":{"isp_code":"1","city_code":"NN","provice_code":"GX","country_code":"CN","ip":"222.216.97.10"}}';getHtml5VideoData(html5VideoData);

from xbmc-addons-chinese.

RunasSudo avatar RunasSudo commented on July 3, 2024

That's strange. tv.fw.live.cntv.cn resolves to 127.0.0.1 on my computer.

Can you post the contents of the http://tv.fw.live.cntv.cn/channel7/seg0/index.m3u8?... file?

from xbmc-addons-chinese.

taxigps avatar taxigps commented on July 3, 2024

http://tv.fw.live.cntv.cn/channel7/seg0/index.m3u8?AUTH=...
返回页面是HTTP 403 禁止访问

from xbmc-addons-chinese.

RunasSudo avatar RunasSudo commented on July 3, 2024

Hmm... I'll need to investigate this further.

from xbmc-addons-chinese.

taxigps avatar taxigps commented on July 3, 2024

change to use hls4 will let more cctv channel work like cctv2. most channel not have hls_url so can't play. and not need to read m3u8 url, just play it is ok.

from xbmc-addons-chinese.

RunasSudo avatar RunasSudo commented on July 3, 2024

I'll look into using HDS for channels like CCTV6, but I don't know if XBMC supports HDS.

from xbmc-addons-chinese.

RunasSudo avatar RunasSudo commented on July 3, 2024

https://github.com/RunasSudo/plugin.video.cntv-live/tree/f4573a42b43b958548f54af054f56eb90a87fad4/plugin.video.cntv-live

This should work.

from xbmc-addons-chinese.

taxigps avatar taxigps commented on July 3, 2024

Have released v2.0.1 to xbmc-addon-chinese repository. thanks!
And some little change for the code:

  1. add notification for channel not support. 3c2d6ba
  2. change to use json. d6cfd59
    And only support some cctv channel now in my test. others channel don't have hls_url.

from xbmc-addons-chinese.

RunasSudo avatar RunasSudo commented on July 3, 2024

Thank you. I will add your changes to the main repository for the next version.

from xbmc-addons-chinese.

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.