XBMC Widget for Mac OS X users
#31
Nice!
Reply
#32
Here's beta2 in which I improved the virtual keyboard functionality:

http://dl.dropbox.com/u/26006009/XBMC%20....beta2.zip

T
Reply
#33
Solved an issue with connection management:

http://dl.dropbox.com/u/26006009/XBMC%20....beta3.zip
Reply
#34
That is really awesome, thank you for the great widget. It's the only one on my dashboard Smile.
Reply
#35
Hi!

XBMC Frodo is out now, and also this widget is close to its final version. Here's one more beta in which I added a little bit more functionality:

http://dl.dropbox.com/u/26006009/XBMC%20....beta4.zip

- Show codec info of the currently playing item: o
- You can now use the arrow keys on your keyboard or the widget to (fast)skip back and forth in a video when it plays fullscreen

If you encounter any problems or errors, please post them here in the forum and I will (try to) fix em!

T
Reply
#36
A few more functions added:

- Exit XBMC: Fn+Backspace
- Play a YouTube video link: Copy YouTube url in browser > Open widget > Cmd+v (needs YouTube addon)

http://dl.dropbox.com/u/26006009/XBMC%20....beta5.zip
Reply
#37
Made some improvements in the code. Also, the YouTube link function now accepts playlist links as well:

http://dl.dropbox.com/u/26006009/XBMC%20....beta6.zip
Reply
#38
Here's version 2.0 and the final one (for now) of the XBMC Remote Widget for Frodo:

http://dl.dropbox.com/u/26006009/XBMC%20...20v2.0.zip


Changes since the last version (v2.b6):

1) Apart form pasting a YouTube link to the widget (introduced in v2.b5 & b6), you can now also drag/drop YouTube links (similar to the widget that was originally posted here). At the moment though, the YouTube plugin is broken - it will probably be fixed in the next few days or so. You can also find a quick fix here on the forum: http://forum.xbmc.org/showthread.php?tid=79487&page=296

2) I introduced the use of the arrow keys to skip back and forth in a movie when playing fullscreen in v2.b4. It turned out that this caused some undesired behavior in the "Context>Change Content" menu. To prevent this, you now have to hold "shift" when skipping through a movie at fullscreen.

If you run into any problems or find a bug, please post here and I will (try to) fix it!

Cheers!
Reply
#39
Found and fixed an error in the code with regard to the handling of the virtual keyboard:

http://dl.dropbox.com/u/26006009/XBMC%20...v2.0.1.zip
Reply
#40
A small update:

1) Rollover (button) effect of the XBMC logo will be switched off if one or more of the fields "Port SSH", "User" or "Password" are left empty, because the ssh-startup function is not used in that case.
2) Some minor code optimizations.

http://dl.dropbox.com/u/26006009/XBMC%20...v2.0.3.zip
Reply
#41
The last YouTube update (to 4.4) broke the possibility to send video-links from the widget to the YouTube-addon. Although it's not a bug in the widget (several other remote apps experience the same issue), I implemented a (possibly temporary) workaround in this update.

In short, drag/dropping or copying a YouTube-link to the widget should work again with this update:

https://dl.dropboxusercontent.com/u/2600...v2.0.4.zip
Reply
#42
Feel free to do with this as you wish (within reason): XBMC Remote Dashboard Widget (wiki)

Which is also listed on the Supplemental tools/Mac OS X (wiki) page.

See here for some ideas: Help:Supplemental tool page (wiki)

Feel free to message me with any questions.
Reply
#43
Hi Ned,

Thanks a lot! Much better indeed - it looks very nice and I don't have anything to add at the moment. Apart from posting future update over here, I'll also keep the wiki updated from now on!

Cheers!
Reply
#44
Appreciate your work on this Topfjoer. I use this widget almost daily.
Reply
#45
Hi,

I've replaced the makelink function with this:

Code:
// Extract video- or playlist-id and send to remote function
// regex from: http://linuxpanda.wordpress.com/2013/07/24/ultimate-best-regex :
function makelink(url) {
    videore = /(?:http|https|)(?::\/\/|)(?:www.|)(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/ytscreeningroom\?v=|\/feeds\/api\/videos\/|\/user\S*[^\w\-\s]|\S*[^\w\-\s]))(
[\w\-]{11})[a-z0-9;:@#?&%=+\/\$_.-]*/
    listre = /(?:http|https|)(?::\/\/|)(?:www.|)(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/ytscreeningroom\?v=|\/feeds\/api\/videos\/|\/user\S*[^\w\-\s]|\S*[^\w\-\s]))([
\w\-]{12,})[a-z0-9;:@#?&%=+\/\$_.-]*/
    var videoid = false;
    var listid = false;
    try {videoid = videore.exec(url)[1];} catch (e) {};
    try {listid = listre.exec(url)[1];} catch (e) {};
    var notify = document.getElementById('notify');
    if (listid) {
        Remote('Player.Open','plugin://plugin.video.youtube/?path=/root/playlists&action=play_all&playlist='+listid);
    }
    else if (videoid) {
        Remote('Playlist.Clear','','Playlist.Add','plugin://plugin.video.youtube/?action=play_video&videoid='+videoid,'Player.Open','');
    }
    else {
        notify.style.display = 'block'; setTimeout('notify.style.display = "none";', 1500);
    };
}

This allows for the new youtu.be URLs and a lot more. I've not gotten the youtu.be URLs containing a list ID to properly work though, but I'll probably do something with the new "PL" prefix.

Topfjoer, if you like it, you could add it to your version. If not, would you mind me putting your code with my additions on github? What license, if at all, would you want to use?

Almost forgot, I (of course) removed the split(/[?]/) from the Paste function to make this work.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC Widget for Mac OS X users0