xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
12 Pages V  1 2 3 > »   
Reply to this topicStart new topic
> Xbmc Fox - Firefox Extension, easily send media urls to xbmc from firefox
LiquidIce629
post Apr 15 2006, 03:23 AM
Post #1


X-S Young Member
*

Group: Members
Posts: 30
Joined: 29-December 05
Member No.: 265912



XBMC Fox beta1
by LiquidIce

This adds a new option to the right click menu in Firefox which will send URLS to XBMC (Xbox Media Center) for onscreen playback.

It also allows you to paste the URL of any video or audio file on the web into a textfield and have it play on your TV.

Install this extension like you would any other. usually just dragging the XPI file into the browser works well.

Once installed, restart Firefox, then goto Tools -> Extensions and select XBMC Fox

Press the Options Button at the bottom of the window

In the options box type in the ip address of your xbox.

Make sure that the webserver is enabled on your XBMC by going to:
Settings --> Network -> Servers -> Web Server

Go to a website that links directly to media files. Such as this one:
http://hl.udogs.net/files....20Video

Right click on a link and goto 'Play in XBMC'.

You can also go to Tools - Paste URL to XBMC and paste in the URL to any audio/video file.

IPB Image

I would like to hear some comments on ways to make little javascripts which could scrape links from the various video sites and display clickable links to play the content on the tv. Perhaps a greasemonkey script would also be useful to add 'send to xbox' links to all of the major video sites.

--

I am awaiting approval to mozdev, which will provide an easier installation. Until then you can download the XPI file from sourceforge here: http://sourceforge.net/tracker....1470650

Save it to disk then drag the .XPI file into your firefox window to install.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
slumberpod77
post Apr 15 2006, 04:04 AM
Post #2


X-S Freak
*****

Group: Members
Posts: 1476
Joined: 16-October 04
From: Portland, Oregon
Member No.: 156814
Xbox Version: v1.1
360 version: v1 (xenon)



i cannot currently test it, but i congratulate you on making something which is both cool and useful smile.gif i will try it out ASAP
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jezz_X
post Apr 15 2006, 04:41 AM
Post #3


X-S Knowledgebase
********

Group: Moderator
Posts: 4531
Joined: 22-July 03
From: Australia
Member No.: 51477
Xbox Version: v1.1
360 version: none



Wow that does sound cool
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
xboxbox451
post Apr 15 2006, 05:21 AM
Post #4


X-S Freak
*****

Group: Moderator
Posts: 1015
Joined: 23-January 05
Member No.: 191257
Xbox Version: v1.6
360 version: none



Tried it out. Works Great!

Excellent job beerchug.gif .
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Noodlez
post Apr 15 2006, 07:46 AM
Post #5


X-S Senior Member
**

Group: Members
Posts: 154
Joined: 26-August 03
From: Tulsa, OK
Member No.: 58620
Xbox Version: v1.0
360 version: unknown



Now that is pretty neat,
Not 100% sure what i would need it for but none the less it's a very neato idea. I likes it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
eriktar
post Apr 15 2006, 09:12 AM
Post #6


X-S Enthusiast


Group: Members
Posts: 11
Joined: 24-February 05
Member No.: 201281



@ LiquidIce629

Excelent. Even better than what I sugested in the ajax interface thread. Thanks a bunch!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
bios
post Apr 15 2006, 02:29 PM
Post #7


X-S Member
*

Group: Members
Posts: 101
Joined: 24-August 03
Member No.: 58225



No Shit

This is very nice a love Firefox i love extentions and i do love XBMC

I'll try this at once

Nice work indeed

This post has been edited by bios: Apr 15 2006, 02:30 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LiquidIce629
post Apr 15 2006, 02:56 PM
Post #8


X-S Young Member
*

Group: Members
Posts: 30
Joined: 29-December 05
Member No.: 265912



All we're doing here is calling a command from the HTTP API called PlayFile

/xbmcCmds/xbmcHttp?command=playfile&parameter=http://media.com/file.mpg

Does anyone know if other media players have a similar feature? MythTV? A modded Tivo? Roku? Can a MCE PC be rigged to do the same? Maybe I can easily add support for other players to make this extension more useful.

Also, Donno on IRC had a good idea. I should make a Firefox sidebar that will scrape the currently viewed site for any media urls and display them as links which would play the media on the xbox. If there is anyone out there with some Regular Expression Skills that wants to give me a hand with that, shoot me an email:
liquidice629 at gmail
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
incognegro
post Apr 15 2006, 03:10 PM
Post #9


X-S Hacker
******

Group: XS-BANNED
Posts: 2519
Joined: 23-August 04
Member No.: 141039
Xbox Version: v1.0
360 version: unknown



QUOTE(eriktar @ Apr 15 2006, 09:19 AM) *

@ LiquidIce629

Excelent. Even better than what I sugested in the ajax interface thread. Thanks a bunch!



Yea I mentioned it in the ajax thread too. There use to be a script/program called url paster that did the same thing but it stoppe working after awhile.

Anyways i tested and all it does is bring up the "caching" dialogs on xbmc and then does nothing. am I doing something wrong?

Here's my log :

QUOTE

09:45:28 M: 53854208 NOTICE: -----------------------------------------------------------------------
09:45:28 M: 53854208 NOTICE: Starting XBoxMediaCenter. Built on Apr 13 2006
09:45:28 M: 53854208 NOTICE: Q is mapped to: Harddisk0\Partition1\apps\XBMC
09:45:28 M: 53854208 NOTICE: Log File is located: Q:\xbmc.log
09:45:28 M: 53854208 NOTICE: -----------------------------------------------------------------------
09:45:28 M: 53854208 NOTICE: Setup DirectX
09:45:28 M: 53854208 INFO: Available videomodes:
09:45:28 M: 53854208 INFO: Found mode: 720x480 at 60Hz,
09:45:28 M: 53829632 INFO: Mouse inserted on port 3
09:45:28 M: 53829632 NOTICE: load settings...
09:45:28 M: 53829632 NOTICE: loading T:\settings.xml
09:45:28 M: 53710848 NOTICE: Getting hardware information now...
09:45:28 M: 53710848 INFO: Using digital output
09:45:28 M: 53710848 INFO: AC3 pass through is enabled
09:45:28 M: 53710848 INFO: DTS pass through is enabled
09:45:28 M: 53710848 NOTICE: Checking resolution 10
09:45:28 M: 53710848 INFO: AV Pack: S-Video
09:45:28 M: 53710848 INFO: AV Flags:
09:45:28 M: 53710848 NOTICE: Setting autoresolution mode 4
09:45:28 M: 53837824 NOTICE: loading Q:\XboxMediaCenter.xml
09:45:31 M: 50196480 NOTICE: loaded Q:\system\players\mplayer\ISO639-1.xml
09:45:31 M: 50155520 NOTICE: loaded Q:\system\players\mplayer\ISO639-2.xml
09:45:31 M: 50049024 ERROR: Window Translator: Can't find window mymusictop100
09:45:31 M: 50044928 ERROR: Window Translator: Can't find window webbrowser
09:45:31 M: 50024448 ERROR: Window Translator: Can't find window webbrowserosd
09:45:31 M: 50024448 ERROR: Window Translator: Can't find window webbookmarks
09:45:31 M: 50024448 ERROR: Window Translator: Can't find window webhistory
09:45:31 M: 50040832 NOTICE: initialize assignment:[dhcp] network ip:[192.168.0.188] netmask:[255.255.255.0] gateway:[192.168.0.1] nameserver:[192.168.0.1]
09:45:31 M: 50040832 NOTICE: use DHCP
09:45:33 M: 49725440 NOTICE: start timeserver thread
09:45:33 M: 49201152 NOTICE: start webserver
09:45:33 M: 48525312 NOTICE: XBFileZilla: Starting...
09:45:34 M: 46399488 NOTICE: XBFileZilla: Started
09:45:34 M: 46399488 NOTICE: Start LED Control
09:45:34 M: 46399488 NOTICE: Checking the Date!
09:45:34 M: 46399488 NOTICE: start dvd mediatype detection
09:45:34 M: 45875200 NOTICE: initializing playlistplayer
09:45:34 M: 45875200 NOTICE: start fancontroller
09:45:34 M: 45350912 NOTICE: load default skin:[Project Mayhem III]
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43958272 WARNING: CURL::CURL - Url has no protocol ?, empty CURL created
09:45:34 M: 43589632 NOTICE: initialize done
09:45:34 M: 43065344 NOTICE: AudioScrobbler: load cache
09:45:34 M: 43065344 NOTICE: Running the application...
09:45:34 M: 32169984 NOTICE: AudioScrobbler: Handshaking: Client up to date.
09:45:34 M: 32149504 NOTICE: AudioScrobbler: Handshake successful.
10:04:39 M: 25042944 WARNING: CURL::CURL - Url has no protocol config, empty CURL created
10:05:31 M: 1323008 WARNING: Unable to resolve: advapi32.dll AllocateAndInitializeSid
10:05:31 M: 1323008 WARNING: Unable to resolve: advapi32.dll AllocateAndInitializeSid
10:05:31 M: 380928 ERROR: Unable to open dll Q:\system\players\mplayer\codecs\QuickTimeEssentials.qtx
10:05:31 M: 380928 ERROR: Unable to open dll Q:\system\players\mplayer\codecs\QuickTimeEssentials.qtx
10:05:31 M: 380928 ERROR: LoadLibrary('QuickTimeEssentials.qtx') failed
10:05:31 M: 380928 ERROR: Unable to open dll Q:\system\players\mplayer\codecs\QuickTimeInternetExtras.qtx
10:05:31 M: 380928 ERROR: Unable to open dll Q:\system\players\mplayer\codecs\QuickTimeInternetExtras.qtx
10:05:31 M: 380928 ERROR: LoadLibrary('QuickTimeInternetExtras.qtx') failed
10:05:31 M: 323584 WARNING: Unable to resolve: advapi32.dll AllocateAndInitializeSid
10:05:31 M: 245760 WARNING: Unable to resolve: advapi32.dll AllocateAndInitializeSid
10:05:31 M: 163840 ERROR: Could not create RGB lookup textures
10:05:31 M: 32768 SEVERE: DLL: Q:\system\players\mplayer\mplayer.dll : malloc failed, crash imminent
10:05:31 M: 12288 ERROR: cmplayer::openfile() http://hl.udogs.net/files/Gaming/Bungie Related Movies/MWSF 2000/Freewill Halo Video/AlexIntrosJoe_MWSF00.mov failed
10:06:05 M: 25022464 WARNING: CURL::CURL - Url has no protocol config, empty CURL created
10:07:14 M: 2301952 WARNING: Unable to resolve: advapi32.dll AllocateAndInitializeSid
10:07:14 M: 2301952 WARNING: Unable to resolve: advapi32.dll AllocateAndInitializeSid
10:07:14 M: 802816 ERROR: Unable to open dll Q:\system\players\mplayer\codecs\QuickTimeInternetExtras.qtx
10:07:14 M: 802816 ERROR: Unable to open dll Q:\system\players\mplayer\codecs\QuickTimeInternetExtras.qtx
10:07:14 M: 802816 ERROR: LoadLibrary('QuickTimeInternetExtras.qtx') failed
10:07:14 M: 761856 WARNING: Unable to resolve: advapi32.dll AllocateAndInitializeSid
10:07:14 M: 684032 WARNING: Unable to resolve: advapi32.dll AllocateAndInitializeSid
10:07:14 M: 86016 ERROR: cmplayer::openfile() http://hl.udogs.net/files/Gaming/Bungie Related Movies/MWSF 2000/Freewill Halo Video/LiveHaloPreview_MWSF00.mov failed
10:09:36 M: 32026624 ERROR: Window Translator: Can't find window webbrowser
10:09:36 M: 32026624 ERROR: Activate/ReplaceWindow called with invalid destination window: webbrowser
10:09:48 M: 34119680 NOTICE: Storing total System Uptime
10:09:48 M: 34119680 NOTICE: Saving settings
10:09:48 M: 34119680 NOTICE: stop all
10:09:48 M: 34119680 NOTICE: stop webserver
10:09:48 M: 34701312 NOTICE: stop time server
10:09:48 M: 36274176 NOTICE: stop dvd detect media
10:09:48 M: 36798464 NOTICE: stop fancontroller
10:09:49 M: 37322752 NOTICE: stop mplayer
10:09:49 M: 37322752 NOTICE: stop daap clients
10:09:49 M: 37322752 NOTICE: stop python
10:09:49 M: 37322752 NOTICE: clean cached files!
10:09:49 M: 37322752 NOTICE: unload skin
10:09:50 M: 47931392 NOTICE: unload sections
10:09:50 M: 48017408 NOTICE: destroy
10:09:50 M: 52232192 NOTICE: stopped


This post has been edited by incognegro: Apr 15 2006, 03:24 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LiquidIce629
post Apr 15 2006, 03:24 PM
Post #10


X-S Young Member
*

Group: Members
Posts: 30
Joined: 29-December 05
Member No.: 265912



Maybe the site your trying to play from isn't connecting on the xbox?

Try to play one of the direct http links from here:

http://revision3.com/diggnation/2006-04-06/media
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
bios
post Apr 15 2006, 03:58 PM
Post #11


X-S Member
*

Group: Members
Posts: 101
Joined: 24-August 03
Member No.: 58225



Video works for me, audio streams don't (http://www.di.fm/mp3/breaks.pls for example)
It opens caches and then nothing but it could be me, i should do a fresh install smile.gif, direct mp3 links a stated above do.

Would it be easy to create a XMBC is now playing extention (like in ajax).

Can someone point me in the right direction i'm likeing this websevers stuff and i'm going to look into it

This post has been edited by bios: Apr 15 2006, 04:07 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LiquidIce629
post Apr 15 2006, 05:39 PM
Post #12


X-S Young Member
*

Group: Members
Posts: 30
Joined: 29-December 05
Member No.: 265912



Yeah XBMC's Playfile command does not understand what to do with the .pls playlist file you sent it. It will only detect audio files such as mp3, ogg, wav, etc.. I have not found a good way around it, ideally the httpapi could be updated to automatically detect what kind of media it is and play it, right now it only wants to see an audio or video file, not a playlist or shoutcast url.

I have already created an AJAX webpage for XBMC, search this forum for ajax and you'll find it. You could probably strip out the GetCurrentlyPlaying functions from my code and make a seperate little page for that if you wanted a now playing sidebar.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
iLLNESS
post Apr 15 2006, 06:14 PM
Post #13


X-S Genius
****

Group: XS-BANNED
Posts: 766
Joined: 21-June 03
From: Ontario, Canada
Member No.: 45016
Xbox Version: v1.3
360 version: v1 (xenon)



wow. this addon is handy as hell.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
CattyKid
post Apr 15 2006, 06:16 PM
Post #14


X-S Messiah
*******

Group: Head Moderator
Posts: 3617
Joined: 16-January 05
From: The Great Continental 48
Member No.: 188467
Xbox Version: v1.0
360 version: v1 (xenon)



This is VERY cool. You guys, again, deserve a nice pat on the back!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
focusedsoul
post Apr 15 2006, 06:23 PM
Post #15


X-S Member
*

Group: Members
Posts: 89
Joined: 17-August 05
From: Scotland
Member No.: 241260
Xbox Version: v1.4
360 version: v1 (xenon)



Just tried it, perfection biggrin.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





12 Pages V  1 2 3 > » 
Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 21st May 2013 - 11:43 AM