My PodCasts (2 Viewers)

Pascal

Portal Pro
February 1, 2007
99
7
IJsselmuiden
Home Country
Netherlands Netherlands
I am trying to play the video podcast at motogp.com, but the logfile tells me that audioplayer is used and mediaportal gives me a message that the stream cannot be played. Did cleanup the cache of mediaplayer and internetexplorer, but no luck.

Any suggestions?

If I download the m4v file from motogp.com it plays fine in windows mediaplayer (using haali media splitter), so codecs should be fine.

Thanks in advance
 

kkendall

Portal Pro
April 24, 2007
864
16
44
Gouda
Home Country
Netherlands Netherlands
I have the problem that the playback stops after a few seconds...
Also, it gives me audio but with a black screen for video podcasts (NASA).

Anyone with the same problem? Or anyone with a solution here?
 

janno

Portal Member
July 17, 2006
20
0
Home Country
Germany Germany
Hi,
I looked into the sources of MyPodCasts and it tests the url-extentions to decide between video or audio stream. Is anybody able to fill in the two lines below into the if statement and compile the plugin again?

Thanks

||
url.ToLower().Contains(".mp4") ||
url.ToLower().Contains(".m4v")

Code snipped from GUIPodCasts.cs:

if (url != null && url.Length > 0)
{
if (url.ToLower().Contains(".avi") ||
url.ToLower().Contains(".mpeg") ||
url.ToLower().Contains(".mov") ||
url.ToLower().Contains(".wmv") ||
url.ToLower().Contains(".divx") ||
url.ToLower().Contains(".mpg"))
{
GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_FULLSCREEN_VIDEO);


if (g_Player.Play(url))
{
GUIGraphicsContext.IsFullScreenVideo = true;
GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_FULLSCREEN_VIDEO);
g_Player.FullScreen = true;
}
}
else
{
g_Player.PlayAudioStream(url);
}
 

Pascal

Portal Pro
February 1, 2007
99
7
IJsselmuiden
Home Country
Netherlands Netherlands
Hi Moiristo,

Thanks for the quick response. Just tried a motogp m4v file but it gives me no luck. Here is some debug info from the log file:

2008-01-21 18:51:39.328125 [Info.][MPMain]: g_Player.Play(http://images.motogp.com/multimedia/podcast/24092006.m4v)
2008-01-21 18:51:39.328125 [Info.][8]: Command:confused:top radio
2008-01-21 18:51:39.328125 [Info.][8]: Commandprocessor: MediaPortal.TV.Recording.StopRadioCommand failed reason: time: 0 msec
2008-01-21 18:51:39.328125 [Info.][8]: Commandprocessor: Card:Hauppauge PVR150MCE idle
2008-01-21 18:51:39.343750 [Info.][MPMain]: Loading external players plugins
2008-01-21 18:51:39.468750 [Info.][MPMain]: AudioPlayerWMP9: Disabling DX9 exclusive mode
2008-01-21 18:51:39.468750 [Info.][MPMain]: Main: DX exclusive mode: False
2008-01-21 18:51:39.468750 [Info.][MPMain]: Main: Goto windowed mode: True
2008-01-21 18:51:39.468750 [Info.][MPMain]: fonts.SetDevice()
2008-01-21 18:51:39.890625 [Info.][MPMain]: Audioplayer:play http://images.motogp.com/multimedia/podcast/24092006.m4v
2008-01-21 18:51:40.921875 [Info.][MPMain]: Audioplayer: failed to load http://images.motogp.com/multimedia/podcast/24092006.m4v
2008-01-21 18:51:40.921875 [Info.][MPMain]: player:ended

It looks like it still uses audioplayer?

Pascal
 

Users who are viewing this thread

Top Bottom