MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
Thread Tools Display Modes
Old 2008-04-25, 18:45   #1 (permalink)
Portal Member
 
Join Date: Jul 2006
Posts: 102
Thanks: 2
Thanked 1 Time in 1 Post


Question How to record via api?

Hi I'm trying this (playing a channel first..)

string location = @"c:\test-record.ts";
this.MeedioSystem.Log("StartRecording returned " + TvControl.RemoteControl.Instance.StartRecording(re f this.videoForm.user, ref location, false, 0));

which prints "True" to the log. the tvserver also creates that file, but it is 0 bytes (channel still playing, 10 mins later, still 0 bytes).

Am I doing it wrong? I want to "record what's on now - oneoff, no schedule". Ideally, it would even use the buffer to capture the whole program to the .ts file i specify.
binary64 is offline   Reply With Quote
Old 2008-05-26, 06:34   #2 (permalink)
Portal Member
 
Join Date: Jul 2006
Posts: 102
Thanks: 2
Thanked 1 Time in 1 Post


Default

Anyone?
TIA
binary64 is offline   Reply With Quote
Reply

Bookmarks

Tags
api, record

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Test the new API-version Inker My TVSeries 129 2008-04-24 11:28
API Documentation chrisonline General Development (no feature request here!) 0 2008-01-23 14:36
Perhaps instead of using googles soap api zorro349 My Lyrics Plugin 2 2007-01-31 17:01
BBC API available Efros MediaPortal 1 Talk 1 2006-08-27 14:50


All times are GMT +1. The time now is 22:22.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress