nathanm
12-06-2006, 08:02 PM
I am trying to import a video into the SageTV Recordings area. So far I have only been able to get it into the Scheduled Recordings / Search area, but have not been able to get it to show up in the SageTV Recordings area.
Here is the test I am using..
MyChannel = AddChannel("TEST", "TestChannel", "TestChannel", 4444)
MyShow = AddShow("Title1", true, "Episode", "Description", 100000, null, null, null, null, null, null, null, null, null, "ID56", null, 1165234332)
MyAiring = AddAiringDetailed("ID56", 4444, 1165236332, 100000, 1, 1, null, true, false, false, false, false, null)
MyMediaFile = AddMediaFile(Filename, "")
SetMediaFileAiring(MyMediaFile, MyAiring)
MoveTVFileOutOfLibrary(MyMediaFile)
Where filename is the filename of the video file I am trying to add.
Can somebody please tell me what I am missing?
I have searched the forums but there is only like one post about it and it doesn't seem to help in this instance.
Thx,
Nathan
Here is the test I am using..
MyChannel = AddChannel("TEST", "TestChannel", "TestChannel", 4444)
MyShow = AddShow("Title1", true, "Episode", "Description", 100000, null, null, null, null, null, null, null, null, null, "ID56", null, 1165234332)
MyAiring = AddAiringDetailed("ID56", 4444, 1165236332, 100000, 1, 1, null, true, false, false, false, false, null)
MyMediaFile = AddMediaFile(Filename, "")
SetMediaFileAiring(MyMediaFile, MyAiring)
MoveTVFileOutOfLibrary(MyMediaFile)
Where filename is the filename of the video file I am trying to add.
Can somebody please tell me what I am missing?
I have searched the forums but there is only like one post about it and it doesn't seem to help in this instance.
Thx,
Nathan