Test the new API-version (1 Viewer)

jocke

Portal Pro
January 27, 2008
109
6
Home Country
Norway Norway
That's really just cosmetics, you can choose any it doesn't matter (it's because one record is returned for every language the series exists in and I explicitely search in all languages and not just the users-selected). I may expliclitely search for user-lang only (though there were some problems, can't remember in detail) or filter them out at some point, but it's a low priority.
If I delete all the banners and the db, and start with a fresh import I get this screen...


It makes it rather difficult to pick which is the correct series, ie: no overview is displayed...
@Psycho Reptile: Read the post of inker above yours (last paragraph) and you will see that it doesn't matter which series you choose...
Won't the language in "Show Overview" and "Overview" be affected by what result you choose?
Or will it pick the English one no matter what?

edit; just tested with a random show, with clean db, whatever result I pick, the "Show Overview" and "Overview" is in English.
 

Psycho Reptile

Retired Team Member
  • Premium Supporter
  • April 19, 2006
    1,316
    787
    Cambridge, England
    Home Country
    United Kingdom United Kingdom
    That's really just cosmetics, you can choose any it doesn't matter (it's because one record is returned for every language the series exists in and I explicitely search in all languages and not just the users-selected). I may expliclitely search for user-lang only (though there were some problems, can't remember in detail) or filter them out at some point, but it's a low priority.
    If I delete all the banners and the db, and start with a fresh import I get this screen...


    It makes it rather difficult to pick which is the correct series, ie: no overview is displayed...
    @Psycho Reptile: Read the post of inker above yours (last paragraph) and you will see that it doesn't matter which series you choose...
    Won't the language in "Show Overview" and "Overview" be affected by what result you choose?
    Or will it pick the English one no matter what?

    edit; just tested with a random show, with clean db, whatever result I pick, the "Show Overview" and "Overview" is in English.

    I read the entire thread before posting, my problem is that I don't actually see any description, in any language, no matter which series I select. In the screenshot, the top 5 "24"s all say - "No futher description available".
     

    Erez

    Portal Pro
    April 10, 2007
    82
    9
    Home Country
    Israel Israel
    Hi,

    I'm having problems downloading banners with this SVN.
    Banners aren't imported when language is set to 'Hebrew'.

    Steps to recreate:
    1. Select any show from database - for example 'Lost'.
    2. Remove show from database.
    3. Choose Hebrew as language.
    4. Import data.

    Banners aren't imported.

    Repeat steps 1-4 just choose 'English' instead of 'Hebrew'.
    Banners are downloaded as expected.

    Logs attached (Debug level)

    Erez

    Fixed

    Also I forgot to reenable mediainfo parsing in this build, this means that file info won't be picked up automatically.

    Fixed

    :D Inker. I've tested the new SVN and both problems are solved.
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Hi Inker, thanks for the new version - I like the new features :D.
    Now to my problem, which occurs on two different machines with slightly different setups: when I "upgrade" my existing db the new version works flawlessly (Rev 288).
    If I delete all the banners and the db, and start with a fresh import I get this screen...



    It makes it rather difficult to pick which is the correct series, ie: no overview is displayed...
    I let the scan finish by selecting the top/guessed correct series, everything appears ok.

    I'm not sure if it's me but any help would be appreciated.

    Here's how searching works:
    Imagine in the online DB a table seriesID, Translated Name, Language
    The plugin transmits a search string (the seriesname) and retrieves whatever translated name fits, in whatever language. So, if 24 exists in 5 languages, and it's called 24 in all of them (like in german), it will retrieve all of those. But it doesn't matter which one you choose, because they all point to the same seriesID and at this stage that is all we are interested in (it is not until later we import meta data).

    As I said, I can search in only the user specified language, but it requires a) the user to have all their shows named in whatever the show is called in their language, and b) the online DB to have a translation for that series, that's why I search in all languages. Compare these two resultsets:
    http://www.thetvdb.com/api/GetSeries.php?seriesname=24&language=all
    http://www.thetvdb.com/api/GetSeries.php?seriesname=24&language=tr (turkish)

    So in this example if the user had chosen turkish (which 24 does not exist in in the onlineDB) he would not get a chance to fallback to english. That is why I will need to filter them from the plugin side.

    As far as the overview is concerned, as you can see from the api specs it wasn't added until recently that this was added to the resultset and isn't properly documented yet, that is why it is not yet used/displayed.

    Hope it helps you understand a bit better.
    Inker
     

    Psycho Reptile

    Retired Team Member
  • Premium Supporter
  • April 19, 2006
    1,316
    787
    Cambridge, England
    Home Country
    United Kingdom United Kingdom
    As far as the overview is concerned, as you can see from the api specs it wasn't added until recently that this was added to the resultset and isn't properly documented yet, that is why it is not yet used/displayed.

    Hope it helps you understand a bit better.
    Thanks Inker, it does. My only real concern was why the overview wasn't being displayed, but you've cleared that up to :D
     

    Silk73

    Portal Member
    March 2, 2008
    13
    1
    Home Country
    Italy Italy
    I modified the file xml in English and Italian adding as indicated in the first post new entries, I hope to have made a proper job.


    Not Tested

    :)
     

    steven83

    Portal Member
    September 8, 2007
    44
    0
    42
    Home Country
    Switzerland Switzerland
    Hi,

    I'm having problems downloading banners with this SVN.
    Banners aren't imported when language is set to 'Hebrew'.

    Steps to recreate:
    1. Select any show from database - for example 'Lost'.
    2. Remove show from database.
    3. Choose Hebrew as language.
    4. Import data.

    Banners aren't imported.

    Repeat steps 1-4 just choose 'English' instead of 'Hebrew'.
    Banners are downloaded as expected.

    Logs attached (Debug level)

    Erez

    Fixed

    Also I forgot to reenable mediainfo parsing in this build, this means that file info won't be picked up automatically.

    Fixed

    An other problem, when searching for a serie in the result window serie get's listet more then once.

    That's really just cosmetics, you can choose any it doesn't matter (it's because one record is returned for every language the series exists in and I explicitely search in all languages and not just the users-selected). I may expliclitely search for user-lang only (though there were some problems, can't remember in detail) or filter them out at some point, but it's a low priority.

    newest svn and still now banners here for ex. for CSI Miami, Heroes or Lost

    mh, thats really strange, after 3 times of download the newest svn the size of the file has change by 1kb and now its working
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Change: SeriesSearching will only show one entry per seriesID anymore (if it exists in you're language, it will use you're language's entry/seriesname/overview)
    Change: SeriesChoosing Dialog will show Overview/Summary
    Fix: Some SQL errors that occured
    Change: Drastically cut down both number of sql statements as well as lenght/complexity of sql statements on update commits
    Fix: Most compiler warnings
    + CodeCleanup
    Added: Translations for en(us), he, it (Thnx to Silk73 & Erez)

    Pls test...
     

    Beavis

    Portal Member
    February 13, 2008
    37
    0
    Schortens
    Home Country
    Germany Germany
    hmm cant open configuration tab, get error that unhandled exception occur, i attach the error in this post.
    With release 289 all working fine


    edit: ok with 292 it works fine now :)
     

    Users who are viewing this thread

    Top Bottom