[mythtv-users] videoscan metadata artwork problem

Paul Harrison mythtv at mythqml.net
Tue Aug 22 12:31:21 UTC 2023


On 22/08/2023 10:29, Stephen Worthington wrote:

> On Tue, 22 Aug 2023 08:35:54 +0100, you wrote:
>
>> On Mon, 21 Aug 2023 at 23:21, Hika van den Hoven <hikavdh at gmail.com> wrote:
>>
>>> Hoi David,
>>>
>>> Monday, August 21, 2023, 11:22:36 PM, you wrote:
>>>
>>>> Hi,
>>>> I'm running a combined backend/frontend with a bunch of old
>>>> orphaned recordings on it which I've moved to video storage.
>>>
>>>> With some help from this list I've got the filenames set so that
>>>> mythutil --scanvideos does a pretty good job of finding the correct
>>> metadata.
>>>
>>>
>>>> However I'm not seeing any pretty artwork.
>>>
>>>> mythutil is downloading good artwork jpg's into the following
>>> directories:
>>>
>>>
>>>> /home/mythtv/.mythtv/Video/Artwork/<filename>
>>>> /home/mythtv/.mythtv/Video/FanArt
>>>> /home/mythtv/.mythtv/Video/Screenshots
>>>
>>>> but in the videometadata table it is setting the path to each file as:
>>>
>>>> home/mythtv/.mythtv/Video/Artwork/<filename>
>>>
>>>> That is, it's missing the leading '/'.
>>>
>>>> If I manually add the '/' to each entry in the database then the
>>>> artwork is displayed correctly - but that's not a very workable
>>> workaround.
>>>
>>>
>>>> Do I have a configuration error?
>>>
>>>> I should point out that I'm running a early version of 0.32, pre
>>>> most of the fixes, so it's quite possible I have a version with a
>>>> bug in it (in which case I accept responsibiity for the error)
>>>
>>>> I just want to make sure I'm not doing something stupid (apart from
>>> running a non-production version)
>>>
>>>
>>>> Thanks
>>> Have you checked the directory definitions in the storage groups? Could
>>> there the leading backslash be missing?
>>>
>>> Tot mails,
>>>    Hika                            mailto:hikavdh at gmail.com
>>>
>> Hi HIka,
>>
>> I did check that.  There were no metadata storage groups defined.
>>
>> I don't see why they would be necessary on a standalone, combined
>> front/backend but I did create a couple (for Artwork and Screenshots)
>> without it making a difference.  In fact it didn't seem to have any effect
>> at all so maybe I did something wrong - a bit more work needed there before
>> I give up on that front.
>>
>> I'm thinking that the backend doesn't need the  '/'  (because it's
>> downloading the artwork to the correct place), but the frontend does
>> (because it can't find them there).
>>
>> I'll futz around for a bit longer and if I don't get anywhere I'll need to
>> consider whether this is worth an upgrade.
>>
>> I'm guessing the frontend might be looking in
>>
>> /home/mythtv/.mythtv/home/mythtv/.mythtv/Video/...    so maybe I can just
>> copy the artwork to there?
>>
>> Thanks
>> D
> I would suggest creating the storage groups and see if that fixes it.
> You should have:
>
> Banners
> Coverart
> Fanart
> Trailers
> Videos
>
> MythTV does have builtin defaults for these, but there may be a bug in
> them as they are not normally used because a standard database will
> have all the above storage groups defined.  In Ubuntu, they are set to
> /var/lib/mythtv/<storagegroup name> and I suspect they are rarely
> changed except for the Videos one.


One thing you need to be careful off is having both storage groups (set 
in mythtv-setup) and the old legacy video directory settings (set in the 
General Settings in the FE) active at the same time. You need to choose 
which one you want and stick with it. The recommendation is to use 
storage groups and everything should just work  even on all your remote 
FE's.


Paul H.



More information about the mythtv-users mailing list