MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2008-07-25, 09:33   #21 (permalink)
Portal Member
 
Join Date: Jun 2006
Posts: 303
Thanks: 1
Thanked 4 Times in 4 Posts

Country:


Default

Quote:
Originally Posted by LRFalk01 View Post
!!!!!! I got it working. I was calling g_Player.PlayVideoStream() instead of just g_Player.Play(). I was looking through the OnlineVideos source code when I figured it out. There are a few more fixes I need to make, and there is a slight discoloration in the clips which I think is because those are primarily flv streams; however, I think I have it almost back to its former glory.

-LRFalk01

Actually I have it working with the VLC plugin enabled for http connections. I do not view this as a problem. Any thoughts?


--- I am working on getting some of the mundane functionality working, and I am having a bit of a problem with the movie rating. The code that was in the original MyTrailers plugin does not work. My question to someone that used to use this plugin: did the rating aspect of it ever work?
Hi, Please do not use an external player like Mplayer or VLC. I would much much prefer the internal player. Just get people to install an FLV codec or provide a free one. I have no problems playing flv files with the internal player. I think its messy when people have to start using external players for media files. Just my opinion.

Yes, I'm pretty sure the rating used to work.

Keep up the good work!!

Cheers,
Colin

Last edited by sleepycol; 2008-07-25 at 09:36. Reason: Automerged Doublepost
sleepycol is offline   Reply With Quote
Old 2008-07-25, 11:11   #22 (permalink)
Portal Member
 
Join Date: Feb 2008
Posts: 57
Thanks: 8
Thanked 9 Times in 7 Posts


Default

Quote:
Originally Posted by sleepycol View Post
Quote:
Originally Posted by LRFalk01 View Post

-LRFalk01

Actually I have it working with the VLC plugin enabled for http connections. I do not view this as a problem. Any thoughts?
Hi, Please do not use an external player like Mplayer or VLC. I would much much prefer the internal player. Just get people to install an FLV codec or provide a free one. I have no problems playing flv files with the internal player. I think its messy when people have to start using external players for media files. Just my opinion.

Yes, I'm pretty sure the rating used to work.

Keep up the good work!!

Cheers,
Colin
I agree, if you could get this working with the internal player it would be much cleaner.

Great work by the way, can't wait to test it.

Last edited by digitalfm; 2008-07-25 at 11:14.
digitalfm is offline   Reply With Quote
Old 2008-07-25, 11:51   #23 (permalink)
Portal Member
 
Join Date: Jun 2006
Age: 41
Posts: 48
Thanks: 6
Thanked 1 Time in 1 Post


Default

If going the Directshow route I think you will also need an FLV Splitter??

In Zoomplayer I use the Gabest FLV Splitter and ffdshow's flv codec for playback. Care needs taking with ffdshow when installing and making sure only the desired codec are selected in it's config.

In reality if all of the "odd" codecs could be enabled via a single external player it may be easier for users than manually installing various codecs and having to fiddle with merit values etc. The directshow route may also find new users going for codec packs which can cause havoc with merit values, and are a nightmare to repair.
Major_Mess is offline   Reply With Quote
Old 2008-07-25, 12:50   #24 (permalink)
Portal Member
 
Join Date: Aug 2007
Age: 23
Posts: 75
Thanks: 0
Thanked 16 Times in 7 Posts

Country:


Default

I think the problem is coming from me using an http stream rather than an mms one. The original MyTrailers used mms streams which Yahoo! no longer uses for their trailers/clips. When I feed MP this http stream, it does not play. When I enable the VLC plugin to play the http streams, it plays. If someone is able to tell me why this is true, I would be happy to try to get it working with the internal player. When I enable VLC to play only the http streams in the VLC config, does not VLC only play the http streams and the internal player still plays everything else?

Thanks,
LRFalk01
LRFalk01 is offline   Reply With Quote
Old 2008-07-25, 13:16   #25 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 86
Thanks: 8
Thanked 12 Times in 6 Posts

Country:


Default

Have you tried the mplayerplugin? A somewhat nice feature with it is that you can add the .mplayer extension to a mediafile and mplayer will be used to play the file. E.g. http://test/test.flv --> http://test/test.flv.mplayer and mplayer will be used to play the file. This is how the onlinevideoplugin uses mplayer to play flv files. Another way to play flv files is to use the external flvplayer that comes with onlinevideos, but if i remember correct, the author of onlinevideos encourages use of mplayer instead of the flv player.

Unforunately, i don't think the mplayerplugin works correctly with rc2. The author says he will fix it when MP 1 has been released. In my opinion the best way would be to be able to play it through directshow and without external player, however, I have good experince with using mplayer in onlinevideos.

Last edited by Vattenmelon; 2008-07-25 at 13:21.
Vattenmelon is offline   Reply With Quote
Old 2008-07-25, 13:45   #26 (permalink)
Portal Member
 
Join Date: Aug 2007
Age: 23
Posts: 75
Thanks: 0
Thanked 16 Times in 7 Posts

Country:


Default

Both MPlayer and VLC nativity play this link:

http://playlist.yahoo.com/makeplayli...&sdm=web&pt=rd

I'll see if when I enable the MPlayer external player, it also plays the media.

If the rating feature was working in the old version of MyTrailers, I do not think it has been working for a long time. I have just got this working. A lot of the code for it was already there, but it had some logic errors, and the control for this in the XML was not even there.

Last edited by LRFalk01; 2008-07-25 at 15:20. Reason: Automerged Doublepost
LRFalk01 is offline   Reply With Quote
Old 2008-07-25, 23:58   #27 (permalink)
Portal Member
 
Join Date: Aug 2007
Age: 23
Posts: 75
Thanks: 0
Thanked 16 Times in 7 Posts

Country:


Default

Okay, it is probably time to have some people try this out. I think I have attached the dll and the two skins for the base gui of MP. In order for my current rendition of MyTrailers to work, you must have the external VLC player plugin installed:

MEDIAPORTAL - free MediaCenter HTPC Software - VideoLAN External Player

For the above plugin take note of the additional installation step:

1) Make sure you installed the latest version of VLC from VideoLAN.
2) Copy 'libvlc.dll' from 'VLC' to the MP root folder (Usually Crogram FilesTeam MediaPortalMediaPortal)
3) Install the MPI
4) Enable the VideoLan plugin in the MP configuration
5) Configure the streams and extensions it should play

Once you have installed the external player plugin for VLC, you will have to exit the MP config and get back in. (At least I did.) For step 5 of the install of this config, I only enagled 'http' streams.

To get my current MyTrailers to work, you have to be on a version of MP that does not have MyTrailers as a default plugin (1.0RC2). You put the attached dll in %MP_homeDir%\MediaPortal\plugins\Windows\

Once you have put MyTrailers.dll in the proper place, you have to open the MP config and enable it. There is still a MyTrailers config, but do not mess with it because it does nothing right now.

That is all that is needed to get it to work. Some of the files it streams have some discoloration. This can be fixed by changing VLC's default video output module as outlined below:

In VLC go to Setting - Preferences - Video - Output Modules - DirectX. (Make sure the Advanced Options box is checked.) Uncheck the 'Use Hardware YUV -> RGB Conversions' box.


------------------- I've removed the attachment see further down in the post for it

Last edited by LRFalk01; 2008-07-26 at 00:58.
LRFalk01 is offline   Reply With Quote
This User Say Thank You:
Old 2008-07-26, 00:46   #28 (permalink)
Portal Member
 
Join Date: Jun 2007
Posts: 86
Thanks: 8
Thanked 12 Times in 6 Posts

Country:


Default

Sorry, didn't work to good. Wasn't able to see any movies..Belive I did the installation steps you described in your post. MediaPortal.log error.log

Hmm.. I see other gets it to work, so it is obvious that it is my problem..Seems like I can't get the videolan plugin to get startet, at last the config options to use it for http:// streams isn't saved. It is unchecked everytime i open the config.

Last edited by Vattenmelon; 2008-07-26 at 00:50.
Vattenmelon is offline   Reply With Quote
Old 2008-07-26, 00:47   #29 (permalink)
Portal Member
 
Pretoriano's Avatar
 
Join Date: Oct 2007
Age: 28
Posts: 115
Thanks: 23
Thanked 18 Times in 13 Posts

Country:

My System

fixed My Trailers it's back again

Hi LRFalk01 first i wanna thank you for your work,My Trailers is alive again thanks to you and it's working well(is working better that the previous one IMHO),is grabbing all the stuff(link,cover,everything) and you can watch the trailer either in fullscreen or window without any problem....Thanks again

And BTW this plugin it's a "must have"
__________________
Flavio
Pretoriano is offline   Reply With Quote
Old 2008-07-26, 00:55   #30 (permalink)
Portal Member
 
Join Date: Aug 2007
Age: 23
Posts: 75
Thanks: 0
Thanked 16 Times in 7 Posts

Country:


Default

Please do not use the attachment in my previous post . . . I had a lot of StreamWriting going on for testing. Please use the one attached here . . .I am deeply sorry for my hasty release.
Attached Files
File Type: zip MyTrailers.zip (19.7 KB, 143 views)
LRFalk01 is offline   Reply With Quote
Reply

Bookmarks

Tags
mytrailers

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MyTrailers plugin Zipperzip Plugins 266 2008-10-13 22:03
MP mytrailers tiward General Support 28 2007-06-14 22:37
MyTrailers for MP 1.3 pryning Plugins 4 2005-12-27 08:31


All times are GMT +1. The time now is 05:02.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden