SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v9 Customizations

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 08-26-2017, 01:19 PM
nyplayer nyplayer is online now
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,372
Quote:
Originally Posted by texasex1998 View Post
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
I do not use Sage much these days ... but if you post some mcebuddy logs I can look at them.
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.
Reply With Quote
  #22  
Old 08-30-2017, 08:17 AM
nyplayer nyplayer is online now
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,372
Changes made ....

Code:
PostCustomCommandPath=C:\MCEBuddy_Tools\Sagetv\setwatched.bat
PostCustomCommandParameters="%mediafiledbid%" "%airingdbid%" "%workingpath%"
PostCustomCommandHangPeriod=300
PostCustomCommandCritical=true
PostCustomCommandUISession=false
PostCustomCommandShowWindow=false
SetWatched
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%"
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.
Reply With Quote
  #23  
Old 12-18-2017, 02:54 PM
texasex1998 texasex1998 is offline
Sage User
 
Join Date: May 2016
Posts: 26
So this started happening again recently. I am not sure if it has anything to do either the latest Sage or MCEBuddy update but nothing has changed on my system of the bat file, is anyone else having the same issue?
Reply With Quote
  #24  
Old 02-20-2018, 11:07 AM
nyplayer nyplayer is online now
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,372
Quote:
Originally Posted by texasex1998 View Post
So this started happening again recently. I am not sure if it has anything to do either the latest Sage or MCEBuddy update but nothing has changed on my system of the bat file, is anyone else having the same issue?
Is it still happening ... I found a problem with the first line of the XML file that would cause MCEBUDDY not to process the XML file. If you are still having a problem you can post a log.
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.

Last edited by nyplayer; 02-20-2018 at 11:17 AM.
Reply With Quote
  #25  
Old 02-26-2018, 02:03 PM
texasex1998 texasex1998 is offline
Sage User
 
Join Date: May 2016
Posts: 26
yes unfortunately it's still happening

--> Process exited with code 0
INFORMATION> 2018-02-26T02:38:19 MCEBuddy.Engine.ConversionJob --> Renaming file using show information
--> Custom Renaming Command -> %showname% - s%season%##e%episode%## - %episodename% (MCE)
INFORMATION> --> Rename file to D:\MCEBuddy Working Bin\working0\The Walking Dead - s08e09 - Honor (MCE).mp4
INFORMATION> 2018-02-26T02:38:19 MCEBuddy.Engine.ConversionJob --> Running custom commands
--> Custom Renaming Command -> %showname% - s%season%##e%episode%## - %episodename% (MCE)
2018-02-26T02:38:19 MCEBuddy.Transcode.CustomCommand --> Custom command parameters read ->
CustomCommandPath =
CustomCommandParameters =
CustomCommandHangPeriod = 300
CustomCommandCritical = False
CustomCommandUISession = False
CustomCommandShowWindow = True
CustomCommandExitCodeCheck = False
INFORMATION> 2018-02-26T02:38:19 MCEBuddy.Transcode.CustomCommand --> No custom commands found
2018-02-26T02:38:19 MCEBuddy.Engine.ConversionJob --> Finished custom command, file size [KB] 1,174,628.00
INFORMATION> 2018-02-26T02:38:19 MCEBuddy.Engine.ConversionJob --> Moving converted file to destination
INFORMATION> 2018-02-26T02:38:19 MCEBuddy.Engine.ConversionJob --> Moving converted file D:\MCEBuddy Working Bin\working0\The Walking Dead - s08e09 - Honor (MCE).mp4 to D:\Recorded TV\Commercial Free\The Walking Dead - s08e09 - Honor (MCE).mp4
INFORMATION> 2018-02-26T02:38:19 MCEBuddy.Engine.ConversionJob --> Running custom commands
--> Custom Renaming Command -> %showname% - s%season%##e%episode%## - %episodename% (MCE)
2018-02-26T02:38:19 MCEBuddy.Transcode.CustomCommand --> Custom command parameters read ->
PostCustomCommandPath = d:\setwatched.bat
PostCustomCommandParameters = "%mediafiledbid%" "%airingdbid%" "%workingpath%"
PostCustomCommandHangPeriod = 300
PostCustomCommandCritical = True
PostCustomCommandUISession = False
PostCustomCommandShowWindow = False
PostCustomCommandExitCodeCheck = False
2018-02-26T02:38:19 MCEBuddy.Transcode.CustomCommand --> About to run custom command with parameters:
PostCustomCommandPath = d:\setwatched.bat
PostCustomCommandParameters = "23303390" "23053359" "D:\MCEBuddy Working Bin\working0"
PostCustomCommandHangPeriod = 300
PostCustomCommandCritical = True
PostCustomCommandUISession = False
PostCustomCommandShowWindow = False
PostCustomCommandExitCodeCheck = False
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> Launching process d:\setwatched.bat
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> Process arguments "23303390" "23053359" "D:\MCEBuddy Working Bin\working0"
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> UI Session Admin Process : False
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> Setting process priority to AboveNormal
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> d:\>set sageDbIdoutf="23303390"
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> d:\>D:\Wget\bin\wget.exe --delete-after --tries=3 --directory-prefix=D:\temp "http://usersswrd@localhost:8080/sage/sage/AiringCommand?command=SetWatched&MediaFileId="23303390""
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> syswgetrc = D:\Wget/etc/wgetrc
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> --2018-02-26 02:38:19-- http://user:*psswrd*@localhost:8080/...ileId=23303390
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> Resolving localhost... 127.0.0.1, ::1
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> Connecting to localhost|127.0.0.1|:8080... connected.
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> HTTP request sent, awaiting response... 401 Unauthorized
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> Reusing existing connection to localhost:8080.
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> HTTP request sent, awaiting response... 404 Not Found
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> 2018-02-26 02:38:19 ERROR 404: Not Found.
--> Process exited with code 1
2018-02-26T02:38:21 MCEBuddy.Engine.ConversionJob --> Finished end of conversion custom command, file size [KB] 1,174,628.00
INFORMATION> 2018-02-26T02:38:21 MCEBuddy.Engine.ConversionJob --> Success - All done!
INFORMATION> 2018-02-26T02:38:21 MCEBuddy.Engine.ConversionJob -->
--> Performance Metrics for the Current Conversion
-->

--> Working video pre-conversion duration (hh:mm:ss) -> 01:21:28
2018-02-26T02:38:21 MCEBuddy.Engine.ConversionJob --> Original file size [KB] 7,656,323.00
--> Dumping complete information about the file D:\Recorded TV\TheWalkingDead-S08E09-Honor-23053359-0.ts
2018-02-26T02:38:21 MCEBuddy.AppWrapper.Base --> Launching process C:\Program Files\MCEBuddy2x\ffmpeg\ffprobe.exe
2018-02-26T02:38:21 MCEBuddy.AppWrapper.Base --> Process arguments -hide_banner -probesize 100M -analyzeduration 300M -i "D:\Recorded TV\TheWalkingDead-S08E09-Honor-23053359-0.ts"
2018-02-26T02:38:21 MCEBuddy.AppWrapper.Base --> UI Session Admin Process : False
2018-02-26T02:38:21 MCEBuddy.AppWrapper.Base --> Setting process priority to AboveNormal
2018-02-26T02:38:23 MCEBuddy.AppWrapper.Base --> [h264 @ 00000000005d5c80] Increasing reorder buffer to 1
2018-02-26T02:38:23 MCEBuddy.AppWrapper.Base --> [mpegts @ 00000000005d33e0] PES packet size mismatch
2018-02-26T02:38:23 MCEBuddy.AppWrapper.Base --> Input #0, mpegts, from 'D:\Recorded TV\TheWalkingDead-S08E09-Honor-23053359-0.ts':
2018-02-26T02:38:23 MCEBuddy.AppWrapper.Base --> Duration: 01:21:28.69, start: 1.310389, bitrate: 12829 kb/s
2018-02-26T02:38:23 MCEBuddy.AppWrapper.Base --> Program 1
2018-02-26T02:38:23 MCEBuddy.AppWrapper.Base --> Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
2018-02-26T02:38:23 MCEBuddy.AppWrapper.Base --> Stream #0:1[0x1100]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 696 kb/s
--> Process exited with code 0
-->

--> <Start At Date/Time> <Duration (hh:mm:ss)> <Activity>
--> <02/26/2018 01:38:09> <00:00:00> <Running custom commands>
--> <02/26/2018 01:38:09> <00:00:10> <Getting show information and banner from Internet sources>
--> <02/26/2018 01:38:19> <00:00:00> <Running custom commands>
--> <02/26/2018 01:38:19> <00:00:02> <Checking for disk space>
--> <02/26/2018 01:38:22> <00:02:03> <Copying source file to working directory>
--> <02/26/2018 01:40:25> <00:00:00> <Trimming video recording>
--> <02/26/2018 01:40:25> <00:00:08> <Analyzing video information>
--> <02/26/2018 01:40:33> <00:05:11> <Advertisement scan>
--> <02/26/2018 01:45:45> <00:00:00> <Running custom commands>
--> <02/26/2018 01:45:45> <00:00:05> <Analyzing video information>
--> <02/26/2018 01:45:51> <00:52:15> <Converting>
--> <02/26/2018 02:38:06> <00:00:12> <Writing show information>
--> <02/26/2018 02:38:19> <00:00:00> <Renaming file using show information>
--> <02/26/2018 02:38:19> <00:00:00> <Running custom commands>
--> <02/26/2018 02:38:19> <00:00:00> <Moving converted file to destination>
--> <02/26/2018 02:38:19> <00:00:02> <Running custom commands>
--> <02/26/2018 02:38:21> <00:00:00> <Success - All done!>
-->

INFORMATION> --> Total time taken by conversion (hh:mm:ss) -> 01:00:12

Last edited by texasex1998; 02-26-2018 at 02:27 PM.
Reply With Quote
  #26  
Old 02-26-2018, 04:30 PM
nyplayer nyplayer is online now
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,372
It looks like you are not authorized did you change the sage password and did not change it in the batch job?? Or did you update WGET ?


2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> Connecting to localhost|127.0.0.1|:8080... connected.
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> HTTP request sent, awaiting response... 401 Unauthorized
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> Reusing existing connection to localhost:8080.
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> HTTP request sent, awaiting response... 404 Not Found
2018-02-26T02:38:19 MCEBuddy.AppWrapper.Base --> 2018-02-26 02:38:19 ERROR 404: Not Found.
--> Process exited with code 1
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.

Last edited by nyplayer; 02-26-2018 at 04:58 PM.
Reply With Quote
  #27  
Old 02-26-2018, 08:25 PM
texasex1998 texasex1998 is offline
Sage User
 
Join Date: May 2016
Posts: 26
no none of the above, I had noticed this before, but even when it was working properly so I just ignored it. I am logging into sage with this password
Reply With Quote
  #28  
Old 02-26-2018, 08:51 PM
nyplayer nyplayer is online now
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,372
Quote:
Originally Posted by texasex1998 View Post
no none of the above, I had noticed this before, but even when it was working properly so I just ignored it. I am logging into sage with this password
Something is wrong in your environment because I tested it and it connects .... You are getting a 404 error.... are you overiding something in the windows Hosts file ? this is different then what I see. notice the || around your local IP. Try 127.0.0.1 instead of localhost in your batch file.... this should work.

Connecting to localhost|127.0.0.1|:8080... connected

2018-02-26T09:43:53 MCEBuddy.AppWrapper.Base --> Connecting to 127.0.0.1:8080... connected.
2018-02-26T09:43:53 MCEBuddy.AppWrapper.Base --> HTTP request sent, awaiting response... 401 Unauthorized
2018-02-26T09:43:53 MCEBuddy.AppWrapper.Base --> Reusing existing connection to 127.0.0.1:8080.
2018-02-26T09:43:53 MCEBuddy.AppWrapper.Base --> HTTP request sent, awaiting response... 200 OK
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.

Last edited by nyplayer; 02-26-2018 at 09:05 PM.
Reply With Quote
  #29  
Old 02-26-2018, 09:09 PM
texasex1998 texasex1998 is offline
Sage User
 
Join Date: May 2016
Posts: 26
Iím not sure Iím following, I can connect fine to the Sage Webserver no problem using the exact same credentials as in the BAT file. I have 2 machines running Sage, and I havenít altered the hosts file on either one unless SpyBot or something else might have
Reply With Quote
  #30  
Old 02-26-2018, 09:18 PM
nyplayer nyplayer is online now
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,372
Quote:
Originally Posted by texasex1998 View Post
Iím not sure Iím following, I can connect fine to the Sage Webserver no problem using the exact same credentials as in the BAT file. I have 2 machines running Sage, and I havenít altered the hosts file on either one unless SpyBot or something else might have
Something is wrong try just 127.0.0.1 instead of localhost if that works there is a problem resolving localhost to 127.0.0.1.


this is my Host file on windows 10 ... 127.0.0.1 is commented out.

Code:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#	127.0.0.1       localhost
#	::1             localhost
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.

Last edited by nyplayer; 02-26-2018 at 09:20 PM.
Reply With Quote
  #31  
Old 02-26-2018, 09:44 PM
texasex1998 texasex1998 is offline
Sage User
 
Join Date: May 2016
Posts: 26
so are you saying for instance from the log file to test by enterering

http://userswrd@127.0.0.1:8080/sage/sage/AiringCommand?command=SetWatched&MediaFileId="23303390"

if that is the case I am getting a not found error, nothing about login being rejected
Reply With Quote
  #32  
Old 02-26-2018, 10:05 PM
texasex1998 texasex1998 is offline
Sage User
 
Join Date: May 2016
Posts: 26
ok I noticed an error on the bat file on that machine, it had sage/sage/ in the path, however the other machine is not marking set watched either and it seems to be logging in just fine, see below

2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Resolving localhost... 127.0.0.1, ::1
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Connecting to localhost|127.0.0.1|:8080... connected.
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> HTTP request sent, awaiting response... 401 Unauthorized
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Reusing existing connection to localhost:8080.
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> HTTP request sent, awaiting response... 200 OK
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Length: 1769 (1.7K) [text/html]
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Saving to: `D:/temp/AiringCommand@command=SetWatched&MediaFileId=%22'
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> 0K . 100% 135M=0s
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> 2018-02-25 22:11:04 (135 MB/s) - `D:/temp/AiringCommand@command=SetWatched&MediaFileId=%22' saved [1769/1769]
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Removing D:/temp/AiringCommand@command=SetWatched&MediaFileId=%22.
--> Process exited with code 0
2018-02-25T22:11:07 MCEBuddy.Engine.ConversionJob --> Finished end of conversion custom command, file size [KB] 498,925.00
INFORMATION> 2018-02-25T22:11:07 MCEBuddy.Engine.ConversionJob --> Success - All done!
INFORMATION> 2018-02-25T22:11:07 MCEBuddy.Engine.ConversionJob -->
--> Performance Metrics for the Current Conversion
Reply With Quote
  #33  
Old 02-26-2018, 10:59 PM
nyplayer nyplayer is online now
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,372
Quote:
Originally Posted by texasex1998 View Post
ok I noticed an error on the bat file on that machine, it had sage/sage/ in the path, however the other machine is not marking set watched either and it seems to be logging in just fine, see below

2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Resolving localhost... 127.0.0.1, ::1
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Connecting to localhost|127.0.0.1|:8080... connected.
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> HTTP request sent, awaiting response... 401 Unauthorized
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Reusing existing connection to localhost:8080.
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> HTTP request sent, awaiting response... 200 OK
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Length: 1769 (1.7K) [text/html]
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Saving to: `D:/temp/AiringCommand@command=SetWatched&MediaFileId=%22'
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> 0K . 100% 135M=0s
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> 2018-02-25 22:11:04 (135 MB/s) - `D:/temp/AiringCommand@command=SetWatched&MediaFileId=%22' saved [1769/1769]
2018-02-25T22:11:04 MCEBuddy.AppWrapper.Base --> Removing D:/temp/AiringCommand@command=SetWatched&MediaFileId=%22.
--> Process exited with code 0
2018-02-25T22:11:07 MCEBuddy.Engine.ConversionJob --> Finished end of conversion custom command, file size [KB] 498,925.00
INFORMATION> 2018-02-25T22:11:07 MCEBuddy.Engine.ConversionJob --> Success - All done!
INFORMATION> 2018-02-25T22:11:07 MCEBuddy.Engine.ConversionJob -->
--> Performance Metrics for the Current Conversion
You have SetWatched&MediaFileId=%22 something is wrong in your batch file.
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.
Reply With Quote
  #34  
Old 02-26-2018, 11:18 PM
texasex1998 texasex1998 is offline
Sage User
 
Join Date: May 2016
Posts: 26
thanks, I went back and cut and pasted the last code you gave me for the bat above, starting from scratch. Unfortunately I won't know if this worked until Thursday when the next recording on my WinTV Quad is set to record. I will let you know if it doesn't work for whatever reason. I appreciate your help.
Reply With Quote
  #35  
Old 02-27-2018, 12:35 PM
AlphaCrew AlphaCrew is offline
Sage Aficionado
 
Join Date: May 2010
Location: Whosevile
Posts: 266
Ah this is cool, didn't know this was possible..

I need a little help understanding what is actually being passed to

set sageDbIdoutf=%1

I have a fairly complex postcommand (over 9 PARMS) and trying to figure out how to implement it (cuz I suck at batch).

Thanks
Reply With Quote
  #36  
Old 02-28-2018, 03:22 PM
nyplayer nyplayer is online now
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,372
Quote:
Originally Posted by AlphaCrew View Post
Ah this is cool, didn't know this was possible..

I need a little help understanding what is actually being passed to

set sageDbIdoutf=%1

I have a fairly complex postcommand (over 9 PARMS) and trying to figure out how to implement it (cuz I suck at batch).

Thanks
That is the ID of the entry that points to the recording in the SageTV database ... You need to generate a XML file in Sage in order for MCEBUDDY to recognize it. I use MCEBUDDY to Rename my Sage Files. with the year.

Avengers Age of Ultron (2015) -353862-0.ts
X Company (2015) - S01E02 - Trial by Fire -361420-0.ts


Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE sageShowInfo PUBLIC "-//NIELM//DTD SAGESHOWINFO XML 1.3//EN" "http://sageplugins.sourceforge.net/nielm_modules/sagexmlinfo/sageshowinfo_1_3.dtd">
<sageShowInfo version="1.3">
    <systemInfo>
        <alertLevel description="Status" level="0"/>
    </systemInfo>
    <channelList>
        <channel channelId="67890">
            <channelName>TBSHDP</channelName>
            <channelDescription>TBS HD (Pacific)</channelDescription>
            <channelNumber>755</channelNumber>
        </channel>
    </channelList>
    <favoriteList>
        <favorite favoriteId="520190">
            <category>Movie</category>
            <keyword>"Iron Man"</keyword>
            <firstRun/>
            <reRun/>
            <autoDelete/>
        </favorite>
    </favoriteList>
    <showList>
        <show epgId="MV5709290000">
            <title>Avengers: Age of Ultron</title>
            <duration>8460</duration>
            <category>Movie</category>
            <subCategory>Action</subCategory>
            <description>When Tony Stark (Robert Downey Jr.) jump-starts a dormant peacekeeping program, things go terribly awry, forcing him, Thor (Chris Hemsworth), the Incredible Hulk (Mark Ruffalo) and the rest of the Avengers to reassemble. As the fate of Earth hangs in the balance, the team is put to the ultimate test as they battle Ultron, a technological terror hell-bent on human extinction. Along the way, they encounter two mysterious and powerful newcomers, Pietro and Wanda Maximoff.</description>
            <rating>PG-13</rating>
            <advisoryList>
                <advisory>Adult Situations</advisory>
                <advisory>Violence</advisory>
            </advisoryList>
            <peopleList>
                <person role="Actor">Robert Downey Jr.</person>
                <person role="Actor">Chris Hemsworth</person>
                <person role="Actor">Mark Ruffalo</person>
                <person role="Actor">Chris Evans</person>
                <person role="Actor">Scarlett Johansson</person>
                <person role="Actor">Jeremy Renner</person>
                <person role="Actor">Don Cheadle</person>
                <person role="Actor">Aaron Johnson</person>
                <person role="Actor">Elizabeth Olsen</person>
                <person role="Actor">Paul Bettany</person>
                <person role="Actor">Cobie Smulders</person>
                <person role="Actor">Anthony Mackie</person>
                <person role="Actor">Hayley Atwell</person>
                <person role="Actor">Idris Elba</person>
                <person role="Actor">Stellan Skarsgard</person>
                <person role="Actor">Samuel L. Jackson</person>
                <person role="Actor">Thomas Kretschmann</person>
                <person role="Director">Joss Whedon</person>
                <person role="Producer">Kevin Feige</person>
                <person role="Writer">Joss Whedon</person>
                <person role="Executive_Producer">Jon Favreau</person>
                <person role="Executive_Producer">Stan Lee</person>
                <person role="Executive_Producer">Victoria Alonso</person>
                <person role="Executive_Producer">Jeremy Latcham</person>
                <person role="Executive_Producer">Patricia Whitcher</person>
                <person role="Executive_Producer">Alan Fine</person>
                <person role="Executive_Producer">Louis D'Esposito</person>
                <person role="Voice">James Spader</person>
                <person role="Film Editor">Jeffrey Ford</person>
                <person role="Film Editor">Lisa Lassek</person>
                <person role="Music">Brian Tyler</person>
                <person role="Music">Danny Elfman</person>
                <person role="Cinematographer">Ben Davis</person>
                <person role="Costume Designer">Alexandra Byrne</person>
                <person role="Production Design">Charles Wood</person>
            </peopleList>
            <year>2015</year>
            <misc>***, Brooding, Brash, Dark, 2010s, Discovery, Adventure, Pursuit, Superhero, Iron Man, Thor, Hulk, Captain America, Villain, Forest, Laboratory, Street, Airplane, Russia, City, Superheroes, Danger, Technology, Teamwork, Fighting, Saving the world</misc>
            <airing channelId="67890" duration="10800" favoriteId="520190" sageDbId="353862" startTime="2018-02-26T04:00:00.00Z">
                <parentalRating>TV14</parentalRating>
                <recordSchedule duration="10800" startTime="2018-02-26T04:00:00.00Z"/>
                <isHDTV/>
                <closedCaptioned/>
                <mediafile duration="10798" sageDbId="601530" startTime="2018-02-26T04:00:01.74Z" type="TV">
                    <archived/>
                    <segmentList>
                        <segment duration="10798" filePath="\\MYCLOUDPR4100\Public\SageTVRec\Movies\Avengers Age of Ultron (2015)\Avengers Age of Ultron (2015) -353862-0.ts" startTime="2018-02-26T04:00:01.74Z"/>
                    </segmentList>
                </mediafile>
            </airing>
        </show>
    </showList>
    <systemMessageList/>
</sageShowInfo>
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.

Last edited by nyplayer; 02-28-2018 at 03:31 PM.
Reply With Quote
  #37  
Old 02-28-2018, 06:53 PM
AlphaCrew AlphaCrew is offline
Sage Aficionado
 
Join Date: May 2010
Location: Whosevile
Posts: 266
Ok so all that is needed is %mediafiledbid% field to find the match?

Also what program are you using?? what is wget.exe?

Thank you.
Reply With Quote
  #38  
Old 03-01-2018, 01:14 PM
nyplayer nyplayer is online now
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,372
Quote:
Originally Posted by AlphaCrew View Post
Ok so all that is needed is %mediafiledbid% field to find the match?

Also what program are you using?? what is wget.exe?

Thank you.
Exactly what is it that you want to do ?
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.
Reply With Quote
  #39  
Old 03-01-2018, 01:46 PM
AlphaCrew AlphaCrew is offline
Sage Aficionado
 
Join Date: May 2010
Location: Whosevile
Posts: 266
Quote:
Originally Posted by nyplayer View Post
Exactly what is it that you want to do ?
I want to set the Watched flag for a processed recording, inside my batch file.
Reply With Quote
  #40  
Old 03-01-2018, 06:39 PM
AlphaCrew AlphaCrew is offline
Sage Aficionado
 
Join Date: May 2010
Location: Whosevile
Posts: 266
Is it normal for the XML file to be invalid? Most of the shows I'm recording end up with invalid XML files. 3 or 4 works Ok.

Code:
2018-03-01T19:09:34 MCEBuddy.MetaData.VideoMetaData --> Trying to match nPVR/SiliconDust series showname -> Corporate-S01E08-SocietyTomorrow-965211-0
2018-03-01T19:09:34 MCEBuddy.MetaData.VideoMetaData --> Looking for Season/Episode information in text
2018-03-01T19:09:34 MCEBuddy.MetaData.VideoMetaData --> Pattern 1, Found Season/Episode information in text, Season:1, Episode:8
2018-03-01T19:09:34 MCEBuddy.MetaData.VideoMetaData --> Successfully extracted nPVR/SiliconDust series filename metadata
INFORMATION> 2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Extracting Alt XML Tags
2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Extracting ICETV metadata
WARNING> 2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Invalid XML File
2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Extracting SageTV XML metadata
WARNING> 2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Invalid XML File
INFORMATION> 2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Extracting Alt SageTV PROPERTIES Tags
2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Extracting SageTV metadata
WARNING> 2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> TagLine=
WARNING> 2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> Quotes=
WARNING> 2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> Trivia=
WARNING> 2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> TrailerUrl=
WARNING> 2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> CollectionName=
WARNING> 2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> CollectionOverview=
WARNING> 2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Skipping invalid properties entry -> Year=
2018-03-01T19:09:34 MCEBuddy.MetaData.FileExtractMetadata --> Successfully extracted SageTV Tags metadata
2018-03-01T19:09:34 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted from file/name metadata -> 
Title: Corporate
SubTitle: SocietyTomorrow-965211-0
Description: 
Network: 
Network Affiliate: 
Parental Rating: 
Media Credits: 
Genres: 
Season: 1
Episode: 8
Banner: 
Banner URL: 
IMDB Id: tt7289294
MovieDB Id: 
TVDB Id: 339137
Is Show Movie: False
Is Show Sports: False
OriginalBroadcastDateTime: 2018-02-28T00:00:00
RecordedDateTime: 1899-12-31T19:00:00
SeriesPremiereDate: 1899-12-31T19:00:00
CopyProtected: False
SageTV FileID: 
SageTV MediaFileID:
Reply With Quote
Reply


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

Advanced Search
Display Modes

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


All times are GMT -6. The time now is 08:58 AM.


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