|
SageTV v9 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 9 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 9 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Automatically mark recording watched
I have Sage as the recording service but I have MCEBuddy run post processing and use another product to watch the recordings.
The problem I'm having is the same episodes keep recording. I'm guessing this is because I'm not watching them from within Sage. Is there a setting or plugin that I can mark these watched once they are recorded? Thanks |
#2
|
||||
|
||||
AFAIK they won't record if you have a current recording already. At least my setup doesn't record things that have already been recorded, but aren't watched yet.
Is MCE buddy removing the files? If so that would explain the issue.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#3
|
||||
|
||||
Are these episodes getting removed from the Sage recordings folder during this post processing?
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#4
|
||||
|
||||
You can set watched via the sagex web interface, by pulling a URL from the server. I'd have to take some time to figure out the best URL to do to try to get it in one go, but it should be possible.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#5
|
|||
|
|||
Yes MCEBuddy is moving them after processing.
That would be great if I could get a way to set them watched. |
#6
|
||||
|
||||
Quote:
If it is auto then I don't know of a way to mark them as watched before they are processed other than leaving the original file in place and you'd have to manually delete and mark watched.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#7
|
|||
|
|||
You can do that with MCEBUDDY set them as watched ... I worked with MCEBUDDY ... to extract the SageTV MediaFileID so that you can archive set them as watched etc.. I just had to set SageTV to create an XML file for each recording.
You need to set this property to create an XML file. load_at_startup_runnable_classes=net.sf.sageplugins.sagexmlinfo.RecordingXmlGenerator Below is what MCEBUDDY extracts and you can set a post process before deleting or moving to set watched. Code:
PostCustomCommandPath=C:\MCEBuddy_Tools\Sagetv\setwatched.bat PostCustomCommandParameters="%mediafiledbid%" "%airingdbid%" "%workingpath%" PostCustomCommandHangPeriod=300 PostCustomCommandCritical=true PostCustomCommandUISession=false PostCustomCommandShowWindow=false Code:
set sageDbIdoutf=%1 c:\sjqnew\wget\wget.exe --delete-after --tries=3 --directory-prefix=C:\temp "http://user:pasword@server:8080/sage/AiringCommand?command=SetWatched&MediaFileId=%sageDbIdoutf%" Code:
Title: Anne of Green Gables SubTitle: Description: Red-haired orphan Anne grows up in Avonlea on the farm of elderly Matthew and his sister, Marilla. Network: KOPBDT Network Affiliate: PBS Affiliate Parental Rating: NR Media Credits: Ella Ballentine;Sara Botsford;Martin Sheen;Julia Lalonde;Linda Kash;Kyle Gatehouse;Zoe Fraser;Stefani Kimber;John Kent Harrison;Ross Leslie;Joan Lambur;Peter Williamson Genres: Movie Season: 0 Episode: 0 Banner: Banner URL: IMDB Id: MovieDB Id: TVDB Id: Is Show Movie: True Is Show Sports: False OriginalBroadcastDateTime: 2016-05-05T00:00:00 RecordedDateTime: 2016-11-24T20:00:00 SeriesPremiereDate: 1899-12-31T16:00:00 CopyProtected: False SageTV FileID: 27493749 SageTV MediaFileID: 27627885
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 08-30-2017 at 08:20 AM. |
#8
|
|||
|
|||
Awesome, I'll give that a shot.
Thank You!!! |
#9
|
|||
|
|||
Ok, gave it a shot but failed.
I can't seem to get Jetty / Webserver going. This was a fresh install of v9 open source in windows 10. When trying to install SageTv Interface it fails getting the Jetty plugin. |
#10
|
|||
|
|||
You need to be able to Install the web browser maybe someone that supports the web browser can assist you.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#11
|
|||
|
|||
wow this is exactly the problem I am having, I was almost set to try a different PVR until I came across this. Could you please explain in detail where I need to insert those commands to get his to work? I already have the web sever installed and running.
|
#12
|
|||
|
|||
I'm having the same issue. I have SageTV V9 and the donar version of MCEBuddy. According to the MCEBuddy log, it appears it is getting the metadata from SageTV and skipping some invalid fields, but the SageTV MediaFileID is blank. I have loaded CMT to make the properties file, but it doesn't exist most times MCEBuddy starts processing and I have Sage setup to create XML files when recording.
I have the postprocessing setup in MCEBuddy and it executes the wget script, but since the MediaFileID is blank, it is not marking it as watched. Not sure if I missed a setup in MCE Buddy or a SageTV setting. Both programs are running on the same PC. 2017-02-08T22:03:51 MCEBuddy.MetaData.VideoMetaData --> Trying to match nPVR/SiliconDust series showname -> ChicagoPD-S04E13-IRememberHerNow-115433-0 2017-02-08T22:03:51 MCEBuddy.MetaData.VideoMetaData --> Looking for Season/Episode information in text 2017-02-08T22:03:51 MCEBuddy.MetaData.VideoMetaData --> Found Season/Episode information in text, Season:4, Episode:13 2017-02-08T22:03:51 MCEBuddy.MetaData.VideoMetaData --> Successfully extracted nPVR/SiliconDust series filename metadata INFORMATION> 2017-02-08T22:03:51 MCEBuddy.MetaData.FileExtractMetadata --> Extracting Alt SageTV PROPERTIES Tags 2017-02-08T22:03:51 MCEBuddy.MetaData.FileExtractMetadata --> Extracting SageTV meta data WARNING> 2017-02-08T22:03:51 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> TagLine= WARNING> 2017-02-08T22:03:51 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> Quotes= WARNING> 2017-02-08T22:03:51 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> Trivia= WARNING> 2017-02-08T22:03:51 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> TrailerUrl= WARNING> 2017-02-08T22:03:51 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> CollectionName= WARNING> 2017-02-08T22:03:51 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> CollectionOverview= WARNING> 2017-02-08T22:03:51 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> Year= 2017-02-08T22:03:51 MCEBuddy.MetaData.FileExtractMetadata --> Successfully extracted SageTV Tags metadata 2017-02-08T22:03:51 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted from file/name metadata -> Title: Chicago P.D. SubTitle: IRememberHerNow-115433-0 Description: Network: Network Affiliate: Parental Rating: Media Credits: Genres: Season: 4 Episode: 13 Banner: Banner URL: IMDB Id: tt5902076 MovieDB Id: TVDB Id: 269641 Is Show Movie: False Is Show Sports: False OriginalBroadcastDateTime: 2017-02-08T00:00:00 RecordedDateTime: 1899-12-31T18:00:00 SeriesPremiereDate: 1899-12-31T18:00:00 CopyProtected: False SageTV FileID: SageTV MediaFileID: Thanks in advance for any assistance. |
#13
|
|||
|
|||
Quote:
|
#14
|
|||
|
|||
Quote:
load_at_startup_runnable_classes=net.sf.sageplugins.sagexmlinfo.RecordingXmlGenerator Code:
2016-11-07T14:38:05 MCEBuddy.MetaData.VideoMetaData --> Trying to match nPVR/SiliconDust series showname -> TheNatural-27232194-0 2016-11-07T14:38:05 MCEBuddy.MetaData.VideoMetaData --> Looking for Season/Episode information in text 2016-11-07T14:38:05 MCEBuddy.MetaData.VideoMetaData --> Trying to match nPVR movie showname -> TheNatural-27232194-0 2016-11-07T14:38:05 MCEBuddy.MetaData.VideoMetaData --> Trying to extract generic nPVR filename details -> TheNatural-27232194-0 2016-11-07T14:38:05 MCEBuddy.MetaData.VideoMetaData --> Invalid nPVR generic filename INFORMATION> 2016-11-07T14:38:05 MCEBuddy.MetaData.FileExtractMetadata --> Extracting Alt XML Tags 2016-11-07T14:38:05 MCEBuddy.MetaData.FileExtractMetadata --> Extracting ICETV meta data 2016-11-07T14:38:05 MCEBuddy.MetaData.FileExtractMetadata --> Extracting SageTV XML meta data 2016-11-07T14:38:05 MCEBuddy.MetaData.FileExtractMetadata --> Successfully extracted SageTV XML metadata 2016-11-07T14:38:05 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted from file/name metadata -> Title: The Natural SubTitle: Description: On the way to a tryout with the Chicago Cubs, young baseball phenom Roy Hobbs (Robert Redford) is shot by the unstable Harriet Bird (Barbara Hershey). After 16 years, Hobbs returns to pro baseball as a rookie for the last-place New York Knights. Despite early arguments with his manager, Pop Fisher (Wilford Brimley), Hobbs becomes one of the best players in the league, and the Knights start winning. But this upsets the Judge (Robert Prosky), their owner, who wants Hobbs to lose games, not win. Network: SUNDANP Network Affiliate: SDTV Parental Rating: PG Media Credits: Robert Redford;Robert Duvall;Glenn Close;Kim Basinger;Wilford Brimley;Richard Farnsworth;Barbara Hershey;Robert Prosky;Darren McGavin;Joe Don Baker;John Finnegan;Barry Levinson;Mark Johnson;Bernard Malamud;Phil Dusenberry;Philip M. Breen;Roger Towne Genres: Movie Season: 0 Episode: 0 Banner: Banner URL: IMDB Id: MovieDB Id: TVDB Id: Is Show Movie: True Is Show Sports: False OriginalBroadcastDateTime: 1984-05-05T00:00:00 RecordedDateTime: 2016-11-02T07:02:00 SeriesPremiereDate: 1899-12-31T16:00:00 CopyProtected: False SageTV FileID: 27232194 SageTV MediaFileID: 27370748
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 02-09-2017 at 08:33 AM. |
#15
|
|||
|
|||
I had shut it down and put it in the sage.properties file. I removed CMT since it didn't include the show ID. I must have done something else when I removed CMT as it started generating the XML files that do include the corresponding XML file now. MCEBuddy is seeing it properly, so now I just need to monitor for a rerun to see if it gets recorded.
I appreciate the help. |
#16
|
|||
|
|||
I really appreciate this post. I got it figured out and the show now properly show up under watched in the SageTV web interface. Now finally my automation is running like a well oiled machine thanks to your help.
|
#17
|
|||
|
|||
Glad you guys got it working .....
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#18
|
|||
|
|||
interestingly this seems to have stopped working recently, I am going to do some digging but I have only gone so far as to make sure the XML is still getting generated
|
#19
|
|||
|
|||
so I realized a recent MCEBuddy updated remove my Post command info on the profile I was using, I inserted it back but its still not setting them watched in SageTv as before so it will record the same episodes over and over, strange that this only seems to happen on my HD PVR though, not on my ATSC 2250 one. Does anyone have any suggestions on what to try?
|
#20
|
|||
|
|||
according to my MCEBuddy log it is still adding the Sage info upon conversion and running setwatched.bat but in my upcoming recordings SageTV still lists recently air and converted shows
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recording Automatically Marked Watched | Taddeusz | SageTV Software | 3 | 07-04-2016 03:18 PM |
Automatically Mark Channels As HD | infocus13 | SageTV EPG Service | 0 | 07-08-2008 12:35 AM |
Can't mark DVDs as Watched | DaveWC | SageTV Software | 4 | 03-05-2008 11:35 AM |
Any way to mark a video as Watched? | kelemvor | SageTV Software | 3 | 06-04-2007 11:34 AM |
Mark multiple shows as watched? | steingra | SageTV Software | 7 | 02-15-2006 11:13 AM |