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

Mailing List Archive: MythTV: Users

Jamu and wath recordings

 

 

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


guillaume.ml at gmail

Nov 19, 2009, 4:54 AM

Post #1 of 14 (1432 views)
Permalink
Jamu and wath recordings

Hello

I've tried JAMU and it excellent but I have some minor issues :
When running in interactive mode, the is a lack of information about
the current recording it is running on :
for eg
$ /usr/bin/python /usr/share/mythtv/mythvideo/scripts/jamu.py
--selected_data=F -l fr -MWiV
All Graphics already downloaded for [South Park]
1 -> A Matter of Life and Death (1946) # http://www.imdb.com/title/tt0038733
2 -> A Question of Sport (1970) # http://www.imdb.com/title/tt0239185
[...]
18 -> Un taôn et une question (1997) # http://www.imdb.com/title/tt0162723
19 -> Une affaire de goût (2000) # http://www.imdb.com/title/tt0217119
20 -> Waiting to Pop the Question (2008) # http://www.imdb.com/title/tt1357544
Direct search of IMDB #
http://www.imdb.com/find?s=all&q=Question+maison+%282009%29&x=0&y=0
Enter choice ("Enter" key equals first selection (1)) or input the
IMDB # directly, ? for help):

I don't know on which recording it is working on but I suspect it is
"Question maison" based on the message "Direct search...", but when
continuing, i get the following :
All Graphics already downloaded for [Futurama]
1 -> Matrix # http://www.imdb.com/title/tt76258
2 -> Matrix XP # http://www.imdb.com/title/tt116871
3 -> Threat Matrix # http://www.imdb.com/title/tt72102
Direct search of IMDB #
http://www.imdb.com/find?s=all&q=Aux+fronti%C3%A8res+de+l%27immortalit%C3%A9&x=0&y=0
Enter choice ("Enter" key equals first selection (1)) or input the
IMDB # directly, ? for help):

The problem here is that it is working on Matrix and displaying a "Aux
frontières de l'immortalité". So I'm a bit confused.

I've another question : I have show recorded in SD and HD and I have
different series names for them :
"Grey's Anatomy" and "Grey's Anatomy HD" : jamu find a fan art for the
first one and not for the second (which can be normal) : is there a
way to help it to find fanart ?
Same question for shows named "Battlestar Galactica S2" or "Battlestar
Galactica S3".

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


r.d.vaughan at rogers

Nov 19, 2009, 6:20 AM

Post #2 of 14 (1407 views)
Permalink
Re: Jamu and wath recordings [In reply to]

Guillaume,
For MythTV Jamu has three main functions selected by the options you use. (1) Get Graphics for your Scheduled and Recorded programs (-MW); (2) Update your MythVideo metadata (-M) and (-MI); (3) Clean up graphic files that ware no longer being used (-MJ). With options one and two Jamu will always try to download each type of graphics so specifying a type is not required.

I can see from what you have in your email that you are mixing these options and adding some that have no effect. In the case of Scheduled and Recorded programs (-MW) there is no interactive mode as it uses the EPG information to figure out what to download from TVDB or TMDB, If you wanted to Update your MythVideo metadata (-M) and (-MI) there would be information indicating which video file is being processed before the interactive list or matching items.

Only TVDB honors the language option at this time.

So using your email's information you should be using these command lines:
Scheduled and Recorded program graphics:
/usr/share/mythtv/mythvideo/scripts/jamu.py -l fr -MWV

Update your MythVideo metadata:
/usr/share/mythtv/mythvideo/scripts/jamu.py -l fr -MI # With interactive mode
OR
/usr/share/mythtv/mythvideo/scripts/jamu.py -l fr -MV

Clean up graphic files that ware no longer being used:
/usr/share/mythtv/mythvideo/scripts/jamu.py -l fr -MJ

For the issues described for "Grey's Anatomy" and "Grey's Anatomy HD", this is purely a case that Jamu does not parse the file name with the extra " HD", so that it cannot find a matching TV series in TVDB. You can deal with this by using a jamu.conf file (see the jamu-example.conf file for details) and adding a "Grey's Anatomy HD" entry in the "[series_name_override]" section.

Good Luck.

Doug


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


jan at horde

Nov 19, 2009, 9:25 AM

Post #3 of 14 (1397 views)
Permalink
Re: Jamu and wath recordings [In reply to]

Excuse me, if I jump on this thread, but have some questions since I
upgraded to 0.22 and it sounds like Guillaume is not quite
understanding how jamu works either.

Zitat von Doug Vaughan <r.d.vaughan [at] rogers>:

> Guillaume,
> For MythTV Jamu has three main functions selected by the options
> you use. (1) Get Graphics for your Scheduled and Recorded programs
> (-MW); (2) Update your MythVideo metadata (-M) and (-MI); (3) Clean
> up graphic files that ware no longer being used (-MJ). With options
> one and two Jamu will always try to download each type of graphics
> so specifying a type is not required.
>
> I can see from what you have in your email that you are mixing
> these options and adding some that have no effect. In the case of
> Scheduled and Recorded programs (-MW) there is no interactive mode
> as it uses the EPG information to figure out what to download from
> TVDB or TMDB, If you wanted to Update your MythVideo metadata (-M)
> and (-MI) there would be information indicating which video file is
> being processed before the interactive list or matching items.

I don't quite understand why the recordings mode works this way, but
maybe I'm simply missing something, or some features just haven't been
implemented yet. Please lighten me up anybody. All these questions are
related to the recordings mode only:

- Why is there no interactive mode? There are ambiguous results from
TVDB too, and jamu already picked fanart from wrong movies/series.
- Why doesn't jamu try IMDB or TMDB if searching for a movie that it
can't find on TVDB?
- Not exactly related to recordings mode of jamu, and probably hasn't
been implemented yet: why is there no W shortcut for loading art in
the recordings view?

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

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


robert.mcnamara at gmail

Nov 19, 2009, 9:35 AM

Post #4 of 14 (1392 views)
Permalink
Re: Jamu and wath recordings [In reply to]

On Thu, Nov 19, 2009 at 9:25 AM, Jan Schneider <jan [at] horde> wrote:
>
> - Why is there no interactive mode? There are ambiguous results from TVDB
> too, and jamu already picked fanart from wrong movies/series.

Jamu is a tool to make your life more convenient. It is a best-effort
tool. It is *not* meant to be perfect, and the user uses its
automatic modes (and this is one of them) knowing that no program can
read the user's (or the broadcaster's) mind. Doug wrote Jamu after I
implemented the basic Fanart/Banner/Coverart support for Watch
Recordings to make people's lives easier, so that they wouldn't have
to learn the naming schemes used by the image hunt.

> - Why doesn't jamu try IMDB or TMDB if searching for a movie that it can't
> find on TVDB?

Jamu *does* check TMDB for movies already. Jamu attempts to determine
(based on the accuracy of your guide data) whether an item is a film.
Again, best-effort and nothing is perfect. Even when I get around to
writing the code to have the backend do the work, it still won't be
perfect.

> - Not exactly related to recordings mode of jamu, and probably hasn't been
> implemented yet: why is there no W shortcut for loading art in the
> recordings view?

Because it's a metric crapload of work. Currently, metadata handling
is only included in MythVideo. There is a ton of code related to the
metadata download, and twice that much code determining how to deal
with the data once we've got it. To make metadata handling available
in Watch Recordings, I/someone needs to write a generic metadata
handling class/classes that can be used anywhere. In this case the
handling of image download would probably happen similarly to preview
generation. There's also cleanup to contend with, and all sort of
other complexities, as well as my having a fairly specific idea of how
I want to do it. It's a lot of work, and I have a mortgage to pay.

Additionally, we have discussed some fairly sweeping database changes
regarding MythVideo and recordings, and until we sort out how we're
going to proceed on those, it doesn't make a lot of sense for me to go
adding (potentially soon-to-be-redundant) image fields into
programinfo.

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


guillaume.ml at gmail

Nov 19, 2009, 1:39 PM

Post #5 of 14 (1384 views)
Permalink
Re: Jamu and wath recordings [In reply to]

On Thu, Nov 19, 2009 at 3:20 PM, Doug Vaughan <r.d.vaughan [at] rogers> wrote:
> Guillaume,
>   For MythTV Jamu has three main functions selected by the options you use.
> (1) Get Graphics  for your Scheduled and Recorded programs (-MW); (2) Update
> your MythVideo metadata (-M) and (-MI); (3) Clean up graphic files that ware
> no longer being used (-MJ). With options one and two Jamu will always try to
> download each type of graphics so specifying a type is not required.
>
>   I can see from what you have in your email that you are mixing these
> options and adding some that have no effect. In the case of Scheduled and
> Recorded programs (-MW) there is no interactive mode as it uses the EPG
> information to figure out what to download from TVDB or TMDB, If you wanted
> to Update your MythVideo metadata (-M) and (-MI) there would be information
> indicating which video file is being processed before the interactive list
> or matching items.
>
> Only TVDB honors the language option at this time.
>
> So using your email's information you should be using these command lines:
> Scheduled and Recorded program graphics:
> /usr/share/mythtv/mythvideo/scripts/jamu.py -l fr -MWV
>
> Update your MythVideo metadata: /usr/share/mythtv/mythvideo/scripts/jamu.py
> -l fr -MI   # With interactive mode
> OR
> /usr/share/mythtv/mythvideo/scripts/jamu.py -l fr -MV
>
> Clean up graphic files that ware no longer being used:
> /usr/share/mythtv/mythvideo/scripts/jamu.py -l fr -MJ
>
> For the issues described for "Grey's Anatomy" and "Grey's Anatomy HD", this
> is purely a case that Jamu does not parse the file name with the extra "
> HD", so that it cannot find a matching TV series in TVDB. You can deal with
> this by using a jamu.conf file (see the jamu-example.conf file for details)
> and adding a "Grey's Anatomy HD" entry in the "[series_name_override]"
> section.
>
> Good Luck.
>
> Doug

Thanks for your answer. I better understand how using Jamu.
I though interactive mode was available for recorded show. An error
message may be printed if interactive mode is used with recorded show,
It will avoid confusion.

series_name_override does perfectly the job !

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


nick.rout at gmail

Nov 19, 2009, 5:56 PM

Post #6 of 14 (1372 views)
Permalink
Re: Jamu and wath recordings [In reply to]

On Fri, Nov 20, 2009 at 3:20 AM, Doug Vaughan <r.d.vaughan [at] rogers> wrote:

>
> For the issues described for "Grey's Anatomy" and "Grey's Anatomy HD", this
> is purely a case that Jamu does not parse the file name with the extra "
> HD", so that it cannot find a matching TV series in TVDB. You can deal with
> this by using a jamu.conf file (see the jamu-example.conf file for details)
> and adding a "Grey's Anatomy HD" entry in the "[series_name_override]"
> section.

Without detracting from your no doubt excellent tool, thats not
exactly 10 foot interface stuff!

If XBMC can't associate a file|foldername with metadata it pops up an
onscreen keyboard which allows you to edit the name. Excellent with
folder names like Dr.Who.HDTV.Nutter.720p.

Then if it finds ambiguous series/movies that match it will pop up a
dialog box allowing you to choose - eg

Battlestar Galactica 2004
Battlestar Galactica 1978

Any chance of a similar functionality (or maybe there is, I haven't
updated to 0.22 yet, but am following the jamu threads with interest.)
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


robert.mcnamara at gmail

Nov 19, 2009, 6:00 PM

Post #7 of 14 (1372 views)
Permalink
Re: Jamu and wath recordings [In reply to]

On Thu, Nov 19, 2009 at 5:56 PM, Nick Rout <nick.rout [at] gmail> wrote:
> On Fri, Nov 20, 2009 at 3:20 AM, Doug Vaughan <r.d.vaughan [at] rogers> wrote:
>
>>
>> For the issues described for "Grey's Anatomy" and "Grey's Anatomy HD", this
>> is purely a case that Jamu does not parse the file name with the extra "
>> HD", so that it cannot find a matching TV series in TVDB. You can deal with
>> this by using a jamu.conf file (see the jamu-example.conf file for details)
>> and adding a "Grey's Anatomy HD" entry in the "[series_name_override]"
>> section.
>
> Without detracting from your no doubt excellent tool, thats not
> exactly 10 foot interface stuff!

Jamu isn't a UI tool, why would it need a 10 foot interface? Jamu is
a script that provide artwork in recordings until Myth code is written
to do so.

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


nick.rout at gmail

Nov 19, 2009, 6:05 PM

Post #8 of 14 (1373 views)
Permalink
Re: Jamu and wath recordings [In reply to]

On Fri, Nov 20, 2009 at 3:00 PM, Robert McNamara
<robert.mcnamara [at] gmail> wrote:
> On Thu, Nov 19, 2009 at 5:56 PM, Nick Rout <nick.rout [at] gmail> wrote:
>> On Fri, Nov 20, 2009 at 3:20 AM, Doug Vaughan <r.d.vaughan [at] rogers> wrote:
>>
>>>
>>> For the issues described for "Grey's Anatomy" and "Grey's Anatomy HD", this
>>> is purely a case that Jamu does not parse the file name with the extra "
>>> HD", so that it cannot find a matching TV series in TVDB. You can deal with
>>> this by using a jamu.conf file (see the jamu-example.conf file for details)
>>> and adding a "Grey's Anatomy HD" entry in the "[series_name_override]"
>>> section.
>>
>> Without detracting from your no doubt excellent tool, thats not
>> exactly 10 foot interface stuff!
>
> Jamu isn't a UI tool, why would it need a 10 foot interface?  Jamu is
> a script that provide artwork in recordings until Myth code is written
> to do so.


Ahh OK I see, so is it not available at all from the mythtv menus?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


robert.mcnamara at gmail

Nov 19, 2009, 6:07 PM

Post #9 of 14 (1371 views)
Permalink
Re: Jamu and wath recordings [In reply to]

On Thu, Nov 19, 2009 at 6:05 PM, Nick Rout <nick.rout [at] gmail> wrote:
> On Fri, Nov 20, 2009 at 3:00 PM, Robert McNamara
> <robert.mcnamara [at] gmail> wrote:
>> On Thu, Nov 19, 2009 at 5:56 PM, Nick Rout <nick.rout [at] gmail> wrote:
>>> On Fri, Nov 20, 2009 at 3:20 AM, Doug Vaughan <r.d.vaughan [at] rogers> wrote:
>>>
>>>>
>>>> For the issues described for "Grey's Anatomy" and "Grey's Anatomy HD", this
>>>> is purely a case that Jamu does not parse the file name with the extra "
>>>> HD", so that it cannot find a matching TV series in TVDB. You can deal with
>>>> this by using a jamu.conf file (see the jamu-example.conf file for details)
>>>> and adding a "Grey's Anatomy HD" entry in the "[series_name_override]"
>>>> section.
>>>
>>> Without detracting from your no doubt excellent tool, thats not
>>> exactly 10 foot interface stuff!
>>
>> Jamu isn't a UI tool, why would it need a 10 foot interface?  Jamu is
>> a script that provide artwork in recordings until Myth code is written
>> to do so.
>
>
> Ahh OK I see, so is it not available at all from the mythtv menus?

Correct. It's a command line MythVideo contrib script. It can be run
as a cron job to grab artwork for current and upcoming recordings. No
GUI at all.

It's there because Doug say the need for a script that filled the gap
for the (unfinished) support for artwork in Watch Recordings, and
filled it. Were it not for his work, it's unlikely any users would be
using it at all.

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


nick.rout at gmail

Nov 19, 2009, 6:18 PM

Post #10 of 14 (1377 views)
Permalink
Re: Jamu and wath recordings [In reply to]

On Fri, Nov 20, 2009 at 3:07 PM, Robert McNamara
<robert.mcnamara [at] gmail> wrote:

>>
>>
>> Ahh OK I see, so is it not available at all from the mythtv menus?
>
> Correct.  It's a command line MythVideo contrib script.  It can be run
> as a cron job to grab artwork for current and upcoming recordings.  No
> GUI at all.
>
> It's there because Doug say the need for a script that filled the gap
> for the (unfinished) support for artwork in Watch Recordings, and
> filled it.  Were it not for his work, it's unlikely any users would be
> using it at all.

Thanks for that, perhaps my ideas (wll not my ideas, just stuff I
noticed in XBMC) could be put in the basket of requests for the gui
functionality, when it gets done :)
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


r.d.vaughan at rogers

Nov 19, 2009, 6:40 PM

Post #11 of 14 (1361 views)
Permalink
Re: Jamu and wath recordings [In reply to]

Nick,
What do you not understand about getting something for nothing? Jamu
has a GPL2 license so if you do not like what it does or not do, then
role up your sleeves and code. Just this week two people have submitted
patches for Jamu and one has already been committed. I welcome patches
as it improves the script for everyone and allows me to write/support my
other scripts (tvdb.py, tmdb.py and MiroBridge.py).

Between support and answering user questions I am kept very busy. I
wrote these scripts to give back to the MythTV developer's a little bit
of what they gave me for free.

If you do not know how to code then python, which is what jamu is
written in, is a good starter language.

Doug


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


bill at bbqninja

Nov 19, 2009, 9:16 PM

Post #12 of 14 (1353 views)
Permalink
Re: Jamu and wath recordings [In reply to]

On Fri, Nov 20, 2009 at 1:40 PM, Doug Vaughan <r.d.vaughan [at] rogers> wrote:
> Nick,
>   What do you not understand about getting something for nothing? Jamu has a
> GPL2 license so if you do not like what it does or not do, then role up your
> sleeves and code. Just this week two people have submitted patches for Jamu
> and one has already been committed. I welcome patches as it improves the
> script for everyone and allows me to write/support my other scripts
> (tvdb.py, tmdb.py and MiroBridge.py).
>
> Between support and answering user questions I am kept very busy. I wrote
> these scripts to give back to the MythTV developer's a little bit of what
> they gave me for free.
>
> If you do not know how to code then python, which is what jamu is written
> in, is a good starter language.


And the FOSS "get off my f-ing lawn" stereotype lives on. What Nick
commented was not unreasonable, nor were his suggestions for an
eventual GUI driven JAMU replacement out of line. He was commenting
on how an alternative product does things, and when corrected that
JAMU was a stopgap measure without a UI he responded gracefully.

Is there really a need to drive people away like this?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jan at horde

Nov 22, 2009, 9:46 AM

Post #13 of 14 (1261 views)
Permalink
Re: Jamu and wath recordings [In reply to]

Zitat von Robert McNamara <robert.mcnamara [at] gmail>:

> On Thu, Nov 19, 2009 at 9:25 AM, Jan Schneider <jan [at] horde> wrote:
>>
>> - Why is there no interactive mode? There are ambiguous results from TVDB
>> too, and jamu already picked fanart from wrong movies/series.
>
> Jamu is a tool to make your life more convenient. It is a best-effort
> tool. It is *not* meant to be perfect, and the user uses its
> automatic modes (and this is one of them) knowing that no program can
> read the user's (or the broadcaster's) mind. Doug wrote Jamu after I
> implemented the basic Fanart/Banner/Coverart support for Watch
> Recordings to make people's lives easier, so that they wouldn't have
> to learn the naming schemes used by the image hunt.
>
>> - Why doesn't jamu try IMDB or TMDB if searching for a movie that it can't
>> find on TVDB?
>
> Jamu *does* check TMDB for movies already. Jamu attempts to determine
> (based on the accuracy of your guide data) whether an item is a film.
> Again, best-effort and nothing is perfect. Even when I get around to
> writing the code to have the backend do the work, it still won't be
> perfect.
>
>> - Not exactly related to recordings mode of jamu, and probably hasn't been
>> implemented yet: why is there no W shortcut for loading art in the
>> recordings view?
>
> Because it's a metric crapload of work. Currently, metadata handling
> is only included in MythVideo. There is a ton of code related to the
> metadata download, and twice that much code determining how to deal
> with the data once we've got it. To make metadata handling available
> in Watch Recordings, I/someone needs to write a generic metadata
> handling class/classes that can be used anywhere. In this case the
> handling of image download would probably happen similarly to preview
> generation. There's also cleanup to contend with, and all sort of
> other complexities, as well as my having a fairly specific idea of how
> I want to do it. It's a lot of work, and I have a mortgage to pay.
>
> Additionally, we have discussed some fairly sweeping database changes
> regarding MythVideo and recordings, and until we sort out how we're
> going to proceed on those, it doesn't make a lot of sense for me to go
> adding (potentially soon-to-be-redundant) image fields into
> programinfo.

Thanks, this made things much clearer.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

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


nick.rout at gmail

Nov 22, 2009, 12:54 PM

Post #14 of 14 (1252 views)
Permalink
Re: Jamu and wath recordings [In reply to]

On Fri, Nov 20, 2009 at 3:40 PM, Doug Vaughan <r.d.vaughan [at] rogers> wrote:
> Nick,
>   What do you not understand about getting something for nothing? Jamu has a
> GPL2 license so if you do not like what it does or not do, then role up your
> sleeves and code. Just this week two people have submitted patches for Jamu
> and one has already been committed. I welcome patches as it improves the
> script for everyone and allows me to write/support my other scripts
> (tvdb.py, tmdb.py and MiroBridge.py).
>
> Between support and answering user questions I am kept very busy. I wrote
> these scripts to give back to the MythTV developer's a little bit of what
> they gave me for free.
>
> If you do not know how to code then python, which is what jamu is written
> in, is a good starter language.
>
> Doug

No need to be prickly, I didn't criticise your tool at all. Part of
what I wrote (about it not being remote friendly) arose from a
misunderstanding, which Robert corrected.

I think it a backward step if non-coders can't make usability
suggestions without being told to submit a bug/patch. I have a
rudimentary understanding of programming, but probably wouldn't be up
to your standards of coding or understanding of the existing jamu code
base. I once tried to write some python code to interact with
thetvdb.com - you'll even find some questions from me on their forum
somewhere. I failed at first base and didn't know how to do it. I got
books on python and xml out of the local library. It still wasn't for
me.

That doesn't stop me being an avid user, and having an ability to make
suggestions.

Thank you for your time and energy in creating Jamu.
_______________________________________________
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.