ABC Plugin: help needed
#1
Question 
peace everyone,

I'm in the process of creating a plugin for the ABC Player. I've gotten everything down expect getting the RTMP protocol right. If you look closely, I've pretty much copied the plugin used in BlueCop's The Colbert Report plugin, if that helps when you're looking at the code.
http://code.google.com/p/xbmc-abc-plugin/downloads/list

I could certainly use some help.
I've used wireshark to get the RTMP information, but for some reason, it's not playing the files

In XBMC, I get the error:
Code:
11:59:38 T:138063872 M:104247296   ERROR: rtmp server sent error
11:59:38 T:138063872 M:104247296   ERROR: rtmp server requested close

if i do a rtmpdump, i get this message:
Code:
WARNING: HandShake: client signature does not match!

Here's an example of an rtmpdump i'm running:
Code:
rtmpdump -r "rtmp://abcondemandfs.fplive.net:1935/ playpath=mp4:/abcvideo/video_fep/mov/MDF_2ARG19_TheMusicalMan_episode_2d53ae93-290d-45a9-968a-9baf30a1aae2_3667082_768x432_1600.mov swfurl=http://ll.static.abc.com/m/vp/prod/flash/VP2.swf swfvfy=true"

followed by the error given by XBMC. If anyone has ideas, I'm all open. If you would like for me to paste a copy of the Wireshark details, let me know, i can do that too!!

thanks in advance!
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
#2
Question 
didn't seem like my last message went through.

in a nut shell, i'm now getting a failure with NetStream:
Quote:21:01:46 T:86228992 M:101285888 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
21:01:46 T:103321600 M:101281792 DEBUG: Thread CDVDPlayer start, auto delete: 0
21:01:46 T:103321600 M:101281792 NOTICE: Creating InputStream
21:01:46 T:103321600 M:101281792 DEBUG: SECTION:LoadDLL(librtmp.0.dylib)
21:01:46 T:103321600 M:101281792 DEBUG: Loading: /var/stash/Applications/XBMC.frappliance/Frameworks/librtmp.0.dylib
21:01:46 T:103321600 M:101281792 INFO: CDVDInputStreamRTMP: Using external libRTMP
21:01:46 T:101732352 M:101281792 ERROR: EndOfDirectory - called with an invalid handle.
21:01:46 T:101732352 M:101281792 INFO: Scriptresult: Success
21:01:46 T:101732352 M:101281792 INFO: Python script stopped
21:01:46 T:101732352 M:101281792 DEBUG: Thread Python Thread 101732352 terminating
21:01:46 T:86228992 M:101277696 DEBUG: ------ Window Init (DialogBusy.xml) ------
21:01:46 T:86228992 M:101277696 DEBUG: waiting for python thread 10 to stop
21:01:46 T:86228992 M:101285888 DEBUG: python thread 10 destructed
21:01:46 T:86228992 M: 99852288 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
21:01:47 T:103321600 M:101163008 ERROR: Closing connection: NetStream.Failed
21:01:47 T:103321600 M:101163008 ERROR: CDVDPlayer::OpenInputStream - error opening [rtmp://abcondemandfs.fplive.net:1935/ app=abcondemand playpath=abcvideo/video_fep/mov/MDF_2ARG19_TheMusicalMan_episode_2d53ae93-290d-45a9-968a-9baf30a1aae2_3667082_768x432_1600.mov swfUrl=http://ll.static.abc.com/m/vp/prod/flash/VP2.swf pageUrl= http://abc.go.com/watch/modern-family/SH...sical-man]
Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
Reply
#3
Still seems that its checking for a referrer or something.
Reply
#4
In your code, line 21 is:
Quote:#req.addheaders = [('Referer', 'http://www.colbertnation.com/video/'),

I'm not sure that is the problem, but it is worth a look.
Reply

Logout Mark Read Team Forum Stats Members Help
ABC Plugin: help needed0