Newbie Addon Help (mtv classic cartoons) NEED HELP or some insight?
#1
Question 
Hello,

I've been playing around and learning python for about a week. I've been wanting to write a addon for mtv.com fullepisode classic cartoons or possibly all full episodes. Beavis and Butthead, Aeon Flux, and Daria. I think i got the scraping figured out. I'm just having a little problems on the RTMPe part. I've gotten it down to this.

Quote:import xbmc, xbmcgui

#playpath = "http://www.mtv.com/player/includes/mediaGen.jhtml?uri=mgid:uma:video:mtv.com:138902&vid=138902"
rtmp_url = "rtmp://cp10740.edgefcs.net/ondemand/mtvcomstor/_!/mtv.com/onair/beavis_and_butthead/MTV_BEAVISBUTTHEAD_107_1_320.flv"
swf_url = "http://media.mtvnservices.com/player/gui/?v=1.5.5"
item = xbmcgui.ListItem("Beavis and Butthead")
#item.setProperty("PlayPath", playpath)
item.setProperty("SWFPlayer", swf_url)
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(rtmp_url, item)

Got IT almost! if i put it on a string like this. its goes farther

Quote:import xbmc, xbmcgui
item = xbmcgui.ListItem("Beavis and Butthead")
rtmp_url="rtmp://cp10740.edgefcs.net/ondemand/mtvcomstor/_!/mtv.com/onair/beavis_and_butthead/MTV_BEAVISBUTTHEAD_107_1_240.flv swfurl=http://media.mtvnservices.com/player/gui/?v=1.5.5 swfvfy=true"
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(rtmp_url, item)


this is just a test code for the rtmpe part. Its plays. But then its stops. after about a minute.

A little Guidance would be Appreciated

john

well i fired up wireshark to see what it would tell me about the rtmp stream.
and i'm getting Audio Data (Malformed Packet). I'm not sure of what that means..
Reply
#2
First Release On this Thread

http://forum.xbmc.org/showthread.php?tid=86839

John
Reply
#3
Maybe someone can shed some light ... i released my addon.
But it seams like people who are running windows have a problem with
this string being passed to a list item. It works fine Under Linux

rtmp_url="rtmp://cp10740.edgefcs.net/ondemand/mtvcomstor/_!/mtv.com/onair/beavis_and_butthead/MTV_BEAVISBUTTHEAD_107_1_240.flv swfurl=http://media.mtvnservices.com/player/gui/?v=1.5.5 swfvfy=true"
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(rtmp_ url, item)

I'm thinking on Windows the _! in the Url might be causing it to fail.

Any Idea would be appreciated

John
Reply
#4
cutted rtmp_url did work on windows:
Code:
rtmp_url="rtmp://cp10740.edgefcs.net/ondemand/mtvcomstor/_!/mtv.com/onair/beavis_and_butthead/MTV_BEAVISBUTTHEAD_107_1_240.flv"
        xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(rtmp_url)
Reply
#5
Great Thank You for testing....

John
Reply

Logout Mark Read Team Forum Stats Members Help
Newbie Addon Help (mtv classic cartoons) NEED HELP or some insight?0