SageTV Community  

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

Notices

Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-04-2010, 08:52 AM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
Foreign Cover Art

Lately, alot of the DVDs I import are getting foreign covers, ranging from italian, to russian, etc.

I didn't see anywhere in BMT to set a default language. Am I missing something or is this just going to always happen?

Kind of funny at first, but now just getting annoying.
__________________
Server: 2.6Ghz Pentium Dual Core, 2GB RAM. 3x PVR-150, 1.5TB HDD. Geforce 7300GS, Sage 7.0.15
Client: Jetway ION-Top - Dual core ATOM 1.6 & NVIDIA ION
NAS: QNAP TS-419P 3.7TB Raid-5

Special thanks to tmiranda for making my 24h time format dream a reality. See here for more details.
Reply With Quote
  #2  
Old 09-04-2010, 09:02 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by FidgetyRat View Post
Lately, alot of the DVDs I import are getting foreign covers, ranging from italian, to russian, etc.

I didn't see anywhere in BMT to set a default language. Am I missing something or is this just going to always happen?

Kind of funny at first, but now just getting annoying.
BMT doesn't allow you to change the language for themoviedb, so it just uses "en" for english. What I'd do, is check to see what the fanart looks like on themoviedb, and see if it's matching what you are seeing in bmt. Also, if you post some move names, I can do more testing on those specific movies.
Reply With Quote
  #3  
Old 09-07-2010, 08:13 AM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
Sorry for the delay in getting back to you, was away for the weekend.


In my current collection, the following movies are foreign covers.

1) The boy in the striped pijamas (Looks like italian)
2) She's out of my league (Possibly russian?)
3) The soloist (Italian again)

The others seem ok. I tried re-importing these, but same effect. Next I'll just try deleting the covers from the server and then trying again. What is odd, is that in the past these covers were fine. I changed hard drives and had to do a re-import, so I started over with BMT and this second time is when the foreign versions showed up.
__________________
Server: 2.6Ghz Pentium Dual Core, 2GB RAM. 3x PVR-150, 1.5TB HDD. Geforce 7300GS, Sage 7.0.15
Client: Jetway ION-Top - Dual core ATOM 1.6 & NVIDIA ION
NAS: QNAP TS-419P 3.7TB Raid-5

Special thanks to tmiranda for making my 24h time format dream a reality. See here for more details.
Reply With Quote
  #4  
Old 03-30-2013, 11:31 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by FidgetyRat View Post
Sorry for the delay in getting back to you, was away for the weekend.


In my current collection, the following movies are foreign covers.

1) The boy in the striped pijamas (Looks like italian)
2) She's out of my league (Possibly russian?)
3) The soloist (Italian again)

The others seem ok. I tried re-importing these, but same effect. Next I'll just try deleting the covers from the server and then trying again. What is odd, is that in the past these covers were fine. I changed hard drives and had to do a re-import, so I started over with BMT and this second time is when the foreign versions showed up.
Super old thread, I know, but was this bug ever addressed? I still get a ton of foreign language posters from tmdb (more of a problem now that tmdb is the primary metadata source).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #5  
Old 03-30-2013, 11:53 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
It looks like, after perusing the code and the tmdb api, that even though you request the english metadata, the results still include all available fanart. I think you then have to only download the posters that have iso_639_1="en".
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #6  
Old 03-31-2013, 02:19 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
It looks like, after perusing the code and the tmdb api, that even though you request the english metadata, the results still include all available fanart. I think you then have to only download the posters that have iso_639_1="en".
Whenever i look at the results coming back, I rarely see any language tag on the images.

Code:
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w92/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="thumb" width="92" height="138" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w154/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="w154" width="154" height="231" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="cover" width="185" height="278" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w342/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="w342" width="342" height="513" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w500/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="mid" width="500" height="750" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="original" width="1000" height="1500" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w92/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="thumb" width="92" height="135" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w154/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="w154" width="154" height="227" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="cover" width="185" height="272" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w342/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="w342" width="342" height="503" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w500/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="mid" width="500" height="736" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="original" width="1000" height="1471" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w92/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="thumb" width="92" height="135" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w154/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="w154" width="154" height="227" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="cover" width="185" height="272" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w342/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="w342" width="342" height="503" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w500/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="mid" width="500" height="736" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="original" width="1000" height="1471" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w92/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="thumb" width="92" height="129" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w154/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="w154" width="154" height="216" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="cover" width="185" height="260" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w342/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="w342" width="342" height="481" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w500/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="mid" width="500" height="703" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="original" width="713" height="1002" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w92/ymsidZ7aHgDkR8fRH5DEOYrCxhk.jpg" size="thumb" width="92" height="133" id="514ec8e5760ee35aae22eb05"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w154/ymsidZ7aHgDkR8fRH5DEOYrCxhk.jpg" size="w154" width="154" height="223" id="514ec8e5760ee35aae22eb05"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/ymsidZ7aHgDkR8fRH5DEOYrCxhk.jpg" size="cover" width="185" height="268" id="514ec8e5760ee35aae22eb05"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w342/ymsidZ7aHgDkR8fRH5DEOYrCxhk.jpg" size="w342" width="342" height="496" id="514ec8e5760ee35aae22eb05"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w500/ymsidZ7aHgDkR8fRH5DEOYrCxhk.jpg" size="mid" width="500" height="725" id="514ec8e5760ee35aae22eb05"/>
In fact on the ones that I just tried, I never see that attribute at all So, if I only pull images that define a language attribute, then in many cases, I'll never get any images at all.
Reply With Quote
  #7  
Old 03-31-2013, 07:52 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
Whenever i look at the results coming back, I rarely see any language tag on the images.

Code:
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w92/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="thumb" width="92" height="138" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w154/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="w154" width="154" height="231" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="cover" width="185" height="278" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w342/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="w342" width="342" height="513" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w500/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="mid" width="500" height="750" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/uLGaJ9FgPWf7EUgwjp9RTmHemw8.jpg" size="original" width="1000" height="1500" id="4ea5d65f9dc3d83c3b0009eb"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w92/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="thumb" width="92" height="135" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w154/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="w154" width="154" height="227" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="cover" width="185" height="272" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w342/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="w342" width="342" height="503" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w500/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="mid" width="500" height="736" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/4CCteRB3QkmPWebLMfEfMxfHpEJ.jpg" size="original" width="1000" height="1471" id="50927c7e19c29502cc000510"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w92/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="thumb" width="92" height="135" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w154/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="w154" width="154" height="227" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="cover" width="185" height="272" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w342/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="w342" width="342" height="503" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w500/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="mid" width="500" height="736" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/fVxG2moTyJ8KWWztZrZNAK0ya03.jpg" size="original" width="1000" height="1471" id="508a405a760ee355b70005a4"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w92/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="thumb" width="92" height="129" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w154/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="w154" width="154" height="216" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="cover" width="185" height="260" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w342/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="w342" width="342" height="481" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w500/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="mid" width="500" height="703" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/qo9BVO7Filumw9PW93IFRZvaNgm.jpg" size="original" width="713" height="1002" id="5038931319c29556ce010529"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w92/ymsidZ7aHgDkR8fRH5DEOYrCxhk.jpg" size="thumb" width="92" height="133" id="514ec8e5760ee35aae22eb05"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w154/ymsidZ7aHgDkR8fRH5DEOYrCxhk.jpg" size="w154" width="154" height="223" id="514ec8e5760ee35aae22eb05"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/ymsidZ7aHgDkR8fRH5DEOYrCxhk.jpg" size="cover" width="185" height="268" id="514ec8e5760ee35aae22eb05"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w342/ymsidZ7aHgDkR8fRH5DEOYrCxhk.jpg" size="w342" width="342" height="496" id="514ec8e5760ee35aae22eb05"/>
<image type="poster" url="http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w500/ymsidZ7aHgDkR8fRH5DEOYrCxhk.jpg" size="mid" width="500" height="725" id="514ec8e5760ee35aae22eb05"/>
In fact on the ones that I just tried, I never see that attribute at all So, if I only pull images that define a language attribute, then in many cases, I'll never get any images at all.
I don't know what exact api's you are using to get the list, but looking here:
http://docs.themoviedb.apiary.io/
/3/movie/{id}/images
includes a iso_639_1 property on each result - sometimes null, but most times properly populated. (it is proper that if the image has no text - like most backgrounds - for it to not have a language tag, in which case, it will be null).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #8  
Old 04-01-2013, 07:32 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
I don't know what exact api's you are using to get the list, but looking here:
http://docs.themoviedb.apiary.io/
/3/movie/{id}/images
includes a iso_639_1 property on each result - sometimes null, but most times properly populated. (it is proper that if the image has no text - like most backgrounds - for it to not have a language tag, in which case, it will be null).
Thanks it would appear that they have created a new 3.x api (I'm using the 2.x api). So, this is going to be a few weeks effort to move to a new api. If the 3.x api supports better information about the images (ie correct languages), then I'll schedule some time over the next couple months to make this happen.
Reply With Quote
  #9  
Old 04-01-2013, 07:51 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
Thanks it would appear that they have created a new 3.x api (I'm using the 2.x api). So, this is going to be a few weeks effort to move to a new api. If the 3.x api supports better information about the images (ie correct languages), then I'll schedule some time over the next couple months to make this happen.
It appears the new API is JSON only, no more XML so that may actually make it easier to implement.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #10  
Old 04-01-2013, 08:07 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
It appears the new API is JSON only, no more XML so that may actually make it easier to implement.
Well... easier if I were doing it from scratch... but given that I already have an implementation in XML... it means that I can't reuse any of that code in migrating from 2.x to 3

But, yeah, nice to be using a json api, since it is a little easier to work with... just sucks that I have to start from scratch
Reply With Quote
  #11  
Old 04-01-2013, 08:37 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
at least with the movie id's remaining the same, you could just alter a few key areas at a time (like the image part.. :-)
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #12  
Old 04-01-2013, 10:00 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
at least with the movie id's remaining the same, you could just alter a few key areas at a time (like the image part.. :-)
True... but I've been wanting to restructure this for awhile now Plus, in moving to the new v3 api, I'll look at bringing down actor fanart, as well.

I actually found where someone has created a full java api for the v3 api and I'm tempted to just use it... but it'll add a alot more jar dependencies... so I'm trying to weigh the pros and cons...
Reply With Quote
  #13  
Old 04-01-2013, 01:47 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
With Sage's plugin architecture, I can't see much in the way of cons - aside from maintainability. Is the v3 API wrapper jar open sourced, and would you have the ability to make improvements/changes to it if the core author disappeared? If not, and for as little as there REALLY is interaction with the api - it might not be worth the risk.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #14  
Old 04-01-2013, 03:25 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
With Sage's plugin architecture, I can't see much in the way of cons - aside from maintainability. Is the v3 API wrapper jar open sourced, and would you have the ability to make improvements/changes to it if the core author disappeared? If not, and for as little as there REALLY is interaction with the api - it might not be worth the risk.
Yeah, it's an open source api... and it would make interacting with themoviedb very easy. It's just about 5 or 6 new jar files
Reply With Quote
  #15  
Old 04-01-2013, 06:26 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
Yeah, it's an open source api... and it would make interacting with themoviedb very easy. It's just about 5 or 6 new jar files
With that much, it seems like it's a lot more than just wrapping up the JSON calls. It probably handles authentication, and other things required to write changed to TMDB as well - something that isn't really needed in your use case. All you really need to do is grab the JSON data from HTTP requests, and interact with it directly as objects, copying from the JSON object, to the appropriate SageTV API object.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #16  
Old 04-01-2013, 08:01 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
With that much, it seems like it's a lot more than just wrapping up the JSON calls. It probably handles authentication, and other things required to write changed to TMDB as well - something that isn't really needed in your use case. All you really need to do is grab the JSON data from HTTP requests, and interact with it directly as objects, copying from the JSON object, to the appropriate SageTV API object.
Yeah, the api is more full featured (which isn't a bad thing), but, you are right, I just need the simple json data stream. Also their api uses a bunch of jars so that they can automatically convert the json data into model objects, (ie, Movie, Actor, Image, etc) so that they don't deal with json directly. Whether or not I use thier api... I'll certainly study it
Reply With Quote
  #17  
Old 04-01-2013, 09:18 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
There are some pretty simple json jars out there that will wrap the json easily (I've played with json-simple, and it is VERY simple to use (named well, i suppose).

Of course, it might be worth looking at the json plugin that is already in the repository (I think slugger made it). You can likely leverage that directly from phoenix (obviously, adding the dependency), and that way, you aren't likely adding anything that isn't already on most servers out there. (I'm not sure if he's got his json source available - but if you could get it from him, it would certainly simplify things - it's a dependency on many common plugins - including the web interface.

EDIT: looks like the <identifier>json</identifier> plugin is in fact the json.jar from json.org - so javadocs are available there - and that way it's properly namespaced to org.json - should be able to use it - it's not as featured as json-simple, or others, but it is enough for the minimal object manipulation you'll be doing. (download -> parse to an object -> iterate through and add copy values out via sagetv api -> destroy object)

EDIT2: i just noticed he also has a gson plugin in the repository - which may be a better json library to use - and also already in the repository.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room

Last edited by Fuzzy; 04-01-2013 at 09:44 PM.
Reply With Quote
  #18  
Old 04-02-2013, 05:01 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
There are some pretty simple json jars out there that will wrap the json easily (I've played with json-simple, and it is VERY simple to use (named well, i suppose).

Of course, it might be worth looking at the json plugin that is already in the repository (I think slugger made it). You can likely leverage that directly from phoenix (obviously, adding the dependency), and that way, you aren't likely adding anything that isn't already on most servers out there. (I'm not sure if he's got his json source available - but if you could get it from him, it would certainly simplify things - it's a dependency on many common plugins - including the web interface.

EDIT: looks like the <identifier>json</identifier> plugin is in fact the json.jar from json.org - so javadocs are available there - and that way it's properly namespaced to org.json - should be able to use it - it's not as featured as json-simple, or others, but it is enough for the minimal object manipulation you'll be doing. (download -> parse to an object -> iterate through and add copy values out via sagetv api -> destroy object)

EDIT2: i just noticed he also has a gson plugin in the repository - which may be a better json library to use - and also already in the repository.
Yeah, I've used gson quite a bit (and it's already pulled in as a part of Phoenix), so I'll most definitely use that if I'm having to manage the json objects directly.
Reply With Quote
  #19  
Old 09-16-2013, 02:53 PM
HokiePerogi HokiePerogi is offline
Sage Advanced User
 
Join Date: Oct 2008
Posts: 187
Any updates on this update? Foreign poster downloads continue to plague me.
__________________
Server: AMD Phenom II X6 3.20 GHz ♠ 16 GB RAM (15.7 usable)
Capture: HDHomeRun PRIME ♠ Ceton InfiniTV 4 PCIe (Clear-QAM only)
Tuning: OpenDCT v0.5.20-RC2
Software: Windows 7 Ultimate 64-bit ♠ SageTV v9.0.12.504 ♠ Java 1.8.0_111
Clients: 4 x STX-HD300 ♠ 3 x STX-HD200 ♠ MacOS Placeshifter
Reply With Quote
  #20  
Old 09-17-2013, 11:07 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by HokiePerogi View Post
Any updates on this update? Foreign poster downloads continue to plague me.
I don't really think the cover art issue will ever be resolved. I did try to pull in another api for fetching, but I ended up backing it out, since it brought in other challenges.
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
Poster art - change, limit, or remove foreign language art? d2globalinc Sage My Movies 4 08-29-2010 05:00 PM
Posters as Cover Art Taddeusz SageMC Custom Interface 2 04-07-2009 06:26 PM
bluray cover art chrisc983 SageTV Beta Test Software 13 04-03-2009 12:33 PM
Cover art visualization pbennington SageMC Custom Interface 0 01-29-2009 01:47 PM
DVD Cover Art... robhix SageTV Software 9 08-18-2008 10:52 AM


All times are GMT -6. The time now is 07:16 PM.


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