SageTV Community  

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

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-06-2010, 06:43 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
"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]]]
What are these "BAD AIRINGS" and where did they come from? Is it safe to delete them? How do I filter them out in my STV code?

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.
Reply With Quote
  #2  
Old 01-06-2010, 07:02 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
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.
Reply With Quote
  #3  
Old 01-06-2010, 02:05 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
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.
Reply With Quote
  #4  
Old 01-06-2010, 02:47 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
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
Reply With Quote
  #5  
Old 01-06-2010, 02:54 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
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.
Reply With Quote
  #6  
Old 01-06-2010, 03:24 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by Opus4 View Post
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
Did it always say that? I knew about the "L" but I could swear it didn't use to say that in the documentation
Reply With Quote
  #7  
Old 01-06-2010, 04:50 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by Opus4 View Post
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
I'm using TVDB and merging the lists. The documentation led me to believe that L is a subset of T (i.e. L returns TV that passes IsLibraryFile()). Am I wrong?

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.
Reply With Quote
  #8  
Old 01-06-2010, 05:10 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
"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.
Reply With Quote
  #9  
Old 01-06-2010, 06:06 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
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...
Reply With Quote
  #10  
Old 01-06-2010, 06:21 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
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.
Reply With Quote
  #11  
Old 01-06-2010, 07:40 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
definately wouldn't delete them as I think they are the tuner properties that sage uses.
Reply With Quote
  #12  
Old 01-07-2010, 07:54 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by PLUCKYHD View Post
definately wouldn't delete them as I think they are the tuner properties that sage uses.
I'll let you know
__________________

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.
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
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


All times are GMT -6. The time now is 06:04 PM.


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