SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #41  
Old 04-05-2006, 11:36 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by gplasky
OK-I set this up the other night. So far the work you have done is real nice. Couple of comments/thoughts.

1.DVDPro2Sage. I also used SageMC so it's too bad there isn't a standard class that everyone used. The one you are using is different than the one in SageMC and thus the import results were different. SO for now I just rename one or the other if I change STVs.
I've tried not to break anything as I update DVDPro2Sage, so it should work in SageMC. That said I'm lazy and haven't done any compatibility testing so there are no guarantees.

Quote:
2. DVD covers. Currently your import does NOT copy the DVD covers into the folder and rename it. Painful. SageMC does do this so I wonder how hard it would be for yours to work that way too.
I think I've got this working, but probably since the last time I posted a "release". I've been holding off on a release because I haven't had much time to work on it, and I'm not 100% sure how I want to proceed as I'm not completely happy with some of how it works.

Quote:
3.While testing I would stop the DVD and indeed it ends up going back to the default Sage library. Be nice if this was fixed.
I'd have to look into that.

Quote:
4. At the import screen I can scroll thru the list of DVDs. When I stopped on one of them and hit "enter" it disappeared from the list. What does this do?
It removes it from the list to be imported.

Quote:
What does this screen do other than this is where you perform the import?
The theory is that you can go through the stuff to be imported and compare the info Sage has to the info in the external DB (DVD Profiler) and remove entries that you don't want overwritten. Note that it will skip anything that's not found in the external DB so it won't overwrite a file with nothing.

Quote:
I'm not using subfolders. Just one level of folders for the DVD rips. Good job over all. As I use this more I may have more thoughts and comments.

Gerry
Thanks
Reply With Quote
  #42  
Old 04-05-2006, 11:46 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by stanger89
I've tried not to break anything as I update DVDPro2Sage, so it should work in SageMC. That said I'm lazy and haven't done any compatibility testing so there are no guarantees.



Thanks
Here's what I saw. Using stangerDVDPro2Sage I have all the titles and all the info and my covers showed from before. Using mlbDVDPro2Sage I had a bunch of no titles, movie info and half the covers showed. When I left yours in place and brought up SageMC the titles were like 1.85, 2.17 so it looked like it was grabbing the wrong fields. I also noticed mlbDVDPro2Sage is like 16kb and stangerDVDPro2Sage is like 19kb. But for now I'm using yours as I continue testing.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #43  
Old 04-05-2006, 03:12 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Like I said, no guarantees

IVL won't work (probably) with the older version from SageMC. I'm somewhat surprised that the newer version doesn't work with SageMC.
Reply With Quote
  #44  
Old 04-05-2006, 03:18 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by stanger89
Like I said, no guarantees

IVL won't work (probably) with the older version from SageMC. I'm somewhat surprised that the newer version doesn't work with SageMC.
Yeah-I know. I have no issues with that.

BUT-you should do a release if you have the DVD cover copy working. You can figure out how you want to proceed some other day.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #45  
Old 04-10-2006, 02:18 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
OK-did some more testing.

I don't know what happened the first time around but your ProDVD2Sage DOES work fine with SageMC. I think I might have been trying to do too much at once. But it works fine now.

Don't know if you've seen this yet:
My early work
But I may be taking your IVL and making some mods for this STV. Maybe I can help you with some graphic design work. A programmer I'm really not.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #46  
Old 04-10-2006, 03:39 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by gplasky
OK-did some more testing.
Due to popular demand, IVL 0.5.4, with Picture copying (I hope). You'll need to set some properties with you're paths:
stanger89/CopyImages=true
stanger89/ImageRoot=W\:\\DVD Profiler\\DVD Profiler\\
stanger89/ProfilerImageLocation=W\:\\DVD Profiler\\DVD Profiler\\IMAGES\\
stanger89/ProfilerThumbnailLocation=W\:\\DVD Profiler\\DVD Profiler\\IMAGES\\THUMBNAILS\\

Let me know how it works.

Haven't fixed the stop thing, it's kind of tricky and I might end up changing some stuff instead.

Quote:
I don't know what happened the first time around but your ProDVD2Sage DOES work fine with SageMC. I think I might have been trying to do too much at once. But it works fine now.

Don't know if you've seen this yet:
My early work
But I may be taking your IVL and making some mods for this STV. Maybe I can help you with some graphic design work. A programmer I'm really not.

Gerry
Yup, saw that, was about to post suggesting working IVL into that. That could be a good collaboration, I suck at graphic design stuff.
Attached Files
File Type: zip IVL0.5.4.zip (19.8 KB, 188 views)
Reply With Quote
  #47  
Old 04-13-2006, 08:00 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Sorry I didn't report back sooner. 2 things appear broke.

1. Cover copy-Doesn't happen. Here's what I have in the properties file:
stanger89/CopyImages=true
stanger89/ImageRoot=C\:\\Program Files\\Intervocative Software\\DVD Profiler Beta\\
stanger89/LibraryGroupMethod=Filesystem
stanger89/ProfilerImageLocation=C\:\\Program Files\\Intervocative Software\\DVD Profiler Beta\\IMAGES\\
stanger89/ProfilerThumbnailLocation=C\:\\Program Files\\Intervocative Software\\DVD Profiler Beta\\IMAGES\\THUMBNAILS\\
Plus I also have this:
mlbdude/meta_data_collection.xml=C\:\\Program Files\\SageTV\\SageTV\\STVs\\SageTV3\\SageMCE\\collection.xml

2. Rips that I have a folder.jpg I put in there manually don't show up.
So I have 3 rips done after your last version. I used the newest version. I rescanned the media files. I then performed an import. Show info shows but the cover doesn't and I reverified folder.jpg is in the VIDEO_TS folder.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #48  
Old 04-14-2006, 12:58 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by gplasky
Sorry I didn't report back sooner. 2 things appear broke.

1. Cover copy-Doesn't happen. Here's what I have in the properties file:
stanger89/CopyImages=true
stanger89/ImageRoot=C\:\\Program Files\\Intervocative Software\\DVD Profiler Beta\\
stanger89/LibraryGroupMethod=Filesystem
stanger89/ProfilerImageLocation=C\:\\Program Files\\Intervocative Software\\DVD Profiler Beta\\IMAGES\\
stanger89/ProfilerThumbnailLocation=C\:\\Program Files\\Intervocative Software\\DVD Profiler Beta\\IMAGES\\THUMBNAILS\\
Plus I also have this:
mlbdude/meta_data_collection.xml=C\:\\Program Files\\SageTV\\SageTV\\STVs\\SageTV3\\SageMCE\\collection.xml
Give the attached file a try. There are no changes (other than the coverart) but there's some debug logging. Oh, make sure you have debug logging enabled.

Quote:
2. Rips that I have a folder.jpg I put in there manually don't show up.
So I have 3 rips done after your last version. I used the newest version. I rescanned the media files. I then performed an import. Show info shows but the cover doesn't and I reverified folder.jpg is in the VIDEO_TS folder.
That's a Sage bug AFIAK, Sage doesn't see the thumbnails unless they're there when it first finds the media file. You'll have to remove, and re-add the import.

Though since fixing that doesn't seem high on the priority list, I put a fix (aka workaround) in just now.
Attached Files
File Type: zip IVL0.5.5.zip (19.8 KB, 193 views)
Reply With Quote
  #49  
Old 04-14-2006, 02:23 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
From your latest version in my log file I'm thinking this is the issue:
Fri 4/14 16:15:55.546 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\7814943422f.jpg
Fri 4/14 16:15:55.547 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\7814943422b.jpg
Fri 4/14 16:15:55.552 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\THUMBNAILS\9404310136f.jpg
Fri 4/14 16:15:55.553 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\9404310136f.jpg
Fri 4/14 16:15:55.554 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\9404310136b.jpg
Fri 4/14 16:15:55.562 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\THUMBNAILS\8539336852f.jpg

For some reason the \\ is remaining in the path before IMAGES.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #50  
Old 04-14-2006, 02:48 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by gplasky
From your latest version in my log file I'm thinking this is the issue:
Fri 4/14 16:15:55.546 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\7814943422f.jpg
Fri 4/14 16:15:55.547 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\7814943422b.jpg
Fri 4/14 16:15:55.552 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\THUMBNAILS\9404310136f.jpg
Fri 4/14 16:15:55.553 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\9404310136f.jpg
Fri 4/14 16:15:55.554 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\9404310136b.jpg
Fri 4/14 16:15:55.562 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\\IMAGES\THUMBNAILS\8539336852f.jpg

For some reason the \\ is remaining in the path before IMAGES.

Gerry

I think that takes care of it.

I was trying to duplicate it but it works here (of course I had an extra ',' in my DebugLog()'s for saying it copied the file so that's what the 's are for.

Anyway, have you checked the DVD Profiler directory to make sure those images are there?

OT (maybe, maybe not) I see you've got it in "DVD Profiler Beta", so you're running the beta version? Is there anything neat in it?

Oh the "\\" aren't a problem.
Reply With Quote
  #51  
Old 04-14-2006, 04:00 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Everyone it says it can't find is right there in the directory. I removed the trailing \\ from the Imageroot setting and so it looks better now but it says it still can't find the images and they are there:
Quote:
Fri 4/14 17:58:02.108 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\IMAGES\THUMBNAILS\031398187899f.jpg
Fri 4/14 17:58:02.109 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\IMAGES\031398187899f.jpg
Fri 4/14 17:58:02.110 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\IMAGES\031398187899b.jpg
Fri 4/14 17:58:02.114 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\IMAGES\THUMBNAILS\1223610348f.jpg
Might be pertinent. Just before not being able to find the files this is being logged:
Quote:
Fri 4/14 17:57:56.735 Received command of:NOOP from Socket[addr=/192.168.0.104,port=42024,localport=2336]
Fri 4/14 17:57:57.217 setUI(sage.bx@11d95[Library Import View]) histIdx=3 uiHistory=[sage.bx@2585e[Main Menu], sage.bx@111ae04[Library], sage.bx@11a47df[Video Library Stanger89 View], sage.bx@11d95[Library Import View]]
Fri 4/14 17:57:58.097 ImageUtils loading file C:\Program Files\SageTV\SageTV\STVs\SageTV3\MenuBarShort.png
Fri 4/14 17:57:58.099 ImageUtils creating BI copy sun.awt.image.ToolkitImage@dbd794
Fri 4/14 17:57:58.099 Premultiplying alpha for BuffImage...
Fri 4/14 17:57:58.101 Creating DirectX9 Texture from memory w=161 h=44
Fri 4/14 17:57:58.305 Rendered new font to cache font=java.awt.Font[family=Arial,name=Arial,style=bold,size=30] numGlyphs=1674 numCachedGlyphs=274 numImages=3
Fri 4/14 17:57:58.305 Premultiplying alpha for BuffImage...
Fri 4/14 17:57:58.318 Creating DirectX9 Texture from memory w=256 h=256
Fri 4/14 17:58:01.266 AWTThread Hang Detected - hang time = 730
Fri 4/14 17:58:01.512 Premultiplying alpha for BuffImage...
Fri 4/14 17:58:01.513 Creating DirectX9 Texture from memory w=32 h=32
Fri 4/14 17:58:01.626 Premultiplying alpha for BuffImage...
Fri 4/14 17:58:01.627 Creating DirectX9 Texture from memory w=32 h=32
Fri 4/14 17:58:01.740 Premultiplying alpha for BuffImage...
Fri 4/14 17:58:01.741 Creating DirectX9 Texture from memory w=32 h=32
Fri 4/14 17:58:01.840 Received command of:NOOP from Socket[addr=/192.168.0.104,port=42024,localport=2336]
Fri 4/14 17:58:01.857 Premultiplying alpha for BuffImage...
Fri 4/14 17:58:01.858 Creating DirectX9 Texture from memory w=32 h=32
Fri 4/14 17:58:01.998 AWTThread Hang Detected - hang time = 1462
Fri 4/14 17:58:02.108 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\IMAGES\THUMBNAILS\031398187899f.jpg
Quote:
[Wed 4/12 16:09:36.999-Wed 4/12 16:09:37.000]]], The Cats Meow=[MediaFile[id=436033 A[436036,436034,"The Cats Meow",0@0219.11:09,0] host=frontroom encodedBy= \\Frontroom\DVD (D)\DVD\The Cats Meow\VIDEO_TS, Seg0[Sun 2/19 11:09:32.308-Sun 2/19 11:09:32.309]]], Heat=[MediaFile[id=436133 A[436136,436134,"Heat",0@0318.01:37,0] host=frontroom encodedBy= \\FreeNAS\DVD\DVD\Heat\VIDEO_TS, Seg0[Sat 3/18 1:37:06.999-Sat 3/18 1:37:07.000]]], Fantastic 4=[MediaFile[id=435953 A[435956,435954,"Fantastic 4",0@0201.22:15,0] host=frontroom encodedBy= \\Frontroom\DVD (D)\DVD\Fantastic 4\VIDEO_TS, Seg0[Wed 2/1 22:15:00.707-Wed 2/1 22:15:00.708]]], Madagascar=[MediaFile[id=435985 A[435988,435986,"Madagascar",0@0201.22:06,0] host=frontroom encodedBy= \\Frontroom\DVD (D)\DVD\Madagascar\VIDEO_TS, Seg0[Wed 2/1 22:06:08.800-Wed 2/1 22:06:08.801]]]}, NumTableCols=3, NumTableRows=2, DisplayListView=false, NumListRows=6, GroupMethod=Filesystem}] map={_SAGE_PASSIVELISTEN=null}]
Fri 4/14 18:11:41.590 setUI(sage.bx@147b71e[Library Import View]) histIdx=3 uiHistory=[sage.bx@2ac57c[Main Menu], sage.bx@800275[Library], sage.bx@ff5be1[Video Library Stanger89 View], sage.bx@147b71e[Library Import View]]
Fri 4/14 18:11:42.872 Received command of:NOOP from Socket[addr=/192.168.0.104,port=42024,localport=2389]
Fri 4/14 18:11:45.726 AWTThread Hang Detected - hang time = 736
Fri 4/14 18:11:46.465 AWTThread Hang Detected - hang time = 1475
Fri 4/14 18:11:47.198 AWTThread Hang Detected - hang time = 2208
Fri 4/14 18:11:47.743 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\IMAGES\THUMBNAILS\031398187899f.jpg
Fri 4/14 18:11:47.747 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\IMAGES\031398187899f.jpg
Fri 4/14 18:11:47.748 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\IMAGES\031398187899b.jpg
Fri 4/14 18:11:47.752 Unable to find file: C:\Program Files\Intervocative Software\DVD Profiler Beta\IMAGES\THUMBNAILS\1223610348f.jpg
OK-I put this last one in from my last few DVDs and it clearly shows a hang. Is this the issue? I have java 1_5_06.

I can paste this:C:\Program Files\Intervocative Software\DVD Profiler Beta\IMAGES\THUMBNAILS\031398187899f.jpg in the Explorer address bar and it will bring up the image.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.

Last edited by gplasky; 04-14-2006 at 04:25 PM.
Reply With Quote
  #52  
Old 04-14-2006, 07:31 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by gplasky
Everyone it says it can't find is right there in the directory. I removed the trailing \\ from the Imageroot setting and so it looks better now but it says it still can't find the images and they are there:
Yeah, those don't hurt anything, mine has it too and it copies the images fine.

Unfortunately none of those really help me other than to say that IsFilePath() is returning false for that path, so that means Sage can't find it. You're not running an extender or anything weird are you?
Reply With Quote
  #53  
Old 04-14-2006, 09:07 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Nope. BUT! I am running this on a client and not on the server. Does it matter? (I run Sage_MC that way-DVD Profiler is on the client. I run the import and everything on and from the client. Everything shows up fine on the server and all the clients.) IS that what's causing the issue? Because I'm running everything on the client. (I don't want to do my DVD Profiler work on the Front room TV.)

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.

Last edited by gplasky; 04-14-2006 at 09:13 PM.
Reply With Quote
  #54  
Old 04-14-2006, 09:29 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by gplasky
IS that what's causing the issue? Because I'm running everything on the client. (I don't want to do my DVD Profiler work on the Front room TV.)

Gerry
I do my importing on a client, so it shouldn't matter. I'm just trying to figure out why Sage can't see the files.
Reply With Quote
  #55  
Old 04-14-2006, 10:06 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by stanger89
IsFilePath() is returning false for that path, so that means Sage can't find it.
Bingo. That's the part that matters... I know because I recently did a bunch of work on this to fix the default STV's file browser.

IsFilePath() operates via the server, so the path is relative to the system where the server is running. If using UNC paths or mapped drive letters, this API is perfectly fine, since both the server & the client are using the same path to get to a file. That's probably why it works on your client, but not on gplasky's client.

java_io_File_isFile() should be used if you are on a client, if you want to check files local to the client.

Essentially, decide where in your code you want SageTV to access files that are local to the current UI & where you want files to be accessed via the server. Use java_io_File_isFile() for all local file access & IsFilePath() when you want to make sure that file access is relative to the server.

This type of change will be in the next release's default STV. If you need a whole series of API calls to check for local vs. server based access, maybe we should have that discussion in the Studio forum. Edit: the SageTV file access API calls operate based on the server; the java_io_File_xxx calls operate locally.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #56  
Old 04-14-2006, 10:14 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
That would do it. I'll probably change it since this is a maintenance function and needs to check local availablility (since that's where my Java code looks).
Reply With Quote
  #57  
Old 04-14-2006, 10:15 PM
95TBird's Avatar
95TBird 95TBird is offline
Sage Advanced User
 
Join Date: Mar 2006
Location: Berthoud, CO
Posts: 143
Love to Help !!

Hi :

I'm fairly new to the Sage scene but Am running it on a dedicated HTPC in the living room & this is just what I'm looking for. Tried several "other" front ends because of their superior DVD / Movie display & playback abilities, but the pains of switching back & forth to Sage made them unworkable... Especially with the WAF. SO Stanger89... Tell me what I need to do to help test this puppy!!... I'm currently running the latest beta of Sage, No clients, not running the service & am just running the satndard Sage interface. I'm also a registered DVDProfiler user & have our entire DVD collection (200 + DVDs) ripped to Hard Drive Storage. Also Gplasky Thanks for the Excellent Info on the NVIDIA Tuner Cards... I've got 2 on the way to replace my 500s so I can finally get rid of that nasty audio stutter every time we change channels!!!

Looking forward to helping out however I can !!

Bruce
Reply With Quote
  #58  
Old 04-15-2006, 12:39 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by 95TBird
SO Stanger89... Tell me what I need to do to help test this puppy!!...
Install it and play with it. That's about it
Reply With Quote
  #59  
Old 04-15-2006, 01:25 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
I posted a new verion in the downloads section. Includes image copying with the new java_io_File_canRead instead of IsFilePath. That plus added a setup screen that allows enabling/disabling image copying and browsing for the XML file. Should make setup a bit easier now.

Oh, and I've actually included DVDPro2Sage in the latest version so you just need to extract the zip to the SageTV directory

Last edited by stanger89; 04-15-2006 at 01:35 PM.
Reply With Quote
  #60  
Old 04-15-2006, 02:02 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by stanger89
I posted a new verion in the downloads section. Includes image copying with the new java_io_File_canRead instead of IsFilePath. That plus added a setup screen that allows enabling/disabling image copying and browsing for the XML file. Should make setup a bit easier now.

Oh, and I've actually included DVDPro2Sage in the latest version so you just need to extract the zip to the SageTV directory

Flawless. Nice job. You might want to get rid of the 0.5.3.stvi in the root of your zip though. It works great for me. Now I'll actually wait until the next version release and incorporate IVL into my Circle theme.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
Reply


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

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


All times are GMT -6. The time now is 01:17 PM.


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