Giter Club home page Giter Club logo

Comments (6)

khloke avatar khloke commented on August 22, 2024

Sounds like a good idea. But how do you handle videos that are already playing when you visit a valid site? Do you just play the current site or queue it?

Calling it mirror mode seems a little misleading. People might think XBMC will show whatever is seen in their browser, as in a true mirror mode. Maybe call it auto play? Or something along those lines.

from play-to-xbmc-chrome.

cucko avatar cucko commented on August 22, 2024

Yes, 'auto play' is better name.

Here is my idea, lets say you have playlist on youtube.com or mycloudplayers.com (i'm not sure about playlists on other sites).
As you start playing first media, XBMC will start, and will continue playing as the playlist goes on client tab.
I have xbmc server in my other room, and i want to play same music there too.

Same thing goes if you want to search for media and play, if it plays on client browser, it will be played automatically on xbmc.

I'll check what's happening on other supported sites with playlists.

from play-to-xbmc-chrome.

khloke avatar khloke commented on August 22, 2024

I've been thinking of changing the behaviour of the 'Play Now' and 'Queue' buttons when viewing a playlist, for example http://youtube.com/playlist, so that 'Play Now' will stop whatever is playing and start playing the whole playlist and the 'Queue' button will queue the whole youtube playlist in XBMC instead of always needing to use the 'Queue Playlist' button.

What you could do is add another option that's something like 'Autoplay default action' and have a dropdown to select 'Play' or 'Queue'. Then in the onUpdate() listener, just call the method for playCurrentUrl() or queueCurrentUrl() depending on the selected option. I'll eventually modify the behaviour of those methods to act like I described above.

from play-to-xbmc-chrome.

cucko avatar cucko commented on August 22, 2024

No problem. I'll push the update soon.

from play-to-xbmc-chrome.

khloke avatar khloke commented on August 22, 2024

Awesome. I'll close this issue. Send me a pull request when you're ready.

from play-to-xbmc-chrome.

cucko avatar cucko commented on August 22, 2024

I'm almost done with the code. But, I've updated XBMC to v13 rc1 and it looks like there's problem with soundcloud plugin.
On xbmc start, everything is working fine, when i want to push another track from remote or on url change, the player stops and nothing happens.
Is anyone experiencing same problems on v13?

from play-to-xbmc-chrome.

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.