Comments (6)
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.
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.
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.
No problem. I'll push the update soon.
from play-to-xbmc-chrome.
Awesome. I'll close this issue. Send me a pull request when you're ready.
from play-to-xbmc-chrome.
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)
- Queue Playlist unresponsive
- Play to Kodi failed on multiple systems and hardware
- Options > Host not saving
- Stopped working with Youtube
- Fails to play - skipping unplayable item
- Could not determine what to do with link: magnet:? HOT 2
- Autoplay/Conext menu option
- During Playback Enter doesn't open the Player controls (OSD)
- Support european Arte television website
- Can't run play to kodi for magnet urls
- Would it be possible to add support for lbry.tv?
- how can I add/play video from bilasports.net
- HTTPS Unsupported
- Scrubbing/Timeskip no longer working? HOT 1
- Play to Kodi not working for Soundcloud
- Coreelec 19.2
- Not working with Kodi 19 (Matrix) HOT 5
- Need help to setup HOT 1
- Where is the Debug Logfile HOT 1
- [Feature Request] Plz add Rumble support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from play-to-xbmc-chrome.