• 1
  • 10
  • 11
  • 12(current)
  • 13
  • 14
  • 15
SageTV Integration - Movies and TV Shows archiving compatible with XBMC
Hi,

I tried the mysql support that is in the application but I'm not sure what it is supposed to do? At first, I was thinking it was to replace the symlink but it didn't worked that way as I had to scan my folder anyway. Can somebody explain what it is supposed to do?

In the same config section, there is a place to configure the thumbnails. I tried it but it didn't create anything in the listed folder. Is this only use when a file is archived to counteract the fact that the hash is changing?

Can I ask how people are managing the thumbnails for a multi-box setup? Is there a way to configure XBMC to use a shared folder for these? I've looked around without success up to now. Ideally, I would like to be able to use the SageTV central fanart folder but as it may not be possible, I would at least want a shared folder for XBMC's fanart.

Thank you.


ehfortin
Reply
@bradvido88:

First of all Thank you for your great piece of software, which indeed might give me the hope to maintain my sage backend and use XBMC (which is great!) as frontend. Since I do have some HD300s i am still working on synching the two libraries and cannot get it to run successfully.
My log file says:
#################################START XBMC/SAGETV WATCHED STATUS/RESUME POINT SYNC###################################
11/10/2011 10:06:43 AM INFO Starting resume point and watched flag sync.
11/10/2011 10:06:43 AM INFO Retrieving XML from Sagex at URL: http://obelix:8000/sagex/api?c=GetMediaF...ize=999999
11/10/2011 10:06:54 AM INFO Determining resume points and watched flags for 2780 TV recordings found in sage.
11/10/2011 10:06:54 AM INFO - H2OPltzlichMeerjungfrau-HectoraufAbwegen-8396 - Done getting sync info for 2759 SageTV recordings.
11/10/2011 10:06:54 AM INFO Opening XBMC MySQL interface at: 10.0.1.1 for schema xbmc_video
11/10/2011 10:06:54 AM INFO Syncing 0 videos in the dropbox with 2759 video's in Sage's database.
##########################################################################################

when I increase the info-level to "debug" i can see that the connection to mysql is reported as sucess but it still snycs "0" videos - how is this part of the software working ? What am I doing wrong ?

Thanks for any hint into the right direction..

regards
hoep
Reply
@hoep
It's not syncing anything because it's not finding any videos in the dropbox (the place where videos are stored and added to XBMC's library). Do you have videos in your configured dropbox folder?

@ehfortin
I have 4 XBMC boxes all using central fanart and MySQL. Create a share somewhere that is always available and replace the Thubmnails directory on all XBMC boxes with a symlink that points to that share. They they stay automatically sync'd.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
@bradvido88:
I have symbolic links to roughly 2700 tvshows, which are imported nicely to the xbmc database.. but of course it's in the subdirectory "TV Shows" as per default..
in the "Movies" subdir are only some few, as i use to cut and import them as movies in the "movie" database.
My dropbox config is:
<Dropbox local_equiv="C:\TVShows">\\Asterix\TVShows</Dropbox>
and I import "\\Asterix\TVShows\TV Shows" to XBMC
Reply
hoep Wrote:@bradvido88:
I have symbolic links to roughly 2700 tvshows, which are imported nicely to the xbmc database.. but of course it's in the subdirectory "TV Shows" as per default..
in the "Movies" subdir are only some few, as i use to cut and import them as movies in the "movie" database.
My dropbox config is:
<Dropbox local_equiv="C:\TVShows">\\Asterix\TVShows</Dropbox>
and I import "\\Asterix\TVShows\TV Shows" to XBMC
anyone ?
Reply
hoep Wrote:anyone ?
Check the /res/xbmcFileSources.txt file. That contains all of the files that this program has processed and knows about (and will sync). It is basically a map between the original sagetv location and the XBMC archived location.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
bradvido88 Wrote:Check the /res/xbmcFileSources.txt file. That contains all of the files that this program has processed and knows about (and will sync). It is basically a map between the original sagetv location and the XBMC archived location.

ah.. this file is empty - i get the symlinks but i have no entries in this file. no error msg either..

what might happen ?
Reply
hoep Wrote:ah.. this file is empty - i get the symlinks but i have no entries in this file. no error msg either..

what might happen ?
There must have been some errors when the files are first archived. If you can send me a log of when the program archives a new file, i could tell you what's going in.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
bradvido88 Wrote:There must have been some errors when the files are first archived. If you can send me a log of when the program archives a new file, i could tell you what's going in.

@bradvido88 .. found the following:

11/11/2011 08:36:57 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Found matching recording, checking if it can be processed now: \\obelix\TVAufnahmen\Numb3rs-Kapitallacarte-6987289-0.ts
11/11/2011 08:36:57 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Performing additional checks to determine if \\obelix\TVAufnahmen\Numb3rs-Kapitallacarte-6987289-0.ts can be processed right now.
11/11/2011 08:36:57 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Retrieving XML from Sagex at URL: http://obelix:8000/sagex/api?c=GetMediaF...87289-0.ts
11/11/2011 08:36:57 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Local path before URL encode: H:\TVAufnahmen\Numb3rs-Kapitallacarte-6987289-0.ts
11/11/2011 08:36:57 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Local path after URL encode: H%3A%5CTVAufnahmen%5CNumb3rs-Kapitallacarte-6987289-0.ts
11/11/2011 08:36:57 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Could not get valid data from standard file location, trying local URL: http://obelix:8000/sagex/api?c=GetMediaF...87289-0.ts
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Successfully got valid XML by using local path
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - sageMediaFileID = 6987586
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - ShowExternalID = EP0455110035
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Since this video can be manually archived, gathering extra meta-data incase .nfo files have to be written.
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - genre = "Serie"
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - plot = "USA 2006 In einigen der luxurisesten Restaurants von L.A. kommt es immer wieder zu berfllen, bei denen man den vermgenden Gsten gezielt die Kreditkarten raubt. Spter dienen fingierte Websites dazu, die Konten abzuschpfen. Charlie soll die Geldstrme zurckverfolgen und stt auf eine mysterise Bank auf der Karibikinsel Nauru, mit deren Hilfe eine mexikanische Todesschwadron ihre grausamen Einstze in Mexiko finanziert. Info: Don Eppes ist Special Agent beim FBI und das mit Herz und Seele. Gemeinsam mit seinem Bruder Charlie, Professor fr Mathematik, lst er die kniffligsten Flle, vom Serienmord bis zum Bankraub, denn Charlie hat eine besondere Gabe: Er kann mathematische Formeln auf die Realitt bertragen und so die schwersten Verbrechen analysieren. Doch er muss einsehen, dass die Wissenschaft allein nicht ausreicht, denn der 'menschliche Faktor' lsst sich nicht 100-prozentig kalkulieren ... Regie: Leslie Libman Darsteller: Rob Morrow (Don Eppes), David Krumholtz (Charlie Eppes), Judd Hirsch (Alan Eppes), Diane Farr (Megan Reeves), Alimi Ballard (David Sinclair), Dylan Bruno (Colby Granger), Jos Ziga (Bernardo Infante), Navi Rawat (Amita Ramanujan), Peter MacNicol (Dr. Larry Fleinhardt), Aya Sumika (Liz Warner), Charlie Clouser (Musik), Sean Crouch (Drehbuch), Ivan Strasburg (Kamera), Matthew Jensen (Kamera), Ronald Victor Garcia (Kamera) "
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - MPAA Rating = ""
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Adding actor "Rob Morrow (Don Eppes);David Krumholtz (Charlie Eppes);Judd Hirsch (Alan Eppes);Diane Farr (Megan Reeves);Alimi Ballard (David Sinclair);Dylan Bruno (Colby Granger);Jos Ziga (Bernardo Infante);Navi Rawat (Amita Ramanujan);Peter MacNicol (Dr. Larry Fleinhardt);Aya Sumika (Liz Warner);Charlie Clouser (Musik);Sean Crouch (Drehbuch);Ivan Strasburg (Kamera);Matthew Jensen (Kamera);Ronald Victor Garcia (Kamera), role "Schauspieler"
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Adding actor "Leslie Libman, role "Regie"
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - seriesTitle: "Numb3rs"
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - episodeTitle: "Kapital la carte"
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - origAirDate = 2011-05-11
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - isCurrentlyRecording = false
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Recording Duration = 3420 seconds
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - This recording is distributed over 1 file
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - isPartialRecording = false
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - 264991 minutes have passed since video finished recording, this is >= the minimum of 5 minutes. OK to process this video.
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - This video has been queried on thetvdb 0 times which is less than max of 1. Will not manually archive until more tvdb queries are attempted.
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Found .properties file (\\obelix\TVAufnahmen\Numb3rs-Kapitallacarte-6987289-0.ts.properties), attempting to get season and episode numbers from it
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Found Episode and Season in properties file, seasonNumber = 03, episodeNumber = 14
11/11/2011 08:36:58 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Checking if this TV Episode already exists in \\Asterix\TVShows\TV Shows\Numb3rs
11/11/2011 08:36:59 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - This video does not already exist in dropbox... continuing
11/11/2011 08:36:59 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - This video can be archived. All checks passed for: \\obelix\TVAufnahmen\Numb3rs-Kapitallacarte-6987289-0.ts
11/11/2011 08:36:59 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Redirect = true
11/11/2011 08:36:59 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Prefer Orignal = false
11/11/2011 08:36:59 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Manual Archiving = false
11/11/2011 08:36:59 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Use External Compression = false
11/11/2011 08:36:59 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Final video destination is: \\Asterix\TVShows\TV Shows\Numb3rs\Season.3\Numb3rs.S03E14 - Kapital la carte.ts
11/11/2011 08:36:59 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Creating symlink at \\Asterix\TVShows\TV Shows\Numb3rs\Season.3\Numb3rs.S03E14 - Kapital la carte.ts that points to \\obelix\TVAufnahmen\Numb3rs-Kapitallacarte-6987289-0.ts
11/11/2011 08:37:00 PM ERROR - Numb3rs-Kapitallacarte-6987289-0.ts - Symbolic link "\\Asterix\TVShows\TV Shows\Numb3rs\Season.3\Numb3rs.S03E14 - Kapital la carte.ts" could not be created successfully. Output from command:

11/11/2011 08:37:00 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Since .edl type needs to be converted, copying .edl instead of creating a symlink to original.
11/11/2011 08:37:01 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Converting .edl to type 3 at \\Asterix\TVShows\TV Shows\Numb3rs\Season.3\Numb3rs.S03E14 - Kapital la carte.edl
11/11/2011 08:37:01 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Successfully changed .edl to type 3 at \\Asterix\TVShows\TV Shows\Numb3rs\Season.3\Numb3rs.S03E14 - Kapital la carte.edl
11/11/2011 08:37:01 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - The symlink(s) to redirect this video were NOT created successfully. Will stop here and try again later.


but... the file is there.. the symlink is done
Reply
one again....

11/11/2011 08:51:43 PM INFO - Numb3rs-Kapitallacarte-6987289-0.ts - Creating symlink at \\Asterix\TVShows\TV Shows\Numb3rs\Season.3\Numb3rs.S03E14 - Kapital la carte.ts that points to \\obelix\TVAufnahmen\Numb3rs-Kapitallacarte-6987289-0.ts
11/11/2011 08:51:43 PM ERROR - Numb3rs-Kapitallacarte-6987289-0.ts - Symbolic link "\\Asterix\TVShows\TV Shows\Numb3rs\Season.3\Numb3rs.S03E14 - Kapital la carte.ts" could not be created successfully. Output from command:

but the symlink is definitely there
Reply
It may be a permissions issue, is the program being run by an administrator account?
To create the symlink, the program executes the windows command:
Code:
cmd /c mklink "\\Asterix\TVShows\TV Shows\Numb3rs\Season.3\Numb3rs.S03E14 - Kapital  la carte.ts" "\\obelix\TVAufnahmen\Numb3rs-Kapitallacarte-6987289-0.ts"
It then looks for the text
Code:
symbolic link created for
in the output from the command.

When you run that command from the command line, what do you get?
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
bradvido88 Wrote:It may be a permissions issue, is the program being run by an administrator account?
To create the symlink, the program executes the windows command:
Code:
cmd /c mklink "\\Asterix\TVShows\TV Shows\Numb3rs\Season.3\Numb3rs.S03E14 - Kapital  la carte.ts" "\\obelix\TVAufnahmen\Numb3rs-Kapitallacarte-6987289-0.ts"
It then looks for the text
Code:
symbolic link created for
in the output from the command.

When you run that command from the command line, what do you get?

i get: "symbolische verknüpfung erstellt" - what means "symbolic link created"-
could that be a language issue - as i run a german version of win7?
Reply
hoep Wrote:i get: "symbolische verknüpfung erstellt" - what means "symbolic link created"-
could that be a language issue - as i run a german version of win7?
Yes, I didn't do any localization for this program.

However, I am writing some updates for this program to be compatible with eden. I'll add a German support hack for this.

In the meantime, you may be stuck. Sorry, I didn't have time to localize the strings Undecided

Or you can just not use symbolic links if that works for you.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
bradvido88 Wrote:Yes, I didn't do any localization for this program.

However, I am writing some updates for this program to be compatible with eden. I'll add a German support hack for this.

In the meantime, you may be stuck. Sorry, I didn't have time to localize the strings Undecided

@bradvido88: no need for any sadness - i'm happy anyway with your software - the worst thing would be i install an english version of win7 in a virtualbox and run your software there..

thanks for all of your effort and thanks for your support - it's highly appreciated
regards
hoep
Reply
hoep Wrote:@bradvido88: no need for any sadness - i'm happy anyway with your software - the worst thing would be i install an english version of win7 in a virtualbox and run your software there..

thanks for all of your effort and thanks for your support - it's highly appreciated
regards
hoep
Yes, if all of your sources are set up as shares, then you can run this program on any Windows7 box on your local network. There is no need to run it on the SageTV server.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
  • 1
  • 10
  • 11
  • 12(current)
  • 13
  • 14
  • 15

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