EDIT: Now with the ability to view webpages! Follow the instructions below - I have edited them for the new version.
So, without further ado, I'm releasing my Online Content Plugin. The idea is that you can select sources that you want to search, then you can search it, and the results are shown. Depending on the results, you can play them or just view the description.
Currently, there are two sources - Yahoo Launch music videos US and CNN News. However, anyone can create more source plugins - simply create a new .net assembly, and implement the IOnlineContentSource interface in OCPlugin.dll. I hope people will create more sources!
The Yahoo Launch plugin returns items that launch into video streams, and the CNN News plugin returns items that open in the web page viewer.
Currently, the plugin only works with the BlueTwo skin, simply because that's the skin I'm using. Also, the graphics for the screens are a mish-mash of other parts of MP because I haven't asked Samsonite to create some images for me yet (can you, Samsonite? ;-) ). Also, the language has to be English.
To install:
- Download http://mercury.walagata.com/w/samuel337/myOCPlugin11.zip
- Extract the zip file to your mediaportal folder. All the files should fall into place - caution: it will overwrite your existing strings.xml for English.
- In detail, strings.xml goes to mediaportal\language\English
MyOCMainScreen.xml and MyOCSelectSources.xml goes to mediaportal\skin\BlueTwo
OCSYahooMusicVideoPlugin.dll goes to mediaportal\plugins\OCS (you need to create this folder)
OCSCNNNewsPlugin.dll goes to mediaportal\plugins\OCS
OCPlugin.dll goes to mediaportal\plugins\windows
Microsoft.mshtml.dll goes to mediaportal
AxInterop.SHDocVw.dll goes to mediaportal
Interop.SHDocVw.dll goes to mediaportal
- Now load MP and you should see My Online Content.
- Click it, press the 'Select Sources' button and click on the sources you want searched
- press the Confirm button.
- Now press the search button and enter in something.
- Press Done, and it will start searching.
- When the progress dialog disappears, the results will show.
- Pick the item you want to view, press it and it will open.
Hope this works for everyone!
To change the webpage screen's colours and scrolling speed, goto MP Configuration, Plugins, My Online Content, Setup. The keys to control the webpage viewer are the same as for MP - up, left, right, down, and esc to close. For the time being, the keys for zooming in and out are I and O respectively. Not all pages zoom correctly - this is a bug with IE.
Feedback welcome!
EDIT: Source available at: http://mercury.walagata.com/w/samuel337/myOCPlugin11Src.zip
Sam
p.s. some credit for the yahoo launch plugin belongs to this person, who made the Meedio plugin - http://web.tampabay.rr.com/dncenter/
So, without further ado, I'm releasing my Online Content Plugin. The idea is that you can select sources that you want to search, then you can search it, and the results are shown. Depending on the results, you can play them or just view the description.
Currently, there are two sources - Yahoo Launch music videos US and CNN News. However, anyone can create more source plugins - simply create a new .net assembly, and implement the IOnlineContentSource interface in OCPlugin.dll. I hope people will create more sources!
The Yahoo Launch plugin returns items that launch into video streams, and the CNN News plugin returns items that open in the web page viewer.
Currently, the plugin only works with the BlueTwo skin, simply because that's the skin I'm using. Also, the graphics for the screens are a mish-mash of other parts of MP because I haven't asked Samsonite to create some images for me yet (can you, Samsonite? ;-) ). Also, the language has to be English.
To install:
- Download http://mercury.walagata.com/w/samuel337/myOCPlugin11.zip
- Extract the zip file to your mediaportal folder. All the files should fall into place - caution: it will overwrite your existing strings.xml for English.
- In detail, strings.xml goes to mediaportal\language\English
MyOCMainScreen.xml and MyOCSelectSources.xml goes to mediaportal\skin\BlueTwo
OCSYahooMusicVideoPlugin.dll goes to mediaportal\plugins\OCS (you need to create this folder)
OCSCNNNewsPlugin.dll goes to mediaportal\plugins\OCS
OCPlugin.dll goes to mediaportal\plugins\windows
Microsoft.mshtml.dll goes to mediaportal
AxInterop.SHDocVw.dll goes to mediaportal
Interop.SHDocVw.dll goes to mediaportal
- Now load MP and you should see My Online Content.
- Click it, press the 'Select Sources' button and click on the sources you want searched
- press the Confirm button.
- Now press the search button and enter in something.
- Press Done, and it will start searching.
- When the progress dialog disappears, the results will show.
- Pick the item you want to view, press it and it will open.
Hope this works for everyone!
To change the webpage screen's colours and scrolling speed, goto MP Configuration, Plugins, My Online Content, Setup. The keys to control the webpage viewer are the same as for MP - up, left, right, down, and esc to close. For the time being, the keys for zooming in and out are I and O respectively. Not all pages zoom correctly - this is a bug with IE.
Feedback welcome!
EDIT: Source available at: http://mercury.walagata.com/w/samuel337/myOCPlugin11Src.zip
Sam
p.s. some credit for the yahoo launch plugin belongs to this person, who made the Meedio plugin - http://web.tampabay.rr.com/dncenter/