|
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 |
#41
|
|||
|
|||
Quote:
Yeah there is a problem with the first 2 lines of the XML file ... In the Profile mcebuddy profile I run I delete the first 2 lines prior to reading xml. <?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"> What mcebuddy profile are you using I can set something up for you.
__________________
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; 03-01-2018 at 08:58 PM. |
#42
|
|||
|
|||
Quote:
Thank you very much Quote:
Last edited by AlphaCrew; 03-02-2018 at 09:11 AM. |
#43
|
|||
|
|||
There is a problem with the first 2 lines of the XML that causes MCEBUDDY not be able to parse it... so I added a post script to delete the first 2 lines.
I have attached batch-files and scripts also a sample of a MCEBUDDY profile. Sample Profile Code:
[SageTS Unprocessed] Description=Very fast but limited functionality. Use this to convert to TS format while taking out commercials and keeping original video/audio quality. It does not remove black bars, resize the video, deinterlace or select audio language. The original video can be in any format, MPEG1, MPEG2 or MPEG4/H.264, it will be retained unaltered. PreMetaCustomCommandPath=C:\SageBatch\CheckXML.bat PreMetaCustomCommandParameters="""%sourcefile%""" PreMetaCustomCommandHangPeriod=600 PreMetaCustomCommandCritical=true PreMetaCustomCommandUISession=false PreMetaCustomCommandShowWindow=false PreMetaCustomCommandExitCodeCheck=true order=copy,ffmpeg copy-ext=.ts copy-audiodelay=skip ffmpeg-general=-threads 0 ffmpeg-video=-vcodec copy -f mpegts -map 0:v -sn ffmpeg-audio=-acodec copy -map 0:a ffmpeg-audioac3=-acodec copy -map 0:a ffmpeg-ext=.ts ffmpeg-audiodelay=skip FixedResolution=true SkipCropping=true PreConversionCommercialRemover=true AutoDeinterlace=false PostCustomCommandPath=C:\SageBatch\SetWatched.bat PostCustomCommandParameters="""%sourcefile%""" """%convertedfile%""" %mediafiledbid% PostCustomCommandHangPeriod=300 PostCustomCommandCritical=true PostCustomCommandUISession=false PostCustomCommandShowWindow=false
__________________
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; 03-07-2018 at 11:41 AM. |
#44
|
|||
|
|||
Will try it tonight. Thanks
|
#45
|
|||
|
|||
Quote:
|
#46
|
|||
|
|||
Quote:
|
#47
|
|||
|
|||
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#48
|
|||
|
|||
You are welcomed.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#49
|
|||
|
|||
seems to be working here perfectly as well, thank you again so much.
|
#50
|
|||
|
|||
Quote:
|
#51
|
|||
|
|||
Save the code above to the end of the profile you are using in MCEBUDDY then save the second part as a batch file and MCEBuddy will call it cursing post processing
|
#52
|
|||
|
|||
Thanks! I'll give it a try.
|
#53
|
|||
|
|||
Sorry not sure what I meant by cursing lol, replied as I was falling asleep
|
#54
|
||||
|
||||
I assumed you meant to type “during” and had a bad autocorrect turn it to “cursing”.
__________________
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 |
#55
|
|||
|
|||
Quote:
PostCustomCommandPath=C:\MCEBuddy_Tools\Sagetv\setwatched.bat PostCustomCommandParameters="%mediafiledbid%" "%airingdbid%" "%workingpath%" PostCustomCommandHangPeriod=300 PostCustomCommandCritical=true PostCustomCommandUISession=false PostCustomCommandShowWindow=false I created a batch fie named setwatched.bat with the following and copied it to C:\MCEBuddy_Tools\Sagetv\ set sageDbIdoutf=%1 c:\sjqnew\wget\wget.exe --delete-after --tries=3 --directory-prefix=C:\temp "http://userasword@server:8080/sage/AiringCommand?command=SetWatched&MediaFileId=%sageDbIdoutf%" I copied the following to the sage properties file. Sage is creating xml files. load_at_startup_runnable_classes=net.sf.sageplugins.sagexmlinfo.RecordingXmlGenerator I ran my MCEBuddy profile and the episode did not get marked as watched in Sage... Help! Thanks! |
#56
|
|||
|
|||
Quote:
you might want to make this change since mcebuudy has changed since I posted that ... PostCustomCommandPath=C:\MCEBuddy_Tools\Sagetv\setwatched.bat PostCustomCommandParameters=%mediafiledbid% PostCustomCommandHangPeriod=300 PostCustomCommandCritical=true PostCustomCommandUISession=false PostCustomCommandShowWindow=false
__________________
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; 10-01-2020 at 06:42 PM. |
#57
|
|||
|
|||
I updated the end of the mcebuddy.conf file with what you posted above. I ran the profile again. I attached the log. Thanks!
|
#58
|
|||
|
|||
Quote:
Code:
2020-10-02T22:37:18 MCEBuddy.Transcode.CustomCommand --> Custom command parameters read -> PostCustomCommandPath = PostCustomCommandParameters = PostCustomCommandHangPeriod = 300 PostCustomCommandCritical = False PostCustomCommandUISession = False PostCustomCommandShowWindow = True PostCustomCommandExitCodeCheck = False
__________________
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; 10-03-2020 at 01:34 PM. |
#59
|
|||
|
|||
I just realized I put the post commands on the end of the "task" MCEBuddy Test (Compskip) in the mcebuddy.conf file. and not on the end of the "MKV Unprocessed" section of the profiles.conf file. So I corrected this and put the post commands in the correct file and ran the MCEBuddy Test (compskip) task again. However, its still not marking the processed file as watched in Sage. I have attached the new log file. Thanks.
|
#60
|
|||
|
|||
Quote:
that is where wget.exe should also be there ... and change this in your batchfile c:\sjqnew\wget\ to c:\mcebuddy_tools\sagetv\ also make sure the user and pwd are correct... change the below to correct this shoule be the user and pwd you use to logon to the webserver. Code:
also make sure the user and pwd are correct... change the below to correct user:password user:pasword@server:8080
__________________
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; 10-03-2020 at 08:22 PM. |
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 |