SageTV Community  

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

Notices

SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #81  
Old 12-28-2008, 10:30 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
next rev - http://babgvant.com/files/folders/sa...ntry11528.aspx
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #82  
Old 12-28-2008, 11:08 AM
mp328 mp328 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 122
i cant get the settings to accept any folder, does the folder have to exist, why doesnt it accept it if the folder does not exist and just create a new folder??

i wanna try it out, but no matter what folder i typed in it's always some kind of error there
Attached Images
File Type: jpg Clipboard02.jpg (76.7 KB, 233 views)
Reply With Quote
  #83  
Old 12-28-2008, 11:31 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
The folder has to exist, it shouldn't let you save settings if it doesn't.

Double click the textbox to open a folder brower dialog to select the folder (you can create it using that).

It will create the subfolders if they don't exist.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #84  
Old 12-28-2008, 11:32 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by babgvant View Post
The application automatically appends the child folder based on media type (I'd like to eventually support TV and Music, that's why it's designed in that way).

Looks like Brent used Movies in his write up (I was using Movie), so I'll change it for the next rev.
I get the following in my log - showing a similar error:
Code:
2008-12-28 11:29:23.59 : WS: http://localhost:8129/sage/home
2008-12-28 11:29:25.02 : Fanart Dir: \\Mediaserver\HMedia\Fanart
2008-12-28 11:29:25.02 : Media Path: \\MEDIASERVER\TMedia\Movies\10 Items Or Less\Video_TS Title: 10 Items or Less SafeTitle: 10 Items or Less
2008-12-28 11:29:25.34 : Error ScanMediaDoWork: System.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '\\Mediaserver\HMedia\Movies\10 Items or Less.jpg'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at System.Net.WebClient.DownloadFile(Uri address, String fileName)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.DownloadFile(Uri address, String fileName)
   at System.Net.WebClient.DownloadFile(String address, String fileName)
   at babgvant.MetaDataLookup.ScanMedia.SaveFileResource(String resUrl, String fileName)
   at babgvant.MetaDataLookup.ScanMedia.bwFindProperties_DoWork(Object sender, DoWorkEventArgs e)
2008-12-28 11:29:25.34 : Error: System.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '\\Mediaserver\HMedia\Movies\10 Items or Less.jpg'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at System.Net.WebClient.DownloadFile(Uri address, String fileName)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.DownloadFile(Uri address, String fileName)
   at System.Net.WebClient.DownloadFile(String address, String fileName)
   at babgvant.MetaDataLookup.ScanMedia.SaveFileResource(String resUrl, String fileName)
   at babgvant.MetaDataLookup.ScanMedia.bwFindProperties_DoWork(Object sender, DoWorkEventArgs e)
Is that because I'm using Movies instead of Movie as my subdirectory name?
Reply With Quote
  #85  
Old 12-28-2008, 11:37 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
did you pull down 1.0.0.2? I changed it to use Movies.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #86  
Old 12-28-2008, 11:41 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by babgvant View Post
did you pull down 1.0.0.2? I changed it to use Movies.
Actually yes - that's the version I was using from the log above. So it must be something else I did wrong...
Reply With Quote
  #87  
Old 12-28-2008, 11:44 AM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
I'm working on fixing up some issues with fanart support and I'd like to add some new features. Unfortunately it is getting difficult to deal with supporting fanart in both a central location and placed with the media files.

So I propose dropping support for placement of fanart with media files and just keeping the central location. Further, I'd like to hard code the TV, Music and Movies subdirectories for each type of fanart. Any thoughts and suggestions are welcome. Thanks.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #88  
Old 12-28-2008, 11:59 AM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
Quote:
Originally Posted by MeInMaui View Post
Any thoughts and suggestions are welcome.
Hmmm, I currently use both methods to view fanart. Movies, Music and TV shows work fine using the central location but if I aquire a tv show from other sources it usually comes in the format of chuck.s02e06.720p.hdtv.x264-ctu which I just dump in the respective tv show folder. So for fanart to work in this case I have to place background.jpeg in the tv show folder and not the central location.

This is the only issue with removing the local folder option for me and not a massive problem but its still gonna be a pain in the rectum to rename each file every time.

Regards

Ben
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders

Last edited by jaminben; 12-28-2008 at 12:01 PM.
Reply With Quote
  #89  
Old 12-28-2008, 12:01 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by MeInMaui View Post
I'm working on fixing up some issues with fanart support and I'd like to add some new features. Unfortunately it is getting difficult to deal with supporting fanart in both a central location and placed with the media files.

So I propose dropping support for placement of fanart with media files and just keeping the central location. Further, I'd like to hard code the TV, Music and Movies subdirectories for each type of fanart. Any thoughts and suggestions are welcome. Thanks.

Aloha,
Mike
Works for me.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #90  
Old 12-28-2008, 12:06 PM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Quote:
Originally Posted by MeInMaui View Post
I'm working on fixing up some issues with fanart support and I'd like to add some new features. Unfortunately it is getting difficult to deal with supporting fanart in both a central location and placed with the media files.

So I propose dropping support for placement of fanart with media files and just keeping the central location. Further, I'd like to hard code the TV, Music and Movies subdirectories for each type of fanart. Any thoughts and suggestions are welcome.
I'm okay with this and see why it would help with the coding. I have all of mine in a central location already - although as Ben notes below there are probably several who use the local option of storing fanart.

Quote:
Originally Posted by jaminben View Post
Hmmm, I currently use both methods to view fanart. Movies, Music and TV shows work fine using the central location but if I aquire a tv show from other sources it usually comes in the format of chuck.s02e06.720p.hdtv.x264-ctu which I just dump in the respective tv show folder. So for fanart to work in this case I have to place background.jpeg in the tv show folder and not the central location.

This is the only issue with removing the local folder option for me and not a massive problem but its still gonna be a pain in the rectum to rename each file every time.
I think the best way to handle this issue is to prepare for a move in the direction of using a central folder for all fanart, but also work towards using the IMDB database id's for the file names and probably use themoviedb.org API to access the metadata etc. While this could take more work on the front-end, it could also eliminate the "pain" required to rename fanart files to match your collection and make it easier for those who haven't done so yet.

I'm okay with just dumping the local fanart option, but thought I'd offer up a suggestion as a comprimise in case it was a possibility.
Reply With Quote
  #91  
Old 12-28-2008, 12:07 PM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
Quote:
Originally Posted by mp328 View Post
i cant get the settings to accept any folder, does the folder have to exist, why doesnt it accept it if the folder does not exist and just create a new folder??

i wanna try it out, but no matter what folder i typed in it's always some kind of error there
try adding an http:// to the webserver address?
Reply With Quote
  #92  
Old 12-28-2008, 12:21 PM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
Quote:
Originally Posted by babgvant View Post
It's working for me! Pretty cool, it actually grabbed a few that I didn't have yet and only made one mistake. Thanks!
Reply With Quote
  #93  
Old 12-28-2008, 12:34 PM
jaminben jaminben is offline
Sage Icon
 
Join Date: Sep 2007
Location: Norwich, UK
Posts: 1,754
Send a message via MSN to jaminben
Quote:
Originally Posted by Brent View Post
but also work towards using the IMDB database id's for the file names and probably use themoviedb.org API to access the metadata etc.
Some other usefull links in the quest for better metadata are:-

http://www.thetvdb.com/
http://code.google.com/p/moviejukebox/

I'm sure your already aware of these but I thought I'd point them out anyway
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders
Reply With Quote
  #94  
Old 12-28-2008, 01:08 PM
gatorwes gatorwes is offline
Sage User
 
Join Date: Sep 2007
Posts: 56
Quote:
Originally Posted by MeInMaui View Post
I'm working on fixing up some issues with fanart support and I'd like to add some new features. Unfortunately it is getting difficult to deal with supporting fanart in both a central location and placed with the media files.

So I propose dropping support for placement of fanart with media files and just keeping the central location. Further, I'd like to hard code the TV, Music and Movies subdirectories for each type of fanart. Any thoughts and suggestions are welcome. Thanks.

Aloha,
Mike
While I will humbly accept whatever direction you take as I am very grateful for all of your work, I would prefer maintaining the status quo. I use centrally located fan art for TV and music, but I could not get this feature to work well with movies and after some thought decided I wouldn't want to use that feature anyway. The reason that I like fan art to be with my movie files is that as I periodically delete movies to maintain disk space, I delete an entire folder which "gets" the movie, cover, and background image. If the background images were all located centrally, I could readily imagine the folder getting large quickly with unneeded backgrounds and therefore requiring periodic maintenance. It just seems easier to me to have the fan art in the same folder as the movie. Yes, I realize the same issues exist with TV and music backgrounds, but the rate of "churning" is significantly less as I rarely delete music and TV shows have a longer life (multiple seasons).

My $0.02.

Wes Simmons
Reply With Quote
  #95  
Old 12-28-2008, 01:50 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
New Rev: http://babgvant.com/files/folders/sa...ntry11528.aspx

1.0.0.3
- fixed issue when generating background path (Brent's issue)
- fixed a unicode issue
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #96  
Old 12-28-2008, 02:13 PM
Kirby's Avatar
Kirby Kirby is offline
Sage Icon
 
Join Date: Jan 2006
Posts: 1,253
Quote:
Originally Posted by MeInMaui View Post
So I propose dropping support for placement of fanart with media files and just keeping the central location. Further, I'd like to hard code the TV, Music and Movies subdirectories for each type of fanart. Any thoughts and suggestions are welcome. Thanks.

Aloha,
Mike
Is there any reason why TV and Movies sub-dirs cant be merged? That way movies you record will have fan art as well as movies that are imported.
__________________
Sage Server: HP ProLiant N40L MicroServer, AMD Turion II Neo N40L 1.5GHz Dual Core, 8GB Ram, WHS2011 64bit, Sage 7.1.9 WHS, HDHR (1 QAM, 1 OTA), HDHR Prime 3CC, HD-PVR for copy-once movie channels
HTPC Client:Intel DH61AG, Intel G620 cpu, 8GB ram, Intel 80GB SSD, 4GB RamDisk holding Sage/Java/TMT5
Sage Client:Sage HD-200 Extender
Reply With Quote
  #97  
Old 12-28-2008, 06:02 PM
mp328 mp328 is offline
Sage Advanced User
 
Join Date: Dec 2006
Posts: 122
well whatever issues i had with .2 release was fixed with .3

all working now

tnx for ur effort
Reply With Quote
  #98  
Old 12-28-2008, 06:18 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
Quote:
Originally Posted by Kirby View Post
Is there any reason why TV and Movies sub-dirs cant be merged? That way movies you record will have fan art as well as movies that are imported.
I'd like to second this. I never set up subdirectories for each and so all are in one folder for me. Since I don't have many movies I could do it, but it would be simpler to avoid if possible.
Reply With Quote
  #99  
Old 12-28-2008, 06:38 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by Kirby View Post
Is there any reason why TV and Movies sub-dirs cant be merged? That way movies you record will have fan art as well as movies that are imported.
It's probably setup that way to avoid naming collisions (TV show, Music, or Movie with the same name).
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #100  
Old 12-28-2008, 07:13 PM
Kirby's Avatar
Kirby Kirby is offline
Sage Icon
 
Join Date: Jan 2006
Posts: 1,253
So then we have to duplicate all movie fanarts into the TV directory for any potential movies that are airing. Not ideal. I would rather have it scan both directories on a TV lookup, or just merge the two and be done with it. Just my opinion though.
__________________
Sage Server: HP ProLiant N40L MicroServer, AMD Turion II Neo N40L 1.5GHz Dual Core, 8GB Ram, WHS2011 64bit, Sage 7.1.9 WHS, HDHR (1 QAM, 1 OTA), HDHR Prime 3CC, HD-PVR for copy-once movie channels
HTPC Client:Intel DH61AG, Intel G620 cpu, 8GB ram, Intel 80GB SSD, 4GB RamDisk holding Sage/Java/TMT5
Sage Client:Sage HD-200 Extender
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sage not finding XMLTV during install harryf SageTV United Kingdom 2 11-02-2008 10:29 AM
IMDB description not downloaded and Where do TV series images come from? dinki SageMC Custom Interface 9 07-28-2008 02:37 PM
Movie database images jaminben SageTV Media Extender 0 06-09-2008 05:47 AM
Background Images sagetvkid SageTV Studio 1 06-02-2006 09:03 PM


All times are GMT -6. The time now is 06:44 PM.


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