SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-13-2008, 10:21 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Custom EPG source / fake XMLTV data, any one done?

1. I have a DVD changer with 400 disk capacity.
2. I have an access database that tracks the contents of the changer
3. I have control over the changer via EventGhost+USBUIRT
4. I have EXEMultiTunerPlugin running and triggering events in EventGhost

What I want to do is make a fake EPG linup where the channels are the disks in the changer.

So I can make say channels 400-800 be DVD disks rather then channels on the STB, when you change channels to this area EventGhost will trigger the changer to play the desired disk.

What I want to do is create a custom xmltv file or whatever EPG data source would be easiest to contain the disk slot number (channel#) and title of the disk.

I really don't care about start/end times so I'll do whatever is easiest.

TIA
Reply With Quote
  #2  
Old 10-15-2008, 09:24 PM
steven017 steven017 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Japan
Posts: 143
Hi CollinR,

I noticed nobody's responed to your post. Have you managed to figure anything out?

I thought it might be possible to do this using a script to create an xmltv file with your "new" channel lineup. I am, however, unsure of what you would do about the program times. Would you need to have multiple entries to fill up each day, or could you just have a program last for the whole day, week, whatever? What would happen if you did that, I wonder.

Steven
Reply With Quote
  #3  
Old 10-18-2008, 07:00 PM
mickp's Avatar
mickp mickp is offline
Sage Aficionado
 
Join Date: Oct 2006
Posts: 468
Some thoughts...

Seems to me that you'd be better off doing this as an external player for a particular made up e.g. disc1.foo file type.

When you select to view a file of type .foo the request could be handled by a batch file or app that calls girder with teh correct commands to launch playback.

You could then put the movies or whatever into the video library with metadata, pictures etc and not interfere with tv operation.

As you have an external database for tracking the contents of the library you could generate a file in the same format as dvd profiler's collection.xml. Sage (or SAGEMC) should then automagically update the contents for disc001.foo through disc100.foo for you.

Mick.
Reply With Quote
  #4  
Old 10-20-2008, 06:25 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Quote:
Originally Posted by steven017 View Post
Hi CollinR,

I noticed nobody's responed to your post. Have you managed to figure anything out?
Nope.

Quote:
Originally Posted by steven017 View Post
I thought it might be possible to do this using a script to create an xmltv file with your "new" channel lineup. I am, however, unsure of what you would do about the program times. Would you need to have multiple entries to fill up each day, or could you just have a program last for the whole day, week, whatever? What would happen if you did that, I wonder.

Steven

We are on the same page, I dunno about timeslots either but just from Sage's normal behavior I'm thinking 2 hour blocks otherwise you could run into issues if you accidently fell asleep on an infinitly long program.

Also I have already manually added disks 1-50 just using the add channel to lineup build into Sage. This doesn't let me shoe the titles but it does use a default timeslot.

Quote:
Originally Posted by mickp View Post
Some thoughts...

Seems to me that you'd be better off doing this as an external player for a particular made up e.g. disc1.foo file type.

When you select to view a file of type .foo the request could be handled by a batch file or app that calls girder with teh correct commands to launch playback.

You could then put the movies or whatever into the video library with metadata, pictures etc and not interfere with tv operation.

As you have an external database for tracking the contents of the library you could generate a file in the same format as dvd profiler's collection.xml. Sage (or SAGEMC) should then automagically update the contents for disc001.foo through disc100.foo for you.

Mick.
Before long all I will have is hardware clients so I really need something that will work on MVP / HD100s. I'll have to think about that. Also there is a hidden bonus, since the changer can only play one disk at a time I have it limited to a single tuner. This way if I am watching disk 1 and someone else wants to watch disk 2 you'll get the normal Sage popups about tuner in use and all that. Sage normally would allow all to stream any local video file, with a changer i dunno how to get around that.
Reply With Quote
  #5  
Old 10-25-2008, 04:35 PM
mickp's Avatar
mickp mickp is offline
Sage Aficionado
 
Join Date: Oct 2006
Posts: 468
Quote:
Originally Posted by CollinR View Post

Before long all I will have is hardware clients so I really need something that will work on MVP / HD100s. I'll have to think about that. Also there is a hidden bonus, since the changer can only play one disk at a time I have it limited to a single tuner. This way if I am watching disk 1 and someone else wants to watch disk 2 you'll get the normal Sage popups about tuner in use and all that. Sage normally would allow all to stream any local video file, with a changer i dunno how to get around that.
Does the changer give you access to the files on the discs or just output video?

Mick.
Reply With Quote
  #6  
Old 10-25-2008, 05:01 PM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Just baseband outputs this is a $100 unit, it doesn't even have RS232 EventGhost is controlling it via IR.

However it does reliably work.
Reply With Quote
  #7  
Old 10-25-2008, 07:37 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
If it were me, I'd forget about trying to shoehorn it into an EPG/STB paradigm, and just create a new screen in Studio similar to the SageTV Recordings screen, but taking data from your Access DB instead of from the Wiz.bin DB. You would then have complete freedom to filter, sort, and format the displayed data to suit your needs. You can also code a Play command listener on items of this type to execute whatever code is needed to activate the changer.

If you're worried about contention among multiple clients, use a semaphore file or something to indicate when the changer is in use, and disable the Play command if that file is present.
__________________
-- Greg
Reply With Quote
  #8  
Old 09-01-2009, 07:45 AM
cowsr4eating cowsr4eating is offline
New Member
 
Join Date: Sep 2009
Location: US
Posts: 1
Any update to this topic? I am new to SageTV, but am very interested in integrating my 400 disc changer with my media center. I started ripping them and putting on a NAS but that is a lot of disk space ... especially when I have a perfectly good changer with DVD's right there.
Reply With Quote
  #9  
Old 09-01-2009, 11:02 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Even if you don't reencode them, and assuming 8GB per DVD then 8*400=3.2TB - or just over 2x1.5TB hard drives. That's not that expensive these days and you have the advantage of watching multiple DVDs at once.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zap2It & SageTV: Built-in data not affected; Alternatives for EPG data not included? Opus4 SageTV EPG Service 20 08-21-2008 06:31 PM
EPG no data issues pat_smith1969 SageTV Beta Test Software 2 07-29-2008 05:15 PM
DVB EPG data overwrites XMLTV data actprime SageTV EPG Service 2 11-14-2007 02:41 PM


All times are GMT -6. The time now is 12:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.