Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

fanart update

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


finlay at moeraki

Nov 5, 2009, 10:19 AM

Post #1 of 8 (1255 views)
Permalink
fanart update

I just started using mythbuntu 9.10 and was wondering if I need to do
anything to have the fanart updated automatically. Currently it seems
that a number of series have fanart but several others don't. I'm
guessing that jamu was used to populate the fanart directory at some
point but I can't figure out if that needs to be done manually or
whether the auto update isn't working. I read the wiki jamu entry but
that didn't help.

Can someone who knows about the mythbuntu fanart updating explain how
this works and what the setup should be for auto updating?

Thanks

John
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


r.d.vaughan at rogers

Nov 5, 2009, 11:49 AM

Post #2 of 8 (1229 views)
Permalink
Re: fanart update [In reply to]

John,
Mythbuntu 9.10 has a few Jamu cron jobs set up at installation.
Specifically for MythVideo there is a maintenance cron job that runs
once a week. Both MythVideo and Jamu require a video to have a TVDB/IMDB
number. The only way you are going to get value from the maintenance
cron job is if you update your MythVideo collection's TVDB/IMDB numbers.

You can get the required TVDB/IMDB numbers either through MythVideo
"w" key which triggers getting metadata including graphics on a per
video file bases or running from a terminal a Jamu interactive session
(e.g. ./jamu -MIV). See: http://www.mythtv.org/wiki/Jamu#Mass_Updates

The Jamu interactive session parses your video file names and either
guesses what the video is or it will prompt you with a list of possible
matches from which you select the correct movie or TV Series. This is a
mass update of all your videos and is generally only done once. After
that when you add a new video file you do a MythVideo scan and then use
the "w" metadata download for the new video.

The other Mythbuntu Jamu cron jobs are a weekly clean up of orphaned
graphics and every hour a download of graphics for your Scheduled and
Recorded programs. Only missing graphics will be downloaded. These
graphics will show in the Watch Recordings screen with some of the new
themes.

I hope this helps

Doug
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


finlay at moeraki

Nov 5, 2009, 8:29 PM

Post #3 of 8 (1223 views)
Permalink
Re: fanart update [In reply to]

Doug Vaughan wrote:
> John,
> Mythbuntu 9.10 has a few Jamu cron jobs set up at installation.
> Specifically for MythVideo there is a maintenance cron job that runs
> once a week. Both MythVideo and Jamu require a video to have a
> TVDB/IMDB number. The only way you are going to get value from the
> maintenance cron job is if you update your MythVideo collection's
> TVDB/IMDB numbers.
>
> You can get the required TVDB/IMDB numbers either through MythVideo
> "w" key which triggers getting metadata including graphics on a per
> video file bases or running from a terminal a Jamu interactive session
> (e.g. ./jamu -MIV). See: http://www.mythtv.org/wiki/Jamu#Mass_Updates
>
> The Jamu interactive session parses your video file names and
> either guesses what the video is or it will prompt you with a list of
> possible matches from which you select the correct movie or TV Series.
> This is a mass update of all your videos and is generally only done
> once. After that when you add a new video file you do a MythVideo scan
> and then use the "w" metadata download for the new video.
>
> The other Mythbuntu Jamu cron jobs are a weekly clean up of
> orphaned graphics and every hour a download of graphics for your
> Scheduled and Recorded programs. Only missing graphics will be
> downloaded. These graphics will show in the Watch Recordings screen
> with some of the new themes.
>
Thanks Doug.

I found the cron jobs and the log file they write to. The jamu jobs were
failing because the config.xml file in the mythtv user's home directory
had the wrong dbhost name.

John
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jarpublic at gmail

Nov 7, 2009, 11:19 AM

Post #4 of 8 (1204 views)
Permalink
Re: fanart update [In reply to]

>>   Mythbuntu 9.10 has a few Jamu cron jobs set up at installation.
>> Specifically for MythVideo there is a maintenance cron job that runs once a
>> week.

<Snip>

>>   The other Mythbuntu Jamu cron jobs are a weekly clean up of orphaned
>> graphics and every hour a download of graphics for your Scheduled and
>> Recorded programs. Only missing graphics will be downloaded. These graphics
>> will show in the Watch Recordings screen with some of the new themes.

> I found the cron jobs and the log file they write to. The jamu jobs were
> failing because the config.xml file in the mythtv user's home directory had
> the wrong dbhost name.

I just upgraded mythbuntu from 9.04 to 9.10 and I don't see any jamu
cron jobs setup. Does this only happen during a clean install?
Where/how are the jobs setup exactly? I would like to mirror this
method on my system. I know I can go through and figure it out
manually but if there is a convenient way I could just copy the jobs
over that would be great.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


r.d.vaughan at rogers

Nov 7, 2009, 12:20 PM

Post #5 of 8 (1193 views)
Permalink
Re: fanart update [In reply to]

Johnny,
With Mythbuntu you would find a log file from a Jamu cron job in
"/var/log/mythtv/jamu.log". You also may get better answers in the IRC
Channel #ubuntu-mythtv

Doug
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jarpublic at gmail

Nov 7, 2009, 12:38 PM

Post #6 of 8 (1198 views)
Permalink
Re: fanart update [In reply to]

> Johnny,
>   With Mythbuntu you would find a log file from a Jamu cron job in
> "/var/log/mythtv/jamu.log". You also may get better answers in the IRC
> Channel #ubuntu-mythtv

Yeah I don't have a jamu.log file, but I checked
/etc/cron.daily|cron.hourly|cron.d and I don't see jobs in any of
those places. So I guess mythbuntu only sets it up on clean installs.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


fatgerman at ntlworld

Nov 7, 2009, 12:48 PM

Post #7 of 8 (1192 views)
Permalink
Re: fanart update [In reply to]

On Saturday 07 Nov 2009 19:19:58 Johnny wrote:
> >> Mythbuntu 9.10 has a few Jamu cron jobs set up at installation.
> >> Specifically for MythVideo there is a maintenance cron job that runs once a
> >> week.
>
> <Snip>
>
> >> The other Mythbuntu Jamu cron jobs are a weekly clean up of orphaned
> >> graphics and every hour a download of graphics for your Scheduled and
> >> Recorded programs. Only missing graphics will be downloaded. These graphics
> >> will show in the Watch Recordings screen with some of the new themes.
>
> > I found the cron jobs and the log file they write to. The jamu jobs were
> > failing because the config.xml file in the mythtv user's home directory had
> > the wrong dbhost name.
>
> I just upgraded mythbuntu from 9.04 to 9.10 and I don't see any jamu
> cron jobs setup. Does this only happen during a clean install?
> Where/how are the jobs setup exactly? I would like to mirror this
> method on my system. I know I can go through and figure it out
> manually but if there is a convenient way I could just copy the jobs
> over that would be great.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

My mythbuntu clean install has jamu jobs setup correctly.

Edit /home/mythtv/.mythtv/jamu.conf according to the instructions on the mythtv wiki. If you don't have one I can let you have mine.

My cron jobs are:

/etc/cron.hourly/mythvideo
#!/bin/sh
#Hourly massive update to ensure users see graphics coming in for upcoming recordings and current recordings
DIRECTORY=$(grep ^mythtv /etc/passwd | awk -F : '{print $6}')
if [ -f "$DIRECTORY/.mythtv/config.xml" ]; then
su mythtv -c "/usr/bin/python /usr/share/mythtv/mythvideo/scripts/jamu.py -MW >> '/var/log/mythtv/jamu.log'"
fi

/etc/cron.daily/mythvideo
#!/bin/sh
#Daily maintenance mode for Jamu
DIRECTORY=$(grep ^mythtv /etc/passwd | awk -F : '{print $6}')
if [ -f "$DIRECTORY/.mythtv/config.xml" ]; then
su mythtv -c "/usr/bin/python /usr/share/mythtv/mythvideo/scripts/jamu.py -M >> '/var/log/mythtv/jamu.log'"
fi

/etc/cron.weekly/mythvideo
#!/bin/sh
#Janitor mode to clean up stale stuff
DIRECTORY=$(grep ^mythtv /etc/passwd | awk -F : '{print $6}')
if [ -f "$DIRECTORY/.mythtv/config.xml" ]; then
su mythtv -c "/usr/bin/python /usr/share/mythtv/mythvideo/scripts/jamu.py -MJ >> '/var/log/mythtv/jamu.log'"
fi

HTH

Mark

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jarpublic at gmail

Nov 7, 2009, 1:22 PM

Post #8 of 8 (1206 views)
Permalink
Re: fanart update [In reply to]

>
> My mythbuntu clean install has jamu jobs setup correctly.
>
> Edit /home/mythtv/.mythtv/jamu.conf according to the instructions on the mythtv wiki. If you don't have one I can let you have mine.

Thanks for posting these. I have a jamu.conf and have run some
interactive sessions. But I wanted to set up the cron jobs properly
with logging, etc. Thanks again.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.