ZeroQI / Hama.bundle

Plex HTTP Anidb Metadata Agent (HAMA)
GNU General Public License v3.0
1.2k stars 111 forks source link

Beta - CacheTime for TVDB banners.xml #171

Closed sven-7 closed 6 years ago

sven-7 commented 6 years ago

Since I've had to reload my library a few times, I noticed that I mostly have just season 1 posters for shows and they've copied over to seasons 2, 3, etc. When refreshing to get the season 2 posters, it doesn't. I noticed it looks like there is a longer cache time for images.

screen shot 2018-02-28 at 3 46 59 pm

This one:

TheTVDB.GetMetadata(): abs_manual_placement_info: []
TheTVDB.GetMetadata() - TVDB - Episodes without Summary: ['s3e4', 's4e4', 's4e5', 's4e6', 's4e7', 's4e8']
TheTVDB.GetMetadata() - TVDB - Episodes missing: []
common.LoadFile() - CacheTime: 'Sun Feb 25 21:03:21 2018', Limit: 'Fri Mar 30 16:44:29 2018', url: 'http://thetvdb.com/api/A27AD9BE0DA63333/series/272309/banners.xml', Filename: 'TheTVDB\xml\banners\272309.banners.xml' loaded from cache
TheTVDB.GetMetadata() - anidb_offset: 4, AniDBid: 9591, anidb_array: ['12255', '10643', '12129', '9790', '10769', '9591']

Or this one:

TheTVDB.GetMetadata() - Episode 's2e23' missing but not aired/missing '99999999'
TheTVDB.GetMetadata() - Episode 's2e24' missing but not aired/missing '99999999'
TheTVDB.GetMetadata() - Episode 's2e25' missing but not aired/missing '99999999'
TheTVDB.GetMetadata(): abs_manual_placement_info: []
TheTVDB.GetMetadata() - TVDB - Episodes without Summary: ['s2e17', 's2e18', 's2e19', 's2e20', 's2e21', 's2e22', 's2e23', 's2e24', 's2e25']
TheTVDB.GetMetadata() - TVDB - Episodes missing: []
common.LoadFile() - CacheTime: 'Sun Feb 25 20:44:14 2018', Limit: 'Fri Mar 30 16:36:33 2018', url: 'http://thetvdb.com/api/A27AD9BE0DA63333/series/300989/banners.xml', Filename: 'TheTVDB\xml\banners\300989.banners.xml' loaded from cache
TheTVDB.GetMetadata() - anidb_offset: 0, AniDBid: 11347, anidb_array: ['5487', '12472', '2702', '11347', '12944']
[!] bannerType: poster, season:   , rank:   1, language: en, filename: posters/300989-2.jpg
[!] bannerType: poster, season:   , rank:   3, language: en, filename: posters/300989-3.jpg
[!] bannerType: poster, season:   , rank:  54, language: ja, filename: posters/300989-1.jpg
[!] bannerType: season, season:  2, rank:   2, language: en, filename: seasons/300989-2-3.jpg
[!] bannerType: season, season:  1, rank:   3, language: en, filename: seasons/300989-1.jpg
[!] bannerType: season, season:  2, rank:   4, language: en, filename: seasons/300989-2-2.jpg
[!] bannerType: season, season:  2, rank:   5, language: en, filename: seasons/300989-2.jpg
TheTVDB.GetImages() - Posters : 3/3, Season posters: 4/4, Art: 7/7
TheTVDB_dict: {'status': 'Continuing', 'rating': '9.0', 'genres': 'Animation|Comedy', 'title_sort': 'Mr. Osomatsu', 'art': {'http://thetvdb.plexapp.com/banners/fanart/original/300989-4.jpg': ('TVDB/fanart/original/300989-4.jpg', 6, 'http://thetvdb.plexapp.com/banners/_cache/fanart/original/300989-4.jpg'), 'http://thetvdb.plexapp.com/banners/fanart/original/300989-6.jpg': ('TVDB/fanart/original/300989-6.jpg', 5, 'http://thetvdb.plexapp.com/banners/_cache/fanart/original/300989-6.jpg'), 'http://thetvdb.plexapp.com/banners/fanart/original/300989-1.jpg': ('TVDB/fanart/original/300989-1.jpg', 4, 'http://thetvdb.plexapp.com/banners/_cache/fanart/original/300989-1.jpg'), 'http://thetvdb.plexapp.com/banners/fanart/original/300989-3.jpg': ('TVDB/fanart/original/300989-3.jpg', 3, 'http://thetvdb.plexapp.com/banners/_cache/fanart/original/300989-3.jpg'), 'http://thetvdb.plexapp.com/banners/fanart/original/300989-5.jpg': ('TVDB/fanart/original/300989-5.jpg', 7, 'http://thetvdb.plexapp.com/banners/_cache/fanart/original/300989-5.jpg'), 'http://thetvdb.plexapp.com/banners/fanart/original/300989-7.jpg': ('TVDB/fanart/original/300989-7.jpg', 58, 'http://thetvdb.plexapp.com/banners/_cache/fanart/original/300989-7.jpg'), 'http://thetvdb.plexapp.com/banners/fanart/original/300989-2.jpg': ('TVDB/fanart/original/300989-2.jpg', 52, 'http://thetvdb.plexapp.com/banners/_cache/fanart/original/300989-2.jpg')}, 'roles': 'Yuuichi Nakamura|Takahiro Sakurai|Hiroshi Kamiya|Miyu Irino|Daisuke Ono|Jun Fukuyama', 'originally_available_at': '2015-10-06', 'title': 'Mr. Osomatsu', 'summary': "The majority of the Matsuno household is comprised of six identical siblings: self-centered leader Osomatsu, manly Karamatsu, voice of reason Choromatsu, cynical Ichimatsu, hyperactive Juushimatsu, and lovable Todomatsu. Despite each one of them being over the age of 20, they are incredibly lazy and have absolutely no motivation to get a job, choosing to live as NEETs instead. In the rare occurrence that they try to look for employment and are somehow able to land an interview, their unique personalities generally lead to their swift rejection.\n\nFrom trying to pick up girlfriends to finding the perfect job, the daily activities of the Matsuno brothers are never dull as they go on all sorts of crazy, and often downright bizarre, adventures. Though they desperately search for a way to improve their social standing, it won't be possible if they can't survive the various challenges that come with being sextuplets!\n", 'studio': 'TV Tokyo', 'posters': {'http://thetvdb.plexapp.com/banners/posters/300989-2.jpg': ('TVDB/posters/300989-2.jpg', 1, None), 'http://thetvdb.plexapp.com/banners/posters/300989-3.jpg': ('TVDB/posters/300989-3.jpg', 3, None), 'http://thetvdb.plexapp.com/banners/posters/300989-1.jpg': ('TVDB/posters/300989-1.jpg', 54, None)}, 'duration': 1500000, 'seasons': {'1': {'posters': {'http://thetvdb.plexapp.com/banners/seasons/300989-1.jpg': ('TVDB/seasons/300989-1.jpg', 3, None)}, 'episodes': {'24': {'absolute_index': 24, 'originally_available_at': '2016-03-21', 'summary': 'Totoko experiences jealousy for the first time after people start getting more success than her, leading her on a quest to find an oil magnate to marry.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5509612.jpg': ('TVDB/episodes/5509612.jpg', 1, None)}, 'title': "Totoko's Huge Panic / Letter"}, '25': {'absolute_index': 25, 'originally_available_at': '2016-03-28', 'summary': 'The brothers quickly abandon their new lifestyles upon learning they have been invited to a baseball tournament. After failing miserably the first time, the family soon grow stronger and reach the final round of the next tournament. Facing off against a ruthless team of aliens that murder the rest of their team, the brothers are spurned on by the chance to lose their virginities, but end up losing anyway. ', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5559536.jpg': ('TVDB/episodes/5559536.jpg', 1, None)}, 'title': 'Osomatsu-san, Such As It Was'}, '20': {'absolute_index': 20, 'originally_available_at': '2016-02-22', 'summary': 'Kicked out of his own company, Hatabou starts his own catering service in order to regain his fortune, leaving the Matsuno siblings curious about what meat he has been using.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5509608.jpg': ('TVDB/episodes/5509608.jpg', 1, None)}, 'title': "Teach Me, Hatabou / School Master / Iyami's School"}, '21': {'absolute_index': 21, 'originally_available_at': '2016-02-29', 'summary': 'On a rainy evening, the brothers play a game of mahjong, with each brother showing his own strengths and glaring weaknesses.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5509609.jpg': ('TVDB/episodes/5509609.jpg', 1, None)}, 'title': 'Mahjong / God Matsu'}, '22': {'absolute_index': 22, 'originally_available_at': '2016-03-07', 'summary': 'Todomatsu holds auditions to take one of his brothers with him to a mixer, struggling to find anyone worth taking.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5509610.jpg': ('TVDB/episodes/5509610.jpg', 1, None)}, 'title': 'The Star of Hope, Todomatsu / Final Sheeeh'}, '23': {'absolute_index': 23, 'originally_available_at': '2016-03-14', 'summary': 'When the family heater runs out of kerosene, the brothers find themselves in an underground village populated by a tribe of Dayon people.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5509611.jpg': ('TVDB/episodes/5509611.jpg', 1, None)}, 'title': 'Kerosene / Dayon Tribe'}, '1': {'originally_available_at': '2015-10-05', 'title': 'Osomatsu-kun Returns', 'summary': 'The popular Osomatsu brothers are now back?! However, times have changed and the sextuplets try to figure out the best way to come back that will appeal to the current TV audience... ', 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5344020.jpg': ('TVDB/episodes/5344020.jpg', 1, None)}, 'absolute_index': 1}, '3': {'originally_available_at': '2015-10-19', 'title': 'Tidbits Collection', 'summary': "This week's episode is the tidbits collection. Everything from Dekapan-man, to what happens if you try to horde your pachinko winnings, to a bath house quiz.", 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5369293.jpg': ('TVDB/episodes/5369293.jpg', 1, None)}, 'absolute_index': 3}, '2': {'originally_available_at': '2015-10-12', 'title': "Let's Get a Job / The Melancholy of Osomatsu", 'summary': 'The sextuplets attempt to find a job, and Osomatsu tries to find where all of his brothers went off to.', 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5359130.jpg': ('TVDB/episodes/5359130.jpg', 1, None)}, 'absolute_index': 2}, '5': {'originally_available_at': '2015-11-02', 'title': 'The Karamatsu Incident / ESP Kitty', 'summary': 'Karamatsu is taken hostage and demands the Matsuno brothers pay off their tab for his oden stand.', 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5369393.jpg': ('TVDB/episodes/5369393.jpg', 1, None)}, 'absolute_index': 5}, '4': {'originally_available_at': '2015-10-26', 'title': "Let's Become Independent / This Is Totoko", 'summary': 'Choromatsu is worried that his brothers are depending too much on their parents.', 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5369392.jpg': ('TVDB/episodes/5369392.jpg', 1, None)}, 'absolute_index': 4}, '7': {'originally_available_at': '2015-11-16', 'title': 'Todomatsu and the Five Demons / Four / Going North', 'summary': 'Todomatsu faces the biggest threat to his social life when his brothers show up at his workplace just as his co-workers are about to invite him to a mixer.', 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5369397.jpg': ('TVDB/episodes/5369397.jpg', 1, None)}, 'absolute_index': 7}, '6': {'originally_available_at': '2015-11-09', 'title': "It's a Birthday Party, Dajo / Iyami's Great Discovery", 'summary': "The Matsunos are invited to Hatabou's birthday party, becoming surprised to discover he is living the rich life.", 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5369394.jpg': ('TVDB/episodes/5369394.jpg', 1, None)}, 'absolute_index': 6}, '9': {'originally_available_at': '2015-11-30', 'title': 'Chibita and Oden / Jyushimatsu Falls in Love', 'summary': "While discussing his career plans, Karamatsu somehow winds up as Chibita's apprentice at his oden stand.", 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5369399.jpg': ('TVDB/episodes/5369399.jpg', 1, None)}, 'absolute_index': 9}, '8': {'originally_available_at': '2015-11-23', 'title': "The Calming Osomatsu / Totoko's Dream", 'summary': 'Osomatsu plays as a detective who calms down people working on murder cases with his buffoonery instead of actually solving them.', 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5369398.jpg': ('TVDB/episodes/5369398.jpg', 1, None)}, 'absolute_index': 8}, '11': {'originally_available_at': '2015-12-14', 'title': 'Black Santa / Picked Up by a Girl / The Perfect Christmas / Exchanging Presents / Christmas Drinking / Groveling', 'summary': "A series of Christmas-themed skits. Ichimatsu takes on the role of a Black Santa interrupting a romantic couple's date, while Karamatsu finds himself on a date with an unfortunate ending.", 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5369401.jpg': ('TVDB/episodes/5369401.jpg', 1, None)}, 'absolute_index': 11}, '10': {'originally_available_at': '2015-12-07', 'title': "Iyami and Chibita's Rental Girlfriend", 'summary': 'Looking to earn some easy money, Iyami and Chibita set up their own "Rental Girlfriend" business, which gets no business due to how ugly they look.', 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5369400.jpg': ('TVDB/episodes/5369400.jpg', 1, None)}, 'absolute_index': 10}, '13': {'originally_available_at': '2016-01-04', 'title': 'Sanematsu-san / Girlymatsu-san / Accident?', 'summary': 'This episode features a down-on-his-luck salaryman named Sanematsu who faces hardships from his co-workers, and imaginary sextuplet brothers.\nAlso, genderbent versions of the Matsuno siblings argue with each other over guys.', 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5369402.jpg': ('TVDB/episodes/5369402.jpg', 1, None)}, 'absolute_index': 13}, '12': {'absolute_index': 12, 'originally_available_at': '2015-12-21', 'summary': 'Recap episode.\nOsomatsu and Totoko host an end-of-the-year special broadcast, looking back on previous episodes.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5446987.jpg': ('TVDB/episodes/5446987.jpg', 1, None)}, 'title': 'Year-End Special-san'}, '15': {'absolute_index': 15, 'originally_available_at': '2016-01-18', 'summary': 'Jyushimatsu goes to a job interview, proving to be a total nuisance for the interviewers, while the Girlymatsu sisters try to pass the time while on vacation.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5476621.jpg': ('TVDB/episodes/5476621.jpg', 1, None)}, 'title': "Interview / The Life of Chibita's Flower"}, '14': {'originally_available_at': '2016-01-11', 'title': "We Caught a Cold / Todomatsu's Line / Choromatsu-sensei", 'summary': "The brothers all catch colds, with whoever's left healthy causing a lot of trouble while trying to take care of the others.", 'directors': 'Yoichi Fujita', 'writers': 'Shu Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5463206.jpg': ('TVDB/episodes/5463206.jpg', 1, None)}, 'absolute_index': 14}, '17': {'absolute_index': 17, 'originally_available_at': '2016-02-01', 'summary': "A series of skits all revolving around Jyushimatsu's odd personality as well as the brothers' view on him.", 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5493232.jpg': ('TVDB/episodes/5493232.jpg', 1, None)}, 'title': 'Jyushimatsu Festival'}, '16': {'absolute_index': 16, 'originally_available_at': '2016-01-25', 'summary': 'In a post-apocalyptic world, the Idol Matsunos battle against Iyami and Dekapan, who are robbing the dry-skinned citizens of all of their lotion.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5476622.jpg': ('TVDB/episodes/5476622.jpg', 1, None)}, 'title': 'Matsuno Matsunan / The Ichimatsu Incident'}, '19': {'absolute_index': 19, 'originally_available_at': '2016-02-15', 'summary': u'The concept of a Hijirisawa Sh\u014dnosuke-san anime quickly gets dropped due to lack of ideas, replaced with a series of skits set during the Sengoku era.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5509607.jpg': ('TVDB/episodes/5509607.jpg', 1, None)}, 'title': 'Hijirisawa Shonosuke-san'}, '18': {'absolute_index': 18, 'originally_available_at': '2016-02-08', 'summary': 'Wanting to become the main protagonist of the franchise again, Iyami holds a bizarre kart race to determine who the protagonist of Osomatsu-san will be.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5503460.jpg': ('TVDB/episodes/5503460.jpg', 1, None)}, 'title': "Girlymatsu-san / Iyami's Counterattack"}}}, '0': {'episodes': {'10': {'absolute_index': 1, 'originally_available_at': '2016-12-13', 'summary': 'New Osomatsu-san special.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5878663.jpg': ('TVDB/episodes/5878663.jpg', 1, None)}, 'title': 'An Anecdote with Horses'}, '1': {'absolute_index': 1, 'originally_available_at': '2016-01-29', 'summary': 'Episode 3.5.', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5440519.jpg': ('TVDB/episodes/5440519.jpg', 1, None)}, 'title': 'Matsu Juice / Virgin Hero'}, '3': {'absolute_index': 1, 'originally_available_at': '2016-02-26', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5507256.jpg': ('TVDB/episodes/5507256.jpg', 1, None)}, 'title': 'Mr. Osomatsu Short Film Series - Osomatsu Blaster'}, '2': {'absolute_index': 1, 'originally_available_at': '2016-01-29', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5507250.jpg': ('TVDB/episodes/5507250.jpg', 1, None)}, 'title': 'Mr. Osomatsu Short Film Series - Word Chain Game'}, '5': {'absolute_index': 1, 'originally_available_at': '2016-04-29', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5507259.jpg': ('TVDB/episodes/5507259.jpg', 1, None)}, 'title': 'Mr. Osomatsu Short Film Series - Robomatsu-san'}, '4': {'absolute_index': 1, 'originally_available_at': '2016-03-25', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5507257.jpg': ('TVDB/episodes/5507257.jpg', 1, None)}, 'title': 'Mr. Osomatsu Short Film Series - Kara & Todo Rhythm'}, '7': {'absolute_index': 1, 'originally_available_at': '2016-06-24', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5507262.jpg': ('TVDB/episodes/5507262.jpg', 1, None)}, 'title': 'Mr. Osomatsu Short Film Series - A Journey On The Seibu-Shinjuku Line'}, '6': {'absolute_index': 1, 'originally_available_at': '2016-05-27', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5507261.jpg': ('TVDB/episodes/5507261.jpg', 1, None)}, 'title': 'Mr. Osomatsu Short Film Series - An Idle Chat'}, '9': {'absolute_index': 1, 'originally_available_at': '2016-08-26', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5507265.jpg': ('TVDB/episodes/5507265.jpg', 1, None)}, 'title': 'Mr. Osomatsu Short Film Series - All Shehs'}, '8': {'absolute_index': 1, 'originally_available_at': '2016-07-29', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/5507263.jpg': ('TVDB/episodes/5507263.jpg', 1, None)}, 'title': 'Mr. Osomatsu Short Film Series - Words and Music'}}}, '2': {'posters': {'http://thetvdb.plexapp.com/banners/seasons/300989-2.jpg': ('TVDB/seasons/300989-2.jpg', 5, None), 'http://thetvdb.plexapp.com/banners/seasons/300989-2-3.jpg': ('TVDB/seasons/300989-2-3.jpg', 2, None), 'http://thetvdb.plexapp.com/banners/seasons/300989-2-2.jpg': ('TVDB/seasons/300989-2-2.jpg', 4, None)}, 'episodes': {'24': {'absolute_index': 49, 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'title': 'Episode 24'}, '25': {'absolute_index': 50, 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'title': 'Episode 25'}, '20': {'absolute_index': 45, 'originally_available_at': '2018-02-20', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'title': 'Tidbits Collection 2'}, '21': {'absolute_index': 46, 'originally_available_at': '2018-02-27', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'title': 'Episode 21'}, '22': {'absolute_index': 47, 'originally_available_at': '2018-03-06', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'title': 'Episode 22'}, '23': {'absolute_index': 48, 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'title': 'Episode 23'}, '1': {'originally_available_at': '2017-10-03', 'title': 'Osomatsu-san Returns', 'summary': "Learning about Mr. Osomatsu's second season, the sextuplets of the past decide to see how they've turned out in the future.", 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/6141707.jpg': ('TVDB/episodes/6141707.jpg', 1, None)}, 'absolute_index': 26}, '3': {'originally_available_at': '2017-10-17', 'title': "Choromatsu and Ichimatsu / Totoko's Challenge", 'summary': u'Being the only two alone in the house, Choromatsu and Ichimatsu struggle to make conversation with each other. Later, Totoko takes part in an eating contest but keeps getting distracted by the brothers getting attention from the celebrity MC, Sh\u014dei.', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/6347373.jpg': ('TVDB/episodes/6347373.jpg', 1, None)}, 'absolute_index': 28}, '2': {'originally_available_at': '2017-10-10', 'title': 'Celebrate! New Employment!! / Super Detergent', 'summary': 'The brothers are pressured by their parents to find a job, the siblings try their hand at internet streaming, only to get flagged for their inappropriate actions. Later, Iyami uses an experimental detergent made by Dekapan to keep his suit clean for a party. However, it ends up getting drunk by the siblings, causing them to turn invisible down to their organs. As a result, they attempt to paint each others bodies, becoming upset that noone notices anything different about them.', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/6347372.jpg': ('TVDB/episodes/6347372.jpg', 1, None)}, 'absolute_index': 27}, '5': {'originally_available_at': '2017-10-31', 'title': 'Osomatsu-san in the Summer', 'summary': "A series of summer-themed skits. Jyushimatsu takes part in radio exercises, Iyami and Chibita try to beat the heat, Todomatsu keeps finding himself exiled by his brothers, Karamatsu tries to inject summer into everyone's lives, and the sextuplets attempt to talk to girls on the beach.", 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/6377354.jpg': ('TVDB/episodes/6377354.jpg', 1, None)}, 'absolute_index': 30}, '4': {'originally_available_at': '2017-10-23', 'title': 'Matsuzou and Matsuyo', 'summary': "Noticing Matsuzou acting strangely, the siblings discover that he is worried that there's not enough spark in his marriage with Matsuyo. Feeling he should return to a more innocent time, the boys give Matsuzou a masterlcass in being a virgin, albeit with no success. Matsuzou inevitably resorts to getting a love potion from Dekapan, but ultimately decides against using it, managing to sort things out with Matsuyo by himself.", 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/6377353.jpg': ('TVDB/episodes/6377353.jpg', 1, None)}, 'absolute_index': 29}, '7': {'originally_available_at': '2017-11-14', 'title': 'Sangokushi-san / Osomatsu and Todomatsu', 'summary': 'In a parody of Romance of the Three Kingdoms, Emperor Osomatsu and a group of bizarre generals attempt to take over the country. Meanwhile, in the real world, Osomatsu joins Todomatsu at a mixer, struggling to keep his perverted instincts in check.', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/6377364.jpg': ('TVDB/episodes/6377364.jpg', 1, None)}, 'absolute_index': 32}, '6': {'originally_available_at': '2017-11-07', 'title': 'Iyami Has Arrived / I Want Friends, Jo', 'summary': 'Iyami goes to sextuplets for help after falling on hard times and Hatabou searches for a friend.', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/6377363.jpg': ('TVDB/episodes/6377363.jpg', 1, None)}, 'absolute_index': 31}, '9': {'originally_available_at': '2017-11-28', 'title': 'Campaign Starting Now! / Arcade Iyami', 'summary': "Ichimatsu struggles to get any sleep with his brothers being noisy all night and refusing to turn off the light. Unable to take anymore, Ichimatsu starts monitoring the brothers' courtesy towards each other, leading Osomatsu to get criticized the most. Later, Iyami proves his skills at the arcades by playing games at their highest difficulty.", 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/6377366.jpg': ('TVDB/episodes/6377366.jpg', 1, None)}, 'absolute_index': 34}, '8': {'originally_available_at': '2017-11-21', 'title': 'Synthesis / Jyushimatsu and the Dolphin / Totoko and Nyaa', 'summary': "Dayon uses Dekapan's latest invention to merge various people together into new beings, with a fiendish end goal in mind. Jyushimatsu becomes determined to get a job at a sea park as an actual dolphin, receiving strict training from a female trainer. Meanwhile, Totoko and Nyaa encounter each other at Chibita's oden stand.", 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/6377365.jpg': ('TVDB/episodes/6377365.jpg', 1, None)}, 'absolute_index': 33}, '11': {'originally_available_at': '2017-12-12', 'title': "Chibita's Revenge", 'summary': 'Already angered over the siblings gambling instead of paying off their oden tab, Chibita vows revenge on them after they pluck out his one-and-only hair. That night, Chibita begins taking out the siblings on by one, shaving all of their hair and stuffing oden in their faces.', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'absolute_index': 36}, '10': {'originally_available_at': '2017-12-05', 'title': 'Karamatsu and Brother / New Employee Totoko / Dubbingmatsu-san', 'summary': 'Karamatsu tries to take on various requests from everyone to look like a reliable brother, only to take on more than he can handle, so Choromatsu tries to teach him how to refuse. Totoko begins working at a company, proving to be a handful for her superior Todomatsu. Later, a pair of seiyuu attend a dubbing session of an episode of Mr. Osomatsu, witnessing how the sextuplets do their work.', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'thumbs': {'http://thetvdb.plexapp.com/banners/episodes/300989/6377367.jpg': ('TVDB/episodes/6377367.jpg', 1, None)}, 'absolute_index': 35}, '13': {'originally_available_at': '2017-12-26', 'title': 'Year-end', 'summary': "A series of end-of-year skits. Osomatsu and Choromatsu try to do one thing that could make them say they had a good year. Ichimatsu gets persuaded to take part in a lottery, Dekapan and Dayon pound mochi together, Hatobou gets pestered by some greedy Jizou statues, Choromatsu sends some untruthful New Years' cards. Todomatsu is fired from the Matsuno family and is forced to try out for a reserve team.", 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'absolute_index': 38}, '12': {'originally_available_at': '2017-12-19', 'title': 'Totoko and Nyaa 3 / The Eitaro Family / Give Them Back / Totoko and Nyaa 4', 'summary': "Jyushimatsu befriends a young boy named Eitarou but gets called in by Eitarou's mother when he starts imitating him. Contrary to Jyushimatsu's fears, however, she asks him to teach Eitarou jokes so he can make friends at school. Later, Dayon steals Dekapan's underwear, forcing him to give chase all over the city while butt naked.", 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'absolute_index': 37}, '15': {'originally_available_at': '2018-01-16', 'title': 'Jar / Karamatsu Taxi / Totty Quiz', 'summary': 'The brothers struggle to remove the lid off of a particularly stubborn jar. Karamatsu runs his own taxi service, proving to have no idea what he is doing when he picks up an office lady. Finally, Totty holds a quiz for his brothers, containing several questions without right answers.', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'absolute_index': 40}, '14': {'originally_available_at': '2018-01-09', 'title': 'Weekly Drama Serial - Sanematsu-san: Episode 9 / UMA Expedition Team / The Choromatsu Incident', 'summary': "Sanematsu wakes up in Osomatsu's world as the seventh Matsuno brother. After spending several weeks of happiness with the siblings, Sanematsu eventually realises it was all a delusion he had been experiencing after ending up in a car accident. Jyushimatsu, Iyami, and Hatabou go on an expedition to find a Super Mongolian Death Worm. Choromatsu changes up his image by dying his hair brown, making it hard for his brothers to tell him that it's doesn't actually make him look cool.", 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'absolute_index': 39}, '17': {'absolute_index': 42, 'originally_available_at': '2018-01-30', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'title': 'Punishment / Inn'}, '16': {'originally_available_at': '2018-01-23', 'title': 'Space Pirates / Gourmet Round / The Cutie Next Door', 'summary': "A group of aliens pursue the legendary space pirate, Shazarr. Displeased with Chibita's oden, Matsuzou serves up his own brand of oden, only for noone to show up. Later, the sextuplets become enamored by their new neighbor, Kinko Inuyama, prompting jealousy from Totoko when they go on a date with Kinko instead of her.", 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'absolute_index': 41}, '19': {'absolute_index': 44, 'originally_available_at': '2018-02-13', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'title': "Ventriloquism / Valentine's Day"}, '18': {'absolute_index': 43, 'originally_available_at': '2018-02-06', 'directors': 'Yoichi Fujita', 'writers': u'Sh\u016b Matsubara', 'title': 'Iyami, Alone in the Wind'}}}}}
-------------------------------------------------------------------------------------------------------------------------------------------------------------
TheMovieDb.GetMetadata() - TVDBid: 300989, TMDbid: , IMDbid: tt4838372
common.LoadFile() - CacheTime: 'Tue Feb 27 13:13:39 2018', Limit: 'Wed Mar  7 15:36:33 2018', url: 'http://api.TheMovieDb.org/3/find/300989?api_key=7f4a0bd0bd3315bb832e17feda70b5cd&external_source=tvdb_id&append_to_response=releases,credits,trailers,external_ids&language=en', Filename: 'TheMovieDb\json\TVDB-300989.json' loaded from cache
common.LoadFile() - CacheTime: 'Mon Feb  5 20:06:28 2018', Limit: 'Fri Mar 30 16:36:33 2018', url: 'http://api.tmdb.org/3/configuration?api_key=7f4a0bd0bd3315bb832e17feda70b5cd', Filename: 'TheMovieDb\TMDB_CONFIG_URL.json' loaded from cache
TheMovieDb.GetMetadata() - TMDbid: '', TSDbid: '71785', IMDbid: 'tt4838372'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
FanartTv.GetMetadata() - movie:'False', TVDBid: '300989', tmdbid: '', imdbid:'tt4838372', season: '0', num: '100'
common.LoadFile() - Filename: '300989.json', Directory: 'FanartTV/tv/300989', url: 'http://webservice.fanart.tv/v3/tv/300989?api_key=cfa9dc054d221b8d107f8411cd20b13f' does not exists in cache
Requesting 'http://webservice.fanart.tv/v3/tv/300989?api_key=cfa9dc054d221b8d107f8411cd20b13f'
LoadFile() - url: 'http://webservice.fanart.tv/v3/tv/300989?api_key=cfa9dc054d221b8d107f8411cd20b13f' loaded
-------------------------------------------------------------------------------------------------------------------------------------------------------------
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/55632425-beta-cachetime-for-tvdb-banners-xml?utm_campaign=plugin&utm_content=tracker%2F679470&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F679470&utm_medium=issues&utm_source=github).
ZeroQI commented 6 years ago

i considered images don't change often. Can you open the posters filename above for each season ? if correct it may take a couple hours to update them if you did loads of tests... Still working on the scanner

sven-7 commented 6 years ago

I suppose they don't, but I imagine with the testing they probably got cleared out and then wouldn't download during points. I may just need to do a full refresh to override.

Edit - but the more and more I look, it only seems I have season 1 posters from TVDB. Will upload logs from the refresh if it continues after.

sven-7 commented 6 years ago

Nope. Mostly no season posters.

sven-7 commented 6 years ago

I deleted the Cache and ran another update for Mr. Osomatsu.

Before doing that, I deleted /DataItems/AnimeLists/ and /DataItems/TheTVDB/ and /DataItems/TVDB/

The metadata seemed to come down. I got the new xml for TVDB and banners.xml. AnimeLists folder was re-created.

HAMA did not make a new /DataItems/TVDB/ folder for the images.

Updated with new logs:
Logs - Mr Osomatsu.zip

ZeroQI commented 6 years ago

"directory absent" is written only once when it creates it otherwise it's 'directory present' could find one occurence in the logs of that message that have 2 updates so look like it worked. xml folders and files created but no images... editing code to save even if in plex database, same thing Checking auto folder creation by recreating the library: episode thumbs create the folder

The plexignore part of the scanner is a piece of weird art if you like coding ;) corrected error for voice actor without pic in thetvdb and uploaded Please test both scanner and agent and report any issues

sven-7 commented 6 years ago

No luck....

In /DataItems/TheTVDB a folder for 'episodes was created not in the /DataItems/TVDB/ that was there before. That still has not been created.

All seasons are currently still displaying Season 1 posters.

screen shot 2018-03-01 at 3 50 37 pm

_Logs.zip

ZeroQI commented 6 years ago

i moved folders from TVDB to TheTVDB by the way...

id: tvdb2-291630, title: The Heroic Legend of Arslan (2015), lang: en, force: True, movie: False Season 1: [=] posters ( 5) Sources: tvdb4, (TheTVDB), TheMovieDb, FanartTV, AniDB Type: dict Value: '{'http://thetvdb.plexapp.com/banners/seasons/291630-1-4.jpg': ('TheTVDB/seasons/291630-1-4.jpg', 5, None), 'http://thetvdb.plexapp.com/banners/seasons/291630-1-3.jpg': ('TheTVDB/seasons/291630-1-3.jpg', 3, None), 'http://thetvdb.plexapp.com/banners/seasons/291630-1.jpg': ('TheTVDB/seasons/291630-1.jpg', 8, None), 'http://thetvdb.plexapp.com/banners/seasons/291630-1-2.jpg': ('TheTVDB/seasons/291630-1-2.jpg', 4, None), 'http://thetvdb.plexapp.com/banners/seasons/291630-1-5.jpg': ('TheTVDB/seasons/291630-1-5.jpg', 59, None)}' Season 2: [=] posters ( 5) Sources: tvdb4, (TheTVDB), TheMovieDb, FanartTV, AniDB Type: dict Value: '{'http://thetvdb.plexapp.com/banners/seasons/291630-1-4.jpg': ('TheTVDB/seasons/291630-1-4.jpg', 5, None), 'http://thetvdb.plexapp.com/banners/seasons/291630-1-3.jpg': ('TheTVDB/seasons/291630-1-3.jpg', 3, None), 'http://thetvdb.plexapp.com/banners/seasons/291630-1.jpg': ('TheTVDB/seasons/291630-1.jpg', 8, None), 'http://thetvdb.plexapp.com/banners/seasons/291630-1-2.jpg': ('TheTVDB/seasons/291630-1-2.jpg', 4, None), 'http://thetvdb.plexapp.com/banners/seasons/291630-1-5.jpg': ('TheTVDB/seasons/291630-1-5.jpg', 59, None)}' common.LoadFile() - Filename: '291630.banners.xml', Directory: 'TheTVDB\xml\banners', url: 'http://thetvdb.com/api/A27AD9BE0DA63333/series/291630/banners.xml' does not exists in cache

Yes there's an issue but it's in TheTVDB metadata... '2': {'posters': {'http://thetvdb.plexapp.com/banners/seasons/291630-2-3.jpg': ('TheTVDB/seasons/291630-2-3.jpg', 6, None), 'http://thetvdb.plexapp.com/banners/seasons/291630-2-4.jpg': ('TheTVDB/seasons/291630-2-4.jpg', 2, None)},

mapping issue it seems, revert to tvdb season 1, eps look ok... looking into it

ZeroQI commented 6 years ago

Fixed the posters at last, please test Needed to do the plex dance but after re-creating the library it fixed the season posters

sven-7 commented 6 years ago

Seems to be working for me as well! I'll Plex dance stuff over the next day to see if I run into anything. Otherwise, it's looking really smooth.

FYI - TVDB4 posters are still writing to DataItems/TVDB. The others all seem to be inside TheTVDB now.

ZeroQI commented 6 years ago

That was fixed although maybe only on my local code I found a trailer agent i could modify easily for Plex movie libraries https://github.com/piplongrun/TrailerAddict.bundle/blob/master/Contents/Code/__init__.py https://www.traileraddict.com/trailerapi

Anything else needs fixing?