[mythtv-users] Two files after transcoding

Hika van den Hoven hikavdh at gmail.com
Sun Mar 16 23:34:06 UTC 2014


Hoi Daryl,

Monday, March 17, 2014, 12:14:32 AM, you wrote:

> On Sun, Mar 16, 2014 at 7:03 PM, Thomas Boehm
> <mythtv-users at lists.boehmi.net> wrote:
>> On 16/03/14 22:29, Daryl McDonald wrote:
>>> On Sun, Mar 16, 2014 at 5:56 PM, Thomas Boehm
>>> <mythtv-users at lists.boehmi.net> wrote:
>>>> On 16/03/14 21:16, Daryl McDonald wrote:
>>>>> I just tallied up the "old" files and there are 262 GB's of them. Can
>>>>> anyone tell me the myth sanctioned way to free up this space?
>>>>
>>>> I think the find_orphans.py script should find and offer to delete them.
>>>
>>> I'm not so sure they're orphans, they are original recordings that
>>> have been transcoded and kept due to not un-checking the box in set-up
>>> "Save original files after transcoding
>>> (globally)"., and then marked as "old" in the mythtv/recordings file.
>>> I could manually delete them, but not wanting to create orphans, I
>>> await the wisdom of this list for experienced direction.   Thanks in
>>> advance   Daryl
>>
>> If "marked as old" means that they are renamed to *.old, then *they are*
>> orphans for MyhTV. Can you please run the script? It will not delete
>> anything before you confirm it.
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org

> Here is the result of the script:

> Recordings with missing files
>   daryl-A780L3C: News (Manual Record) - 2013-12-11 18:00:00
>       1261_20131211225700.mpg

>            Count:           1
> Zero byte recordings
>   daryl-A780L3C: Unknown
>       5281_20130609200333.mpg

>            Count:           1
> Database backups
>   daryl-a780l3c:
> /var/lib/mythtv/db_backups/mythconverg-1317-20140216100312.sql.gz
>       22.5MB
>   daryl-a780l3c:
> /var/lib/mythtv/db_backups/mythconverg-1317-20140223034135.sql.gz
>       22.4MB
>   daryl-a780l3c:
> /var/lib/mythtv/db_backups/mythconverg-1317-20140302134718.sql.gz
>       19.0MB
>   daryl-a780l3c:
> /var/lib/mythtv/db_backups/mythconverg-1317-20140309154953.sql.gz
>       24.8MB
>   daryl-a780l3c:
> /var/lib/mythtv/db_backups/mythconverg-1317-20140316061853.sql.gz
>       26.4MB

>            Total:     115.0MB
> Other files
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/1021_20140202233000.mpg.old
>       22.0GB
>   daryl-a780l3c: /var/lib/mythtv/recordings/1022_20130605151500
>                         0.0B
>   daryl-a780l3c: /var/lib/mythtv/recordings/1042_20130608160000
>                         0.0B
>   daryl-a780l3c: /var/lib/mythtv/recordings/1073_20130605213000
>                         0.0B
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/1091_20131209010000.mpg.old
>       15.3GB
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/1091_20131228010000.mpg.old
>       15.3GB
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/1621_20131113030100.mpg.old
>        8.1GB
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/1621_20140301030000.mpg.old
>        8.2GB
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/2010_20130929210000.mpg.old
>      104.5MB
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/2010_20130929210600.mpg.old
>        4.4GB
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/2013_20140128030000.mpg.old
>        2.3GB
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/2033_20131120040000.mpg.old
>        3.5GB
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/2045_20140111020000.mpg.old
>        4.7GB
>   daryl-a780l3c: /var/lib/mythtv/recordings/2046_20130613090000
>                         0.0B
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/2051_20140126030000.mpg.old
>        7.6GB
>   daryl-a780l3c: /var/lib/mythtv/recordings/2406_20130624090000
>                         0.0B
>   daryl-a780l3c: /var/lib/mythtv/recordings/2961_20130622221000
>                         0.0B
>   daryl-a780l3c: /var/lib/mythtv/recordings/3196_20130629210000
>                         0.0B
>   daryl-a780l3c: /var/lib/mythtv/recordings/3197_20130616200000
>                         0.0B
>   daryl-a780l3c: /var/lib/mythtv/recordings/3197_20130630200000
>                         0.0B
>   daryl-a780l3c:
> /var/lib/mythtv/recordings/3247_20140301010000.mpg.old
>      795.8MB
>   daryl-a780l3c: /var/lib/mythtv/recordings/4981_20130609210000
>                         0.0B

>            Total:      92.4GB
> Please select from the following
>  1. Delete orphaned recording entries
>  2. Delete zero byte recordings
>  3. Delete other files
>  4. Refresh list

> So now I should go ahead with all four of these options? Yes?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

That is a lot less then the 262Gb you mentioned earlier?
Also check if the exists both as .old and original. Maybe it mentions
only files that only exists as .old and not as the original, maybe
because transcoding failed?
I still doubt that still existing .old files with a successful
replacement are kept in the database.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens
--



More information about the mythtv-users mailing list