<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 9 February 2017 at 10:58, Michael Wisniewski <span dir="ltr"><<a href="mailto:mikewiz38@gmail.com" target="_blank">mikewiz38@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">On Wed, Feb 8, 2017 at 4:56 PM, Anthony Giggins <span dir="ltr"><<a href="mailto:seven@seven.dorksville.net" target="_blank">seven@seven.dorksville.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-m_-3031056886885834568gmail-h5">On 9 February 2017 at 08:19, Michael Wisniewski <span dir="ltr"><<a href="mailto:mikewiz38@gmail.com" target="_blank">mikewiz38@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div>I'm missing some information about TV Season and Episode numbers in Myth and decided to do a bit of research into why.  It looks like you would run...</div><div><br></div><div>$ mythmetadatalookup --refresh-all</div><div><br></div><div>In order to fill in this information.  But there are still some recordings that do not fill the information in, but yet it exists in tvdb.  When exploring this a bit further, I get a lot of output from the command, but this one little snip is of interest.  It looks like it executes this:</div><div><br></div><div><div>2017-02-08 16:12:27.926741 I  Running Grabber: /usr/share/mythtv/metadata/Tel<wbr>evision/ttvdb.py -l en -a US -N 272472 Pups Save a Blimp; Pups Save a Chili Cook-Out</div><div>2017-02-08 16:12:28.325963 I  Running Grabber: /usr/share/mythtv/metadata/Tel<wbr>evision/ttvdb.py -l en -a US -C 272472</div><div>2017-02-08 16:12:28.576924 I  Result Found, Season 0 Episode 0</div><div>2017-02-08 16:12:28.576983 I  Returning Metadata Results: PAW Patrol 0 0</div></div><div><br></div><div>If I look the information up in tvdb, it is definitely in there as "Paw Patrol" S04xE01 and S04xE02, but mythmetadatalookup says it returns 0.  </div><div><br></div><div>So then, I try to execute the ttvdb command...</div><div><br></div><div>$ /usr/share/mythtv/metadata/Tel<wbr>evision/ttvdb.py -r -i -N 272472 "Pups Save a Blimp"<br></div><div><br></div><div>And the information it returns back is 'returned zero results'.  I thought it was a bit strange, so I substitute the series id (272472) with the series name, and I am starting to get some information back.  For example...</div><div><br></div><div>/usr/share/mythtv/metadata/Tel<wbr>evision/ttvdb.py -r -i -N "Paw Patrol" "Pups Save a Blimp"<br></div><div><br></div><div>This will then return information about the particular episode.</div><div><br></div><div>Now "Paw Patrol" may be a bad example because the half hour(?) show has two episodes in it, so the recording will place a semi-colon to separate the two.  But, this is happening on more episodes than just this one.  </div><div><br></div><div>I think what the problem is that ttvdb searches on the tvdb series ID instead of the name.  I was wondering if anybody was having a similar experience or if this is a known issue...or something that I'm doing wrong.</div><div><br></div><div>Thanks!</div><div><br></div></div></blockquote><div><br></div></div></div><div>This is Correct, Mythtv and ttvdb have no concept of double episodes, the usual response is this should be corrected at the Listing/EPG provider, </div><div>I had put some thought into writing a script to be run from a userjob to split double episodes but I haven't progressed from there</div></div><br></div><div class="gmail_extra">although that being sent there is some error in the command your running as this works for me</div><span class="gmail-m_-3031056886885834568gmail-"><div class="gmail_extra"><br></div><div class="gmail_extra">/usr/share/mythtv/metadata/Tel<wbr>evision/ttvdb.py -l en -a US -N 272472 "Pups Save a Blimp"<br></div></span><div class="gmail_extra">Rather then what you ran</div><span class="gmail-m_-3031056886885834568gmail-"><div class="gmail_extra">/usr/share/mythtv/metadata/Tel<wbr>evision/ttvdb.py -r -i -N 272472 "Pups Save a Blimp"<br></div><div class="gmail_extra"><br></div></span><div class="gmail_extra"><br></div></div></blockquote><div><br></div></span><div>I think I might be onto something and you just confirmed it.  It looks like the majority of episodes that I'm having issues with are double episodes, so I think that might be the problem.  </div><div><br></div><div>When I run the below command, it still doesn't find the episode....however, to be fair, tvdb lists it as two episodes, but the query it's submitting is only one.  Maybe if it returns two episodes from tvdb, it doesn't fill the episode number in?  </div><div><br></div><div>$ /usr/share/mythtv/metadata/<wbr>Television/ttvdb.py -r -l en -a US -N <a href="tel:13%2069%2041" value="+61136941" target="_blank">136941</a> "Ben & Holly's Christmas"</div><div>====================</div><div>Raw Series Data:</div><div><br></div><div>Traceback (most recent call last):</div><div>  File "/usr/share/mythtv/metadata/<wbr>Television/ttvdb.py", line 1575, in <module></div><div>    main()</div><div>  File "/usr/share/mythtv/metadata/<wbr>Television/ttvdb.py", line 1394, in main</div><div>    seriesfound=searchseries(t, opts, x)</div><div>  File "/usr/share/mythtv/metadata/<wbr>Television/ttvdb.py", line 656, in searchseries</div><div>    print t[ series_name ]</div><div>  File "/usr/lib/python2.7/dist-<wbr>packages/MythTV/ttvdb/tvdb_<wbr>api.py", line 830, in __getitem__</div><div>    sid = self._nameToSid(key)</div><div>  File "/usr/lib/python2.7/dist-<wbr>packages/MythTV/ttvdb/tvdb_<wbr>api.py", line 809, in _nameToSid</div><div>    selected_series = self._getSeries( name )</div><div>  File "/usr/lib/python2.7/dist-<wbr>packages/MythTV/ttvdb/tvdb_<wbr>api.py", line 555, in _getSeries</div><div>    raise tvdb_shownotfound("Show-name search returned zero results (cannot find show on TVDB)")</div><div>MythTV.ttvdb.tvdb_exceptions.<wbr>tvdb_shownotfound: Show-name search returned zero results (cannot find show on TVDB)</div><div><br></div><div> Thanks for the response!</div></div></div></div>
<br><br></blockquote><div>Yeah that's typical if there are two results no season/episode data is returned. although it appears you get the same Traceback errors when using the -r switch on working episodes ie.</div><div><br></div><div>/usr/share/mythtv/metadata/Television/ttvdb.py -l en -a US -N 136941 "Ben and Holly's Christmas (1)"<br></div><div>Verses</div><div>/usr/share/mythtv/metadata/Television/ttvdb.py -r -l en -a US -N 136941 "Ben and Holly's Christmas (1)"<br></div><div><br></div><div>Cheers,</div><div><br></div><div>Anthony</div></div><br></div></div>