![]() |
|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
"BAD AIRING" in MediaFile
I'm getting all MediaFiles using the GetMediaFile("TVDB") method and have noticed some strange results when working with some of them. After poking around a little and printing out the MediaFile information (using DebugLog(MediaFile)) I see this: (Note that "SM:: ALL NULL FOR AIRING =" is text I have inserted.)
Code:
Tue 1/5 20:27:51.856 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6310578 FA[BAD AIRING] host=HARRIS encodedBy=Hauppauge WinTV PVR PCI II Capture Composite_2 format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:51.858 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6454345 FA[BAD AIRING] host=HARRIS encodedBy=Hauppauge WinTV PVR PCI II Capture Composite_2 format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 6400 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]] \\HARRIS\Sage1\HauppaugeWinTVPVRPCIIICaptureComposite2-0.mpgbuf, Seg0[Sun 1/3 12:22:14.694-Sun 1/3 12:22:25.337]] Tue 1/5 20:27:52.436 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6310580 FA[BAD AIRING] host=HARRIS encodedBy=Hauppauge WinTV PVR PCI II Capture S-Video format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:52.438 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6454347 FA[BAD AIRING] host=HARRIS encodedBy=Hauppauge WinTV PVR PCI II Capture S-Video format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:52.440 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6310587 FA[BAD AIRING] host=HARRIS encodedBy=Hauppauge WinTV PVR PCI II Capture S-Video_2 format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:52.442 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6454354 FA[BAD AIRING] host=HARRIS encodedBy=Hauppauge WinTV PVR PCI II Capture S-Video_2 format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:52.444 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6310577 FA[BAD AIRING] host=HARRIS encodedBy=Hauppauge WinTV PVR PCI II Capture TV Tuner format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:52.445 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6454344 FA[BAD AIRING] host=HARRIS encodedBy=Hauppauge WinTV PVR PCI II Capture TV Tuner format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:52.447 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6310586 FA[BAD AIRING] host=HARRIS encodedBy=NVIDIA DualTV Capture 2 Composite format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:52.449 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6454353 FA[BAD AIRING] host=HARRIS encodedBy=NVIDIA DualTV Capture 2 Composite format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 6400 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]] \\HARRIS\Sage1\NVIDIADualTVCapture2Composite-0.mpgbuf, Seg0[Fri 1/1 19:44:27.014-Fri 1/1 19:44:53.908]] Tue 1/5 20:27:52.451 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6310583 FA[BAD AIRING] host=HARRIS encodedBy=NVIDIA DualTV Capture 2 S-Video format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:52.453 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6454350 FA[BAD AIRING] host=HARRIS encodedBy=NVIDIA DualTV Capture 2 S-Video format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:52.476 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6454353 FA[BAD AIRING] host=HARRIS encodedBy=NVIDIA DualTV Capture 2 Composite format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 6400 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]] \\HARRIS\Sage1\NVIDIADualTVCapture2Composite-0.mpgbuf, Seg0[Fri 1/1 19:44:27.014-Fri 1/1 19:44:53.908]] Tue 1/5 20:27:53.500 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6310579 FA[BAD AIRING] host=HARRIS encodedBy=NVIDIA DualTV Capture Composite format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:53.502 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6454346 FA[BAD AIRING] host=HARRIS encodedBy=NVIDIA DualTV Capture Composite format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:53.504 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6310584 FA[BAD AIRING] host=HARRIS encodedBy=NVIDIA DualTV Capture S-Video format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] Tue 1/5 20:27:53.507 [AWT-EventQueue-0@5dd582] SM:: ALL NULL FOR AIRING = MediaFile[id=6454351 FA[BAD AIRING] host=HARRIS encodedBy=NVIDIA DualTV Capture S-Video format=MPEG2-PS 0:00:00 0 kbps [#0 Video[MPEG2-Video 29.97 fps 720x480 4:3 3800 kbps interlaced]#1 Audio[MP2 48000 Hz 2 channels 384 kbps]]] I suspect they were created during a channel scan or as part of the Sage setup process. I have dozens of these on my system and wonder if others have them too. My wiz.bin is the original since I started using Sage. Thanks in advance, Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#2
|
|||
|
|||
I believe those are the tuners in your system. It seems like I remember Sean and myself seeing this before in BMT.
I can't remember how to get them out of the results though. Maybe a IsLibraryFile or adding a "L" to your get mediafiles. |
#3
|
||||
|
||||
In order to get a list of all recordings + imported videos w/o those extra entries at the moment, you would need to do something along the lines of calling both GetMediaFiles("VDBL") and GetMediaFiles("T"), then merge the two lists.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#4
|
||||
|
||||
What is MediaMask "L"?
I was looking through the API docs and only saw: MediaMask - string specifying what content types (i.e. "TM" for TV & Music, 'T'=TV, 'M'=Music, 'V'=Video, 'D'=DVD, 'P'=Pictures, 'B'=BluRay)
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
#5
|
||||
|
||||
I thought it was undocumented at first, but look in the GetMediaFiles() description paragraph & it says L is used to allow library files to pass.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#6
|
|||
|
|||
Quote:
![]() |
#7
|
||||
|
||||
Quote:
Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#8
|
||||
|
||||
"L" by itself should return nothing. All it does is modify the mask to filter by IsLibraryFile() being true. "V" is all video including recordings (but not DVD/BD if I recall correctly w/o checking it); "T" is just recordings; "VL" is video in the library; "TL" would be archived recordings.
You need to add the L mask for the imported videos to filter out those extra entries you mentioned in the first post. And, I think you will need to use DataUnion() to merge the 2 lists since "T" and "VL" could overlap for archived recordings & you probably don't want double entries in the merged list. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#9
|
|||
|
|||
In SJQ, I've always dumped those extra entries by simply ensuring that GetSegmentFiles() returns non-null and its size > 0. For those entries representing tuners, etc., that method will return null and/or an array of size zero (or at least that's the assumption I've been operating on for a couple years now and it has yet to bite me in the ass [knock on wood]).
![]()
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#10
|
||||
|
||||
Thank you Andy and Slugger. I think I have enough information now to figure it out.
Will deleting those entries have any ill effect? I've deleted 2 or 3 of them to see what would happen and so far they have not reappeared and my Sage system is still running. Am I asking for trouble? What are they used for?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#11
|
|||
|
|||
definately wouldn't delete them as I think they are the tuner properties that sage uses.
|
#12
|
||||
|
||||
Quote:
![]()
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can you call SetWatched on a DVD MediaFile Airing? | stuckless | SageTV Studio | 4 | 12-19-2008 11:43 AM |
"Set defaults" for Series forgets "Keep"/"Auto-delete" setting | maxpower | SageMC Custom Interface | 9 | 05-14-2008 09:44 PM |
List of "currently airing" categories? | jbarr | SageTV Software | 2 | 01-04-2007 11:03 PM |
"Bad" things about Sage: early observations | mdmint | SageTV Software | 17 | 05-24-2004 08:44 PM |
Why "INVALID AIRING" in sage recordings? | carlgar | SageTV Software | 7 | 03-19-2004 12:17 PM |