• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 15
SageTV Integration - Movies and TV Shows archiving compatible with XBMC
#61
armbrusts Wrote:in the task manager it shows up as "HandBrakeCLI *32" I tried putting that in the config file, but no luck. Any suggestions?.

The *32 should not show up in the real process name.
You can check what the program sees by opening a command prompt and executing
Code:
INSTALL_DIR\res\process.exe -c
The first column will have the process name. Let me know what you see. You'll have to do it when handbrakecli is running.
BTW - This only works on windows.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#62
Ok, here is the output

Code:
cmd.exe  6584       1        8   0  02/02/2011 01:26:12
     conhost.exe  5504       1        8   0  02/02/2011 01:26:12
[b]HandBrakeCLI.exe[/b]  8080      42        8  12  02/02/2011 01:26:12
     comskip.exe  6740       1        4   0  02/02/2011 01:26:26
     comskip.exe  7800       1        4   0  02/02/2011 01:26:26

Here is the part of the config file

Code:
        <HandBrakeOptimized>
            <process_name>handbrakecli.exe</process_name>
            <max_simultaneous>2</max_simultaneous>

and the log file
Code:
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Found matching recording, checking if it can be processed now: \\tower\disk1\Sage\StarTrekTheNextGeneration-Schisms-4600892-0.mpg
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Performing additional checks to determine if \\tower\disk1\Sage\StarTrekTheNextGeneration-Schisms-4600892-0.mpg can be processed right now.
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Retrieving XML from Sagex at URL: http://localhost:8080/sagex/api?c=GetMediaFileForFilePath&1=%5C%5Ctower%5Cdisk1%5CSage%5CStarTrekTheNextGeneration-Schisms-4600892-0.mpg
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Since this video can be manually archived, gathering extra meta-data incase .nfo files have to be written.
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - seriesTitle: "Star Trek The Next Generation"
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - episodeTitle: "Schisms"
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - origAirDate = 1992-10-19
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - isCurrentlyRecording = false
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - This recording is distributed over 1 file
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - isPartialRecording = false
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - 91878 minutes have passed since video finished recording, this is >= the minimum of 1 minutes. OK to process this video.
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - This video has been queried on thetvdb 0 times which is less than max of 3. Will not manually archive until more tvdb queries are attempted.
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - .properties file does not exist, will attempt lookup on thetvdb.com
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - TheTVDB series ID is overridden in config file, no need to look it up. Using ID of: "71470"
02/01/2011 08:18:42 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Attempting to find matching episode with original air date = "1992-10-19" title = "Schisms" from thetvdb, url = http://www.thetvdb.com/api/XXXXXXXXE24118DC/series/71470/all/en.xml
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - DATE MATCH:  Season 6, Episode 5, Titled "Schisms", first aired on 1992-10-19
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - TITLE MATCH:  Season 6, Episode 5, Titled "Schisms", first aired on 1992-10-19
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - SUCCESSFUL LOOKUP: Found matching episdode on thetvdb:  Season 6, Episode 5, Titled "Schisms", first aired on 1992-10-19
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Checking if this TV Episode already exists in \\tower\Media\FromSage\TV Shows\Star.Trek.The.Next.Generation
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - The directory "\\tower\Media\FromSage\TV Shows\Star.Trek.The.Next.Generation" does not exist, so this video is not already archived.
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - This video does not already exist in dropbox... continuing
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - This video can be archived. All checks passed for: \\tower\disk1\Sage\StarTrekTheNextGeneration-Schisms-4600892-0.mpg
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Redirect = false
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Prefer Orignal = false
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Manual Archiving = false
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Use External Compression = true
02/01/2011 08:18:49 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Copying video file from \\tower\disk1\Sage\StarTrekTheNextGeneration-Schisms-4600892-0.mpg to \\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E05-zXz-Schisms.mpg
02/01/2011 08:26:11 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Copying .edl file from \\tower\disk1\Sage\StarTrekTheNextGeneration-Schisms-4600892-0.mpg to \\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E05-zXz-Schisms.edl
02/01/2011 08:26:12 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Successfully copied .edl file from \\tower\disk1\Sage\StarTrekTheNextGeneration-Schisms-4600892-0.edl to \\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E05-zXz-Schisms.edl
02/01/2011 08:26:12 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Attempting to start external compression, using encoding defintion named "HandBrakeOptimized"
02/01/2011 08:26:12 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Successfully wrote command to temporary .cmd file: C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\logs\encoding\encodingCommand-StarTrekTheNextGeneration-Schisms-4600892-0.cmd
02/01/2011 08:26:12 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Executing .cmd file: "C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\logs\encoding\encodingCommand-StarTrekTheNextGeneration-Schisms-4600892-0.cmd"
02/01/2011 08:26:12 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Executing command: "C:\Program Files (x86)\Handbrake\HandBrakeCLI.exe" -i "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E05-zXz-Schisms.mpg" -t 1 -c 1 -o "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E05-zXz-Schisms.mkv"  -f mkv -4  --detelecine --decomb --strict-anamorphic  -e x264 -q 22 -a 1 -E copy:ac3 -6 auto -R Auto -B auto -D 0.0 --subtitle 1 -x b-adapt=2:rc-lookahead=50:ref=2 -v 2 > "C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\logs\encoding\encodingLog-StarTrekTheNextGeneration-Schisms-4600892-0.log" 2>&1
02/01/2011 08:26:12 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - Wating for exertnal compression to finish
02/01/2011 08:26:17 PM ERROR    - StarTrekTheNextGeneration-Schisms-4600892-0.m - A Process ID could not be found for the process named "handbrakecli.exe". Please verify this is the process name you see in the task manager. Once external compression is done, you will have to manually move this file to its correct dropbox folder.
\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E05-zXz-Schisms.mpg
02/01/2011 08:26:17 PM INFO     - StarTrekTheNextGeneration-Schisms-4600892-0.m - COMPLETED: processing \\tower\disk1\Sage\StarTrekTheNextGeneration-Schisms-4600892-0.mpg

Thanks for looking at this.
Reply
#63
Well, everything looks correct.
I wrote a patch to give more info in the log and also handle a couple scenarios i see as might be causing this problem.

Rename your current .jar to .old and replace it with this: http://bradvido.com/sagexbmc/SageXBMC-1.3.2-patch.zip

If it still doesn't work, change the log level to 4. Then run the program from the command line using one of the .cmd files, and you will get even more debug output.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#64
i installed the patch. from the log file:

Code:
02/02/2011 09:32:32 AM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - Use External Compression = true
02/02/2011 09:32:32 AM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - Copying video file from \\tower\disk1\Sage\StarTrekTheNextGeneration-TimesArrow-4591108-0.mpg to \\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E01-zXz-Times Arrow.mpg
02/02/2011 10:25:09 AM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - Copying .edl file from \\tower\disk1\Sage\StarTrekTheNextGeneration-TimesArrow-4591108-0.mpg to \\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E01-zXz-Times Arrow.edl
02/02/2011 10:25:09 AM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - Successfully copied .edl file from \\tower\disk1\Sage\StarTrekTheNextGeneration-TimesArrow-4591108-0.edl to \\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E01-zXz-Times Arrow.edl
02/02/2011 10:25:09 AM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - Attempting to start external compression, using encoding defintion named "HandBrakeOptimized"
02/02/2011 10:25:09 AM DEBUG    - StarTrekTheNextGeneration-TimesArrow-4591108- - Command after replacing [FILE_PATH_NO_EXT] = "C:\Program Files (x86)\Handbrake\HandBrakeCLI.exe" -i "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E01-zXz-Times Arrow.mpg" -t 1 -c 1 -o "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E01-zXz-Times Arrow.mkv"  -f mkv -4  --detelecine --decomb --strict-anamorphic  -e x264 -q 22 -a 1 -E copy:ac3 -6 auto -R Auto -B auto -D 0.0 --subtitle 1 -x b-adapt=2:rc-lookahead=50:ref=2 -v 2 > "C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\logs\encoding\encodingLog-StarTrekTheNextGeneration-TimesArrow-4591108-0.log" 2>&1
02/02/2011 10:25:09 AM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - Successfully wrote command to temporary .cmd file: C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\logs\encoding\encodingCommand-StarTrekTheNextGeneration-TimesArrow-4591108-0.cmd
02/02/2011 10:25:09 AM DEBUG    - StarTrekTheNextGeneration-TimesArrow-4591108- - External compression thread started...
02/02/2011 10:25:09 AM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - Executing .cmd file: "C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\logs\encoding\encodingCommand-StarTrekTheNextGeneration-TimesArrow-4591108-0.cmd"
02/02/2011 10:25:09 AM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - Executing command: "C:\Program Files (x86)\Handbrake\HandBrakeCLI.exe" -i "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E01-zXz-Times Arrow.mpg" -t 1 -c 1 -o "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E01-zXz-Times Arrow.mkv"  -f mkv -4  --detelecine --decomb --strict-anamorphic  -e x264 -q 22 -a 1 -E copy:ac3 -6 auto -R Auto -B auto -D 0.0 --subtitle 1 -x b-adapt=2:rc-lookahead=50:ref=2 -v 2 > "C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\logs\encoding\encodingLog-StarTrekTheNextGeneration-TimesArrow-4591108-0.log" 2>&1
02/02/2011 10:25:09 AM DEBUG    - StarTrekTheNextGeneration-TimesArrow-4591108- - Reading output from command
02/02/2011 10:25:09 AM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - Wating for exertnal compression to finish
02/02/2011 10:25:09 AM DEBUG    - StarTrekTheNextGeneration-TimesArrow-4591108- - >>>
02/02/2011 10:25:09 AM DEBUG    - StarTrekTheNextGeneration-TimesArrow-4591108- - >>> c:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\dist>"C:\Program Files (x86)\Handbrake\HandBrakeCLI.exe" -i "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E01-zXz-Times Arrow.mpg" -t 1 -c 1 -o "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E01-zXz-Times Arrow.mkv"  -f mkv -4  --detelecine --decomb --strict-anamorphic  -e x264 -q 22 -a 1 -E copy:ac3 -6 auto -R Auto -B auto -D 0.0 --subtitle 1 -x b-adapt=2:rc-lookahead=50:ref=2 -v 2  1>"C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\logs\encoding\encodingLog-StarTrekTheNextGeneration-TimesArrow-4591108-0.log" 2>&1
02/02/2011 10:25:15 AM ERROR    - StarTrekTheNextGeneration-TimesArrow-4591108- - A Process ID could not be found for the process named "handbrakecli.exe". Please verify this is the process name you see in the task manager. Once external compression is done, you will have to manually move this file to its correct dropbox folder.
\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S06E01-zXz-Times Arrow.mpg
02/02/2011 10:25:15 AM DEBUG    - StarTrekTheNextGeneration-TimesArrow-4591108- - Successfully wrote 1 line to file: C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\res\processedFiles.txt
02/02/2011 10:25:15 AM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - COMPLETED: processing \\tower\disk1\Sage\StarTrekTheNextGeneration-TimesArrow-4591108-0.mpg
02/02/2011 10:25:15 AM DEBUG    - SuperWhy-4887333-0.edl                        - Skipping. This file is not recognized as a SageTV file(Skipping, not a valid video extension (.wmv|.mkv|.ts|.mpg|.avi) -- ".edl"): \\tower\disk1\Sage\SuperWhy-4887333-0.edl
Reply
#65
armbrusts Wrote:i installed the patch. from the log file:
For whatever reason, the program is able to get a list of processes from windows. Please run the program from the command line using java -jar sagexbmc.jar and look for stacktraces in the output. I bet we will find the root cause there.

I use external compression and handbrake every day, and I have not had any
trouble on my windows7 x64 environment.

I should also add that this program currently uses the root of the dropbox as a staging area for external compression. If the dropbox is not local to where this program is running, then handbrake will be compressing over the network. Not ideal, but will still work. I'm going to look for a better way to handle this next release.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#66
Thanks,

Quote:For whatever reason, the program is able to get a list of processes from windows


Do you mean unable?

I did run from the command line, runing the include x64.cmd file. There was a lot of output to the terminal window, I'll see if I can find something relevant. If not, I'll redirect the output to a file.

Quote:I should also add that this program currently uses the root of the dropbox as a staging area for external compression.

Yeah, I noticed that. On my system, the processors are the bottle neck anyways. A question through, does it need to copy the file to the dropbox folder before doing the encoding? Could it just do it directly from the original location to the target? Or at least from the original to the dropbox, and them move it when it's done?
Reply
#67
armbrusts Wrote:Do you mean unable?

I did run from the command line, runing the include x64.cmd file. There was a lot of output to the terminal window, I'll see if I can find something relevant. If not, I'll redirect the output to a file.

Yeah, I noticed that. On my system, the processors are the bottle neck anyways. A question through, does it need to copy the file to the dropbox folder before doing the encoding? Could it just do it directly from the original location to the target? Or at least from the original to the dropbox, and them move it when it's done?
-Yes, i did mean unable.

-Redirect the output to a file and let me take a look. I'm curious as to what's going on here.

-Yes, I can probably just use the original recording as the source for the encoding. I was making that temporary copy to avoid interfering with Sage. Since my dropbox is on the server that I run the program on, it's not really an issue for me... Either way, I'll probably add some user-configuration for this in the next release.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#68
No luck, the output to the console is the same as from the log.

This is from the console.
Code:
02/02/2011 06:13:22 PM DEBUG    - StarTrekTheNextGeneration-LowerDecks-4880008- - External compression thread started...
02/02/2011 06:13:22 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - Executing .cmd file: "C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\logs\encoding\encodingCommand-StarTrekTheNextGeneration-LowerDecks-4880008-0.cmd"
02/02/2011 06:13:22 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - Executing command: "C:\Program Files (x86)\Handbrake\HandBrakeCLI.exe" -i "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S07E15-zXz-Lower Decks.mpg" -t 1 -c 1 -o "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S07E15-zXz-Lower Decks.mkv"  -f mkv -4  --detelecine --decomb --strict-anamorphic  -e x264 -q 22 -a 1 -E copy:ac3 -6 auto -R Auto -B auto -D 0.0 --subtitle 1 -x b-adapt=2:rc-lookahead=50:ref=2 -v 2 > "C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\logs\encoding\encodingLog-StarTrekTheNextGeneration-LowerDecks-4880008-0.log" 2>&1
02/02/2011 06:13:22 PM DEBUG    - StarTrekTheNextGeneration-LowerDecks-4880008- - Reading output from command
02/02/2011 06:13:22 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - Wating for exertnal compression to finish
02/02/2011 06:13:22 PM DEBUG    - StarTrekTheNextGeneration-LowerDecks-4880008- - >>>
02/02/2011 06:13:22 PM DEBUG    - StarTrekTheNextGeneration-LowerDecks-4880008- - >>> c:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\dist>"C:\Program Files (x86)\Handbrake\HandBrakeCLI.exe" -i "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S07E15-zXz-Lower Decks.mpg" -t 1 -c 1 -o "\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S07E15-zXz-Lower Decks.mkv"  -f mkv -4  --detelecine --decomb --strict-anamorphic  -e x264 -q 22 -a 1 -E copy:ac3 -6 auto -R Auto -B auto -D 0.0 --subtitle 1 -x b-adapt=2:rc-lookahead=50:ref=2 -v 2  1>"C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\logs\encoding\encodingLog-StarTrekTheNextGeneration-LowerDecks-4880008-0.log" 2>&1
02/02/2011 06:13:28 PM ERROR    - StarTrekTheNextGeneration-LowerDecks-4880008- - A Process ID could not be found for the process named "handbrakecli.exe". Please verify this is the process name you see in the task manager. Once external compression is done, you will have to manually move this file to its correct dropbox folder.
\\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S07E15-zXz-Lower Decks.mpg
02/02/2011 06:13:28 PM DEBUG    - StarTrekTheNextGeneration-LowerDecks-4880008- - Successfully wrote 1 line to file: C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\res\processedFiles.txt

Handbrake is still running... The process name is not case sensitive right?

Quote:Yes, I can probably just use the original recording as the source for the encoding.

That would save a step. What about writing the output directly to the final dir?

Would a higher log levels tell us anything?
Reply
#69
armbrusts Wrote:No luck, the output to the console is the same as from the log.
Handbrake is still running... The process name is not case sensitive right?

Would a higher log levels tell us anything?
Process name is not case sensitive.
Yes, a higher log level will tell us what's going on. I added some pretty verbose logging in the specific area we are having trouble. Please download this updated patch. Same process as before to install it. Run it again and we should find out what's going on. Also, set the log level to debug in config.xml.
If it's not obvious to you what's going on, please post the entire log to pastebin.com and then post the link here so i can sift through it.

Let's figure this out!
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#70
installed and this is a chunk of the log file:

Code:
02/03/2011 07:32:39 PM INFO     - TheOffice-BusinessSchool-3229105-0.avi        - Skipping: Could not get media type (TV/Movie and HD/Non-HD) from Sagex API for \\tower\disk1\Sage\TheOffice-BusinessSchool-3229105-0.avi
02/03/2011 07:32:39 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Getting CPU times by calling C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\res\pv.exe -o"%i-zXz-%c2000"
02/03/2011 07:32:39 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - 8 CPUS found
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 1484    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 760    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 2712    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 2676    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 3084    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 3292    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 3332    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 3372    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 3424    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 3052    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 4684    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 2220    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 3308    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 2776    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 2012    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 4024    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 5848    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 1800    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 5736    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 5248    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 5272    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 5856    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 6728    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 4668    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 3984    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 5912    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 2916    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 5924    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 4960    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 5940    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 4340    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 5260    @ 1.625%
....
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 8016    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 9552    @ 73.25%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 6484    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Adding 5276    @ 0.0%
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Added 65, cpu times. Exited with exit code 0
[b]02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Getting processes by calling cmd /c C:\Program Files [/b](x86)\SageTV\SAGE-XBMC v1.3.2\res\process.exe -c
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Exited with exit code 1
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Found matching recording, checking if it can be processed now: \\tower\disk1\Sage\StarTrekTheNextGeneration-Redemption-4526369-0.mpg
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Performing additional checks to determine if \\tower\disk1\Sage\StarTrekTheNextGeneration-Redemption-4526369-0.mpg can be processed right now.
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Retrieving XML from Sagex at URL: http://localhost:8080/sagex/api?c=GetMediaFileForFilePath&1=%5C%5Ctower%5Cdisk1%5CSage%5CStarTrekTheNextGeneration-Redemption-4526369-0.mpg
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Since this video can be manually archived, gathering extra meta-data incase .nfo files have to be written.
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - seriesTitle: "Star Trek The Next Generation"
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - episodeTitle: "Redemption"
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - origAirDate = 1991-06-17
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - isCurrentlyRecording = false
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - This recording is distributed over 1 file
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - isPartialRecording = false
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - 161012 minutes have passed since video finished recording, this is >= the minimum of 1 minutes. OK to process this video.
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - This video has been queried on thetvdb 0 times which is less than max of 3. Will not manually archive until more tvdb queries are attempted.
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - .properties file does not exist, will attempt lookup on thetvdb.com
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - TheTVDB series ID is overridden in config file, no need to look it up. Using ID of: "71470"
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Attempting to find matching episode with original air date = "1991-06-17" title = "Redemption" from thetvdb, url = http://www.thetvdb.com/api/XXXXXXXXE24118DC/series/71470/all/en.xml
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - DATE MATCH:  Season 4, Episode 26, Titled "Redemption (1)", first aired on 1991-06-17
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - This appears to be a multi part episode, will continue to find all parts. Matching part 1:  Season 4, Episode 26, Titled "Redemption (1)", first aired on 1991-06-17
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - This video was thought to be a multi part episode, but only 1 episodes were found. It will be processed as a normal, single-part episode.
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Checking if this TV Episode already exists in \\tower\Media\FromSage\TV Shows\Star.Trek.The.Next.Generation
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - The directory "\\tower\Media\FromSage\TV Shows\Star.Trek.The.Next.Generation" does not exist, so this video is not already archived.
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - This video does not already exist in dropbox... continuing
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - This video can be archived. All checks passed for: \\tower\disk1\Sage\StarTrekTheNextGeneration-Redemption-4526369-0.mpg
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Redirect = false
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Prefer Orignal = false
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Manual Archiving = false
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Use External Compression = true
02/03/2011 07:32:43 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Copying video file from \\tower\disk1\Sage\StarTrekTheNextGeneration-Redemption-4526369-0.mpg to \\tower\Media\FromSage\TV-zXz-Star Trek The Next Generation-zXz-S04E26-zXz-Redemption.mpg

Could it be a timing issue? The copy procedure takes a few minutes. (the file is 8 GB, to/from the network) Everything above is done before it copies. Getting processes happens before the copy completes..


When it finishes I'll upload the full log.
Reply
#71
armbrusts Wrote:
Code:
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Getting processes by calling cmd /c C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\res\process.exe -c
02/03/2011 07:32:41 PM INFO     - StarTrekTheNextGeneration-Redemption-4526369- - Exited with exit code 1
Exit code 1 is an error. I think I may see the problem. It look like i'm not wrapping the path in quotation marks (my fault). Let me check the code to confirm.

edit: Yes, that does seem to be the problem. Here's the patch, with the proposed fix. Try this. http://bradvido.com/sagexbmc/SageXBMC-1.3.2-patch.zip
If it works, remember to set you log level back to normal.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#72
Full log

http://pastebin.com/X8j6Sa8w

Edit:

Didn't see your last message. running with latest patch now.
Reply
#73
Sure the fix made it into the patch?

Code:
- Getting processes by calling cmd /c C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\res\process.exe -c
02/03/2011 08:39:11 PM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - Exited with exit code 1
Reply
#74
armbrusts Wrote:Sure the fix made it into the patch?

Code:
- Getting processes by calling cmd /c C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\res\process.exe -c
02/03/2011 08:39:11 PM INFO     - StarTrekTheNextGeneration-TimesArrow-4591108- - Exited with exit code 1
Wtf, i just ran it to confirm and I got:
Code:
Getting processes by calling cmd /c "C:\SVN\Sage-1.3\res\process.exe" -c
I changed the URL in case there was a caching issue:
http://bradvido.com/sagexbmc/SageXBMC-1.3.2-patch-b.zip

Try again... maybe I just zipped the wrong file last time.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#75
Success!!!

Thanks so much for your effort and time spent here. Now to transcode the collection.. going to take awhile...

thanks again..

Code:
02/03/2011 09:02:49 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - Added 68, cpu times. Exited with exit code 0
02/03/2011 09:02:49 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - Getting processes by calling cmd /c "C:\Program Files (x86)\SageTV\SAGE-XBMC v1.3.2\res\process.exe" -c
02/03/2011 09:02:50 PM WARNING  - StarTrekTheNextGeneration-LowerDecks-4880008- - Failed to get process info from this line:             Idle     0       8        0   7  01/01/1601 00:00:00
java.lang.NumberFormatException: For input string: "Idle"
    at java.lang.NumberFormatException.forInputString(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at utilities.tools.getProcesses(tools.java:97)
    at sage.SageToXBMC.processVideo(SageToXBMC.java:1884)
    at sage.SageToXBMC.scanForMatchingFiles(SageToXBMC.java:605)
    at sage.SageToXBMC.<init>(SageToXBMC.java:224)
    at sage.SageToXBMC.main(SageToXBMC.java:50)

02/03/2011 09:02:50 PM WARNING  - StarTrekTheNextGeneration-LowerDecks-4880008- - Failed to get process info from this line:           System     4     149        8   0  29/01/2011 16:09:05
java.lang.NumberFormatException: For input string: "System"
    at java.lang.NumberFormatException.forInputString(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at utilities.tools.getProcesses(tools.java:97)
    at sage.SageToXBMC.processVideo(SageToXBMC.java:1884)
    at sage.SageToXBMC.scanForMatchingFiles(SageToXBMC.java:605)
    at sage.SageToXBMC.<init>(SageToXBMC.java:224)
    at sage.SageToXBMC.main(SageToXBMC.java:50)

02/03/2011 09:02:50 PM WARNING  - StarTrekTheNextGeneration-LowerDecks-4880008- - Failed to get process info from this line:      soffice.bin  3332      12        8   0  29/01/2011 16:09:18
java.lang.NumberFormatException: For input string: "soffice.bin"
    at java.lang.NumberFormatException.forInputString(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at utilities.tools.getProcesses(tools.java:97)
    at sage.SageToXBMC.processVideo(SageToXBMC.java:1884)
    at sage.SageToXBMC.scanForMatchingFiles(SageToXBMC.java:605)
    at sage.SageToXBMC.<init>(SageToXBMC.java:224)
    at sage.SageToXBMC.main(SageToXBMC.java:50)

02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - Exited with exit code 0
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - 129 processes found, attempting to find process id for "handbrakecli.exe"
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - smss.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - csrss.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - wininit.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - csrss.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - services.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - lsass.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - lsm.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - svchost.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - svchost.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - atiesrxx.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - winlogon.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - svchost.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - svchost.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - svchost.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - svchost.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - svchost.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - atieclxx.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - spoolsv.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - svchost.exe = handbrakecli.exe ? false
02/03/2011 09:02:50 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - mdnsresponder.exe = handbrakecli.exe ? false
....
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - chrome.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - chrome.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - chrome.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - chrome.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - chrome.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - chrome.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - chrome.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - java.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - chrome.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - sagetvtranscoder.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - conhost.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - taskhost.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - cmd.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - conhost.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - handbrakecli.exe = handbrakecli.exe ? true
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - Process ID found for "handbrakecli.exe": 4956. Process spawned at Thu Feb 03 20:02:44 EST 2011
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - cmd.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - conhost.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - process.exe = handbrakecli.exe ? false
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - Process ID for external compression determined to be = 4956. Saving to file for future check-ups
02/03/2011 09:02:51 PM INFO     - StarTrekTheNextGeneration-LowerDecks-4880008- - COMPLETED: pro
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 15

Logout Mark Read Team Forum Stats Members Help
SageTV Integration - Movies and TV Shows archiving compatible with XBMC1