[mythtv-users] Previous recordings have disappeared

Darby Vicker darby.vicker at gmail.com
Wed Jan 30 05:57:39 UTC 2019


On Tue, Jan 29, 2019 at 9:48 PM Darby Vicker <darby.vicker at gmail.com> wrote:
>
> > Right, those messages (which have been improved in v30.0) just mean
> > that your hostname will be used, not overridden from config.xml.
> > Expect to see then on every startup of the BE/FE.
> >
> >  From your favorite browser, see if this shows all your recordings:
> >
> >      http://yourBackendIPorHostname:6544/Dvr/GetRecordedList
> >      http://yourBackendIPorHostname:6544/Myth/GetHostName
> >
> > If a list of recordings is returned, contents of <HostName>...</HostName>
> > should match the output of the GetHostName.
> >
> > A full log is preferred. Start your frontend, attempt to look at your
> > recordings (which we know fails) and then exit the frontend.
> >
> > Next, look in mythfrontend.log and find the very last line that looks
> > similar to this:
> >
> >    mythfrontend version: master [v31-Pre-21-ge961d05aa1] www.mythtv.org
> >
> > Copy from that line to the end of the file and put in in pastebin.com.
> > Put a link to that pastebin here.  Sometimes others can spot something
> > in the log that will help. We may want to repeat this for mythbackend.log.
>
> Progress!  The first URL returns a list of the recordings, but this is
> at the top:
>
> This page contains the following errors:
> error on line 1 at column 256491: Char 0x0 out of allowed range
> Below is a rendering of the page up to the first error.
>
> What follows that is a very long list of unformatted text.  Here is
> the last part of that:
>
> and Martin set out to learn everything they can about grasshoppers and
> their jumping powers.ttvdb.py_2168515101081#1081#1081#108100000000000falsetrue-302018-06-15T12:00:00Z2018-06-15T12:30:00Z17DefaultDefaultDefault0000Default2018-06-15T12:30:00Z2018-06-15T13:00:00ZWild
> KrattsBlue HeronChildrenfalse1911EP01345188EP013451880146020775107322018-06-15T13:00:12Z11081_20180615123000.mpgc62018-06-15Chris
> and Martin discover the abilities of the blue
> heron.ttvdb.py_216851001081#1081#1081#108100000000000falsetrue-302018-06-15T12:30:00Z2018-06-15T13:00:01Z17DefaultDefaultDefault0000Default2018-06-15T13:00:00Z2018-06-15T13:30:00ZWild
> KrattsChoose Your
> SwordfishChildrenfalse1911EP01345188EP013451880140020779865602018-06-15T13:30:13Z11081_20180615130000.mpgc6Martin
> and Chris must choose a sword when Aviva challenges them to a fencing
> duel, which leads them on a mission to explore the world of
> billfish.ttvdb.py_216851001081#1081#1081#108100000000000falsetrue-302018-06-15T13:00:00Z2018-06-15T13:30:01Z17DefaultDefaultDefault0000Default2018-06-15T13:30:00Z2018-06-15T14:00:00ZWild
> KrattsKomodo DragonChildrenfalse1911EP01345188EP013451880141021308807362018-06-15T14:00:11Z11081_20180615133000.mpgc6Martin
> and Chris follow Gourmand to the island of Komodo, home of the world's
> largest lizard -- the Komodo
> dragon.ttvdb.py_216851001081#1081#1081#108100000000000falsetrue-302018-06-15T13:30:00Z2018-06-15T14:00:01Z17DefaultDefaultDefault0000Default2018-08-11T13:30:00Z2018-08-11T14:00:00ZDog
> Whisperer With Cesar Millan: Family
> EditionRealitytrue1991SH019349780000028862282642018-08-11T14:00:11Z40971391_20180811133000.mpgc62014-10-04The
> canine behaviorist travels around the country helping families and
> their dogs.ttvdb.py_29940400139139_1CTN-HD
>
> So it looks like an episode of Cesar Millan is causing the problem?
>
> I mentioned in my last post that I'm not getting any frontend logs.
> If you still want to see that, I'd be glad to, but let me know how to
> enable them.
>
> The 2nd URL (gethostname) does match the host name of the machine.
>
> Darby

Actually, I'm not so confident that episode is the problem.  After
looking at this closer, I think that episode was recorded on
2018-08-11 - again, before I was having a problem.  But I figured I'd
try to delete it anyway to see if that helped.  I remembered using the
"delete_recordings.py" script before - so I tried it.

[root at c6 ~]# python delete_recordings.py --title='Dog Whisperer With
Cesar Millan: Family Edition'
/usr/lib/python2.6/site-packages/MythTV/dataheap.py:63:
DeprecationWarning: object.__new__() takes no parameters
  return super(Artwork, cls).__new__(cls, attr, parent, imagetype)
Below is a list of matching recordings:
  0. [2018-09-08T06:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Koolie & the Gang
  1. [2018-09-08T07:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Learning to Fly
  2. [2018-08-11T06:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition -
  3. [2018-08-11T07:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition -
  4. [2018-08-11T07:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition -
  5. [2018-08-18T06:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Hyperactive Husky
  6. [2018-08-18T06:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Dog on Wire
  7. [2018-08-18T07:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - London Calling
  8. [2018-08-18T07:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Dodgey Doberman
  9. [2018-08-25T06:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Oscar's New Script
  10. [2018-08-25T06:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Sir Barks-a-lot
  11. [2018-08-25T07:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Sad, Sad Leroy Brown
  12. [2018-09-01T06:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Dog Paddle
  13. [2018-09-01T06:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Screaming Mimi
  14. [2018-09-01T07:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Tempestuous Teacup
  15. [2018-09-01T07:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Mobile Vet
  16. [2018-09-08T06:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Host and Carrier
  17. [2018-09-08T07:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Scaredy Pups
  18. [2018-09-15T06:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Pool Party
  19. [2018-09-15T06:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Downtown Doggy
  20. [2018-09-15T07:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Optimus Primed
  21. [2018-09-15T07:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Four's Company
  22. [2018-09-22T06:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Fuzzy Monster Truck
  23. [2018-09-22T06:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Walk This Way
  24. [2018-09-22T07:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Marley Wailing
  25. [2018-09-22T07:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Hungry, Hungry, Fido
  26. [2018-09-29T06:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Bad to the Bone
  27. [2018-09-29T06:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Snarling Snickers
  28. [2018-09-29T07:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Delta Blues
  29. [2018-09-29T07:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition - Basic Training
>

That's just a list - it is interesting that the 2018-08-11 recordings
don't have a title listed.  I don't know if that is significant.  But
I tried to delete those:

[root at c6 ~]# python delete_recordings.py --title='Dog Whisperer With
Cesar Millan: Family Edition' --newerthan=2018-08-10T00:00:00
--olderthan=2018-08-12T00:00:00
/usr/lib/python2.6/site-packages/MythTV/dataheap.py:63:
DeprecationWarning: object.__new__() takes no parameters
  return super(Artwork, cls).__new__(cls, attr, parent, imagetype)
Below is a list of matching recordings:
  0. [2018-08-11T06:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition -
  1. [2018-08-11T07:00:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition -
  2. [2018-08-11T07:30:00-07:00] Dog Whisperer With Cesar Millan:
Family Edition -
> ok
Traceback (most recent call last):
  File "delete_recordings.py", line 81, in <module>
    rec.delete()
  File "/usr/lib/python2.6/site-packages/MythTV/dataheap.py", line
363, in delete
    return self.getProgram().delete(force, rerecord)
  File "/usr/lib/python2.6/site-packages/MythTV/mythproto.py", line
956, in delete
    res = int(be.deleteRecording(self, force=force))
ValueError: invalid literal for int() with base 10: ''
[root at c6 ~]#

So unfortunately, this python script doesn't seem to be working.  Not
sure where to go from here - still would appreciate other suggestions.


More information about the mythtv-users mailing list