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
  #101  
Old 12-28-2008, 08:12 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by Kirby View Post
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.
the files are relatively small, while it's inefficient to store the files 2x the level of inefficiency is small in comparison to loss of flexibility/capability.

if the retrieval and cleanup of files can be automated, much of the less-than-ideal baggage can be hidden away.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #102  
Old 12-28-2008, 10:04 PM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
I'll just have it scan

Parent -> TV -> Movies for TV files and
Parent -> Movies -> TV for Video Library files

That should keep everyone happy enough.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #103  
Old 12-28-2008, 10:12 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
1.0.0.4
- added tv (favorites) download from thetvdb.com
- added -t (tv) cmd line mode

http://babgvant.com/files/folders/sa...ntry11528.aspx
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #104  
Old 12-28-2008, 10:27 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by MeInMaui View Post
I'll just have it scan

Parent -> TV -> Movies for TV files and
Parent -> Movies -> TV for Video Library files

That should keep everyone happy enough.

Aloha,
Mike
There will be a potentially undesirable issue with the wrong background getting loaded for a TV show (or Movie) where the corresponding item has fanart and it does not. For e.g. say I have a fanart background for the movie "Curious George" but not one for the TV show "Curious George", in the scenario the background for the movie will get loaded for the show. While this isn't a huge problem in this case (even though it won't look right), it's not hard to imagine a scenario where this could be a usability issue.

You could take the stance that if you want the aggregation behavior there is only one folder (Parent), and if segmentation is desired (Movies/TV/Music) subfolder creation is required and only one level (i.e. only Movies for Video Library will be scanned). That way if I want to share a background b/w content types I put in Parent, otherwise in the correct subfolder.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #105  
Old 12-28-2008, 10:43 PM
Kirby's Avatar
Kirby Kirby is offline
Sage Icon
 
Join Date: Jan 2006
Posts: 1,253
Isnt there already a metadata flag for TV movies in there someplace? I would have to think there is since there is a search function for upcoming movies isnt there? So maybe that could be used in conjunction here, and if its got that metadata bit it could just search the Movies sub-dir, rather than TV? Just throwing out ideas, but its late, so maybe I just need sleep!
__________________
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
  #106  
Old 12-28-2008, 11:40 PM
Nick_W Nick_W is offline
Sage Advanced User
 
Join Date: Aug 2007
Posts: 215
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.
This is a problem for downloaded series, e.g., prison.break.s03.e16.avi. Right now it's simple to just drop a background.jpg in the folder.

Quote:
Originally Posted by MeInMaui View Post
Further, I'd like to hard code the TV, Music and Movies subdirectories for each type of fanart.
No problem with this.

Regards,

Nick.
Reply With Quote
  #107  
Old 12-28-2008, 11:59 PM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
bobgvant,

Love it! Works great. Only thing I noticed if it doesn't find art, it places a name.jpg in the folder (no picture just a 1k file). Is this intended?
Reply With Quote
  #108  
Old 12-29-2008, 12:39 AM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
Quote:
Originally Posted by babgvant View Post
You could take the stance that if you want the aggregation behavior there is only one folder (Parent), and if segmentation is desired (Movies/TV/Music) subfolder creation is required and only one level (i.e. only Movies for Video Library will be scanned). That way if I want to share a background b/w content types I put in Parent, otherwise in the correct subfolder.

This seems like a reasonable approach. Plus it's easier to code.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #109  
Old 12-29-2008, 06:37 AM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by QueOnda View Post
bobgvant,

Love it! Works great. Only thing I noticed if it doesn't find art, it places a name.jpg in the folder (no picture just a 1k file). Is this intended?
I noticed that after posting. It's not intentional.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #110  
Old 12-29-2008, 12:51 PM
darkmar darkmar is offline
Sage User
 
Join Date: Dec 2008
Posts: 9
I am getting 500 error. Is this a problem on my webserver? I would appreciate your support.

Thanks,

2008-12-29 10:33:32.88 : MetaDataLookup - 1.0.0.4
2008-12-29 10:33:36.33 : WS: http://192.168.1.197:8080/sage/Home
2008-12-29 10:33:36.64 : Error GetDataFromSage: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at System.Net.WebClient.DownloadData(String address)
at babgvant.MetaDataLookup.SageWebServer.GetDataFromSage(MediaType mode)
2008-12-29 10:33:36.64 : Error ScanMediaDoWork: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at babgvant.MetaDataLookup.SageWebServer.GetDataFromSage(MediaType mode)
at babgvant.MetaDataLookup.SageWebServer.GetMedia(MediaType mode)
at babgvant.MetaDataLookup.ScanMedia.bwFindProperties_DoWork(Object sender, DoWorkEventArgs e)
2008-12-29 10:33:36.64 : Error: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at babgvant.MetaDataLookup.SageWebServer.GetDataFromSage(MediaType mode)
at babgvant.MetaDataLookup.SageWebServer.GetMedia(MediaType mode)
at babgvant.MetaDataLookup.ScanMedia.bwFindProperties_DoWork(Object sender, DoWorkEventArgs e)
Reply With Quote
  #111  
Old 12-29-2008, 01:22 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by darkmar View Post
I am getting 500 error. Is this a problem on my webserver? I would appreciate your support.

Thanks,

2008-12-29 10:33:32.88 : MetaDataLookup - 1.0.0.4
2008-12-29 10:33:36.33 : WS: http://192.168.1.197:8080/sage/Home
2008-12-29 10:33:36.64 : Error GetDataFromSage: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at System.Net.WebClient.DownloadData(String address)
at babgvant.MetaDataLookup.SageWebServer.GetDataFromSage(MediaType mode)
2008-12-29 10:33:36.64 : Error ScanMediaDoWork: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at babgvant.MetaDataLookup.SageWebServer.GetDataFromSage(MediaType mode)
at babgvant.MetaDataLookup.SageWebServer.GetMedia(MediaType mode)
at babgvant.MetaDataLookup.ScanMedia.bwFindProperties_DoWork(Object sender, DoWorkEventArgs e)
2008-12-29 10:33:36.64 : Error: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at babgvant.MetaDataLookup.SageWebServer.GetDataFromSage(MediaType mode)
at babgvant.MetaDataLookup.SageWebServer.GetMedia(MediaType mode)
at babgvant.MetaDataLookup.ScanMedia.bwFindProperties_DoWork(Object sender, DoWorkEventArgs e)
do you get that with both tv and videos?

try hitting:

http://192.168.1.197:8080/sage/Favorites?xml=yes

and

http://192.168.1.197:8080/sage/Searc...g=None&xml=yes

in the browser. do they work?
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #112  
Old 12-29-2008, 02:44 PM
darkmar darkmar is offline
Sage User
 
Join Date: Dec 2008
Posts: 9
I am getting both favorites.xml and search_result.xml as seperate files outsite of the browser if clicked on the links.
This error only appears for video. For TV finds nothing. I have a testing environment only with 1 TV recording.

2008-12-29 12:34:59.08 : MetaDataLookup - 1.0.0.4
2008-12-29 12:35:00.67 : WS: http://192.168.1.197:8080/sage/Home
2008-12-29 12:35:00.83 : Fanart Dir: \\hpserver\fanart

I also realized that I don't get settings window for a configuration. I edited MetaDataLookup.exe.config directly.
Reply With Quote
  #113  
Old 12-29-2008, 04:19 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Wow, fan art just got 100x easier. Thanks Mike/babgvant!
Reply With Quote
  #114  
Old 12-29-2008, 07:41 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
1.0.0.5
- fixed 1kb image issue
- added Test option
- more logging

http://babgvant.com/files/folders/sa...ntry11528.aspx
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #115  
Old 12-29-2008, 07:43 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Does anyone know of a site for music like themoviedb.org and thetvdb.com?
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #116  
Old 12-29-2008, 08:22 PM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Quote:
Originally Posted by babgvant View Post
1.0.0.5
- fixed 1kb image issue
- added Test option
- more logging

http://babgvant.com/files/folders/sa...ntry11528.aspx
Thanks for the tool! This would be good for covers as well I would like to have consistent covers and art which I don't have now.

Technazz
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #117  
Old 12-29-2008, 11:43 PM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
Quote:
Originally Posted by babgvant View Post
Does anyone know of a site for music like themoviedb.org and thetvdb.com?
http://www.htbackdrops.com/thumbnails.php?album=2

Other than that, I haven't been able to find one.
Reply With Quote
  #118  
Old 12-30-2008, 07:24 AM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Problem With videos

Im not having any luck getting the backgrounds to show up only for my videos.

My fanart is working great for my music and tv.

My video folders are //pvr/e/video/
//pvr/c/video2/
with movies in 3 different directories.

The fanart is in //pvr/c/fanart with music tv and movies sub directories.

The files are named exactly the movie name. eg Cars.mkv is names Cars.jpg int he movies folder.

As I saud the TV is working perfectly just the videos. Ive rebooted the server rescanned the import directoires
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #119  
Old 12-30-2008, 11:43 AM
QueOnda's Avatar
QueOnda QueOnda is offline
Sage Icon
 
Join Date: Jan 2008
Posts: 1,093
Feature Request

babgvant,

Is there a way for you to output (maybe a txt file), files it doesn't find? I think this would be helpful to find on my own or try to make a backdrop on my own.

I guess, I could just keep writing when I come across them, but just though you could make it easy.
Reply With Quote
  #120  
Old 12-30-2008, 11:54 AM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
I'm going to post another pre-release update later today or tonight. Keep an eye one the stickies at the top of the forum. Try that one with debug logging enabled and post your log if it still doesn't work.

In the mean time, are your running a separate PC client? If so, try it on the server and see if the backgrounds show up there. Your client may not be able to see the network share.

Aloha,
Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)

Last edited by MeInMaui; 12-30-2008 at 11:56 AM.
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 03:06 AM.


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