I've just been looking at the svn version and have managed to get SopCast channels to play on my PS3.
I had to set the SOPCAST_AUXDATA_GROUP property in scripting/script.cc so that my import script would sort the channels into groups and set a transcoding profile, but it all seems to be working smoothly now.
Just in time to watch some pre-season friendlies, Thanks!
Uhm.. :) Actually I did not finish the feature yet... the idea is that I will call the sopcast client from within MT, however it seems that I need to add some hooks, so we start serving the stream only after we know that the client has made connection.
Can you paste me a diff of what you had to add in script.cc ? Since the feature is not yet fully finished it is possible that I forgot something.
Anyway, nice that you were able to make use of it already :)
Sure, it was a fairly simple change:
diff -Naur mediatomb.orig/src/scripting/script.cc mediatomb/src/scripting/script.cc
--- mediatomb.orig/src/scripting/script.cc 2008-07-25 21:10:03.537907000 +0100
+++ mediatomb/src/scripting/script.cc 2008-07-25 21:52:13.898954651 +0100
@@ -49,6 +49,11 @@
+ #include "sopcast_service.h"
+ #include "sopcast_content_handler.h"
using namespace zmm;
@@ -331,6 +336,10 @@
setIntProperty(glob, _("ONLINE_SERVICE_SOPCAST"), (int)OS_SopCast);
+ setProperty(glob, _("SOPCAST_AUXDATA_GROUP"),
+ setProperty(glob, _("SOPCAST_AUXDATA_LANGUAGE"),
setIntProperty(glob, _("ONLINE_SERVICE_NONE"), 0);
I also noticed in the sopcast documentation that if the stream is "realmedia" (their mimetype "rm"), that the location URL ends with "/tv.rm" rather than "/tv.asf", so maybe you need to make a change to transcode_ext_handler.cc for that?