Giter Site home page Giter Site logo

Comments (11)

ruuk avatar ruuk commented on August 26, 2024

I think the issue form is good for developers as well. It's a good tool to let us communicate.

My first thought was that I needed to set the user agent. That didn't work. I'll look at it some more.

from xbmc.service.pushbullet.

elbowz avatar elbowz commented on August 26, 2024

Can you reproduce the bug?

I don't think is the user agent, my add-on did a playlist through the xbmc json

from xbmc.service.pushbullet.

ruuk avatar ruuk commented on August 26, 2024

I reproduced it. It is weird because the url is passed to XBMC, but XBMC fails on playback. That's why I thought it might be a user agent issue. Setting a user agent didn't help though. I'll figure it out :)

from xbmc.service.pushbullet.

elbowz avatar elbowz commented on August 26, 2024

I'm sure of that! ...if you can help you, try to see my old code. I did a simple call to executeJsonRPC (now, I'm on smartphone...I can not be more deep and detailed)

from xbmc.service.pushbullet.

elbowz avatar elbowz commented on August 26, 2024

mhhh... now, I'm without my pc.

I have seen a rapidly your code, I think I'm wrong, but the issue (also for latest issue on posted on xbmc forum) is here: https://github.com/elbowz/xbmc.service.pushbullet/blob/master/lib/pushhandler.py#L118

on playMedia.

I think you have to clear playlist before do a new one...but tomorrow I can do some test.

I also think that if we use youtube plugin the tags (title, thumbs, etc...) are already filled.

tomorrow I'll be able to say you more :)

from xbmc.service.pushbullet.

ruuk avatar ruuk commented on August 26, 2024

I think you have to clear playlist before do a new one...

You're right. I should have looked at your json code in the first place :) Fixed and it works correctly now. I will post an update soon.

I also think that if we use youtube plugin the tags (title, thumbs, etc...) are already filled.

True. That is why I had to use xbmc.Player().Play(), so I could add the data to the ListItem. We can't use the youtube plugin because it is usually broken and besides, it doesn't handle the 270 other sites that youtube-dl module handles. This method will also in the future allow us to set the tags for direct video links or set it with data from the push itself.

from xbmc.service.pushbullet.

elbowz avatar elbowz commented on August 26, 2024

good!

I'll test your fix...this also fix this issue?

from xbmc.service.pushbullet.

elbowz avatar elbowz commented on August 26, 2024

Seems the issue is fixed, don't works only on movietrailers.apple.com, but apple is apple (read closed (read shit))

if you try: https://archive.org/download/HouseOfFrankenstein-Trailer/Trailer-HouseOfFrankenstein.divx

works like a charm

from xbmc.service.pushbullet.

ruuk avatar ruuk commented on August 26, 2024

Nope. Still working on it. I tried using your original json code, but got the same result. There is something about the url that Kodi doesn't like. I'm going to look at how youtube-dl handles that video and see if that tells me something.

from xbmc.service.pushbullet.

elbowz avatar elbowz commented on August 26, 2024

How you prefer...for me the trouble is Apple :)

from xbmc.service.pushbullet.

ruuk avatar ruuk commented on August 26, 2024

It was a user agent issue. If I set the user agent to:

QuickTime compatible (Kodi)

It works. I will just set the User-Agent to this for .mov files (or perhaps only .mov files on apple.com)

from xbmc.service.pushbullet.

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.