Charmed Quark Systems, Ltd. - Support Forums and Community
Sage Media Server driver (beta) - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=3)
+--- Forum: Driver Development (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=13)
+--- Thread: Sage Media Server driver (beta) (/showthread.php?tid=5497)



Sage Media Server driver (beta) - George M - 03-28-2010

Dean Roddey Wrote:Either would do, but in either case, you need to use the "^1" to prevent the escaping of slashes, so:

Devices::FieldWrite(SageTV.WatchShowPath,%(Media RTV:LocInfo, "^1"),True)


But that is what I have been using (see my first post #254) and it is not working.


Sage Media Server driver (beta) - George M - 03-29-2010

Well my head is feeling better today. I decided to blow up everything and start over.

I re-installed CQC, Sage, and all drivers. Now it is working again as it was before. Dont know if something went askew on the upgrade or not, but at least now it is working again. thanks for the suggestions and help along the way.


Sage Media Server driver (beta) - SamVimes2 - 03-29-2010

Now that George is all set, I have a couple other suggestions/hopes for the base functionality of the server driver.

Can you add list fields for some other attributes of the recorded/upcoming shows? Namely
first run (probably populated as a "1" for true and blank for false, if such a thing is possible),
HD (again hopefully as a "HD" for true and blank for false, to mirror the Sage UI)
Watched (you guessed it, "W" for true, blank for false)

also, if this is already available through the back door calls just let me know and I can try to puzzle it out that way.

Thanks for all your work on this driver!


Sage Media Server driver (beta) - Fonceur - 03-29-2010

SamVimes2 Wrote:Namely first run (probably populated as a "1" for true and blank for false, if such a thing is possible),
HD (again hopefully as a "HD" for true and blank for false, to mirror the Sage UI)
Watched (you guessed it, "W" for true, blank for false)
Well, SageTCPServer is delivering that information already. The issue is just to expose it... Wink I would most likely need to create some more lists for the backdoor method.


Sage Media Server driver (beta) - SamVimes2 - 03-29-2010

If anyone can do it you can!

you know I prefer the "lists exposed as fields in the driver" style because it's easier for the beginner guys like me, but I'll take what I can get...


Sage Media Server driver (beta) - Fonceur - 03-31-2010

As far as the web object for the streaming, if you have installed VLC with the Activex plugin on that PC, you can try loading an html file similar to:

Code:
<HTML>
<HEAD>
  <TITLE>VLC streaming</TITLE>
</HEAD>
<BODY bgcolor="#CFFFFF">

<h1>VLC streaming</h1>

<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
        width="320" height="180" id="vlc">
</embed>

  <script language="Javascript">
    var vlc=document.getElementById("vlc");
    var id=vlc.playlist.add("http://192.168.0.102:8000");
    vlc.playlist.playItem(id);
  </script>

<br />
  <a href="javascript:;" onclick='vlc.playlist.play()'>Play video1</a>
  <a href="javascript:;" onclick='vlc.playlist.togglePause()'>Pause video1</a>
  <a href="javascript:;" onclick='vlc.playlist.stop()'>Stop video1</a>
  <a href="javascript:;" onclick='vlc.video.toggleFullscreen()'>Fullscreen</a>
  
</BODY>
</HTML>

Replacing http://192.168.0.102:8000 by your actual streaming IP and port, or having it dynamically pick up the URL from the Sage Media Server field... To get more options/functionality, check out:

http://wiki.videolan.org/Documentation:WebPlugin

I know that the html file works in Firefox, but since I removed IE from my installation, I suspect the VLC ActiveX plugin for IE didn't install properly, so I'm getting some "null" error with the vlc object in CQC... Another possibility is that I striped some HTML comments (<!-- -->) from the javascript code, but maybe I was supposed to let them in?


Sage Media Server driver (beta) - Fonceur - 04-01-2010

I have updated the templates in the first post, to include an example of video streaming (via VLC) to your CQC client. You will need to:

1) Copy the VLC_Stream_IE2.html to your hard drive.
2) Put in your actual IP and port (default value="http://192.168.0.102:8000").
3) Use the Interface editor to point the web browser object to that file.

Ideally you would just pickup the IP/Port from the SageRepo.StreamingURL field or such.


Sage Media Server driver (beta) - bjkiller - 04-10-2010

Do SageTV Player driver can provide status of PowerOn/Off of the HD Extender?


Sage Media Server driver (beta) - Fonceur - 04-10-2010

bjkiller Wrote:Do SageTV Player driver can provide status of PowerOn/Off of the HD Extender?
I think that the Windows mode of an extender is an indirect way of doing that. If it's not in Full screen, than it is in standby/off... But you would have to check, as I don't have one to test.


Sage Media Server driver (beta) - George M - 04-10-2010

bjkiller Wrote:Do SageTV Player driver can provide status of PowerOn/Off of the HD Extender?

The Power On/Off commands do not work for me. I find that in extender mode I have to use Quit and ExitStandby.