Tag option "--prefs-add --tag-fulltitle"
Simon Morgan
s.morgan at skm.org.uk
Wed Mar 1 08:35:10 PST 2017
Trying to keep this list on the subject of get_iplayer, I have only
partially answered my own original question.
The required syntax seems to be "--prefs-add --tag-format-title=<relevant
substitution parameter>" (note the equals sign). I have tried "title",
"name", "longname" plus several others from the Substitution Parameter list.
Get_iplayer accepts these as valid options and updates the "options" file.
However when downloading a programme, the Title is simply shown as the word
"title", "name" or "longname".
Looking at the Options file, I see a line, for example, "tag_formattitle
name". If I edit this to show "tag_formattitle=name" then at least I get a
tag in the recorded programme which usually is just the Episode name.
It could be that there is a bug which incorrectly adds the preference to the
options file by omitting the "=" sign.
Secondly whatever substitution parameter I use, I can only get the Episode
name. This begs the question, are the substitution parameters working
correct?
I am still desperately looking for a tagging option that replicates the old
"fulltitle" option.
Any help, suggestions etc would be welcome excluding any daily newspaper
reading suggestions (sorry about this, I must bite my tongue and keep
on-topic)
Regards
Simon Morgan
> -----Original Message-----
> From: get_iplayer [mailto:get_iplayer-bounces at lists.infradead.org] On
> Behalf Of Simon Morgan
> Sent: 14 February 2017 08:08
> To: get_iplayer at lists.infradead.org
> Subject: RE: Tag option "--prefs-add --tag-fulltitle"
>
> I am still not getting any success with tagging downloaded programmes.
>
> "--prefs-add --tag-fulltitle" used to work producing the result I
> wanted however in spite of SquarePenguin's comments, it doesn't work
> for me returning "--tag-fulltitle " Unknown option. (My quote marks)
>
> I then tried "--tag-format-title <title>" and here I am probably being
> stupid but I am not sure of the correct syntax for the substitution
> parameter.
>
> Using the pointed brackets as shown produces "the syntax of the command
> is incorrect" which doesn't surprise me.
>
> Next I tried "--tag-format-title title" which is not rejected but the
> programme recorded now has the Title "title" (again without quotes).
> Clearly NOT what is required.
>
> Lastly I tried using "--tag-format-title -title" which produces a list
> of all the programmes in the cache!
>
> Can someone please help an old fool get the equivalent of "fulltitle"
> showning the syntax so I can just copy and paste.
>
> Thanks in anticipation.
>
> Simon Morgan
>
>
> -----------------------------------------------------------------------
> -----
> ------------------------------------------------------------
> > -----Original Message-----
> > From: get_iplayer [mailto:get_iplayer-bounces at lists.infradead.org] On
> > Behalf Of SquarePenguin
> > Sent: 11 February 2017 13:54
> > To: get_iplayer at lists.infradead.org
> > Subject: Re: Tag option "--prefs-add --tag-fulltitle"
> >
> > On 11/02/17 11:11, Simon Morgan wrote:
> > > In v2.97 and earlier, I used "--prefs-add --tag-fulltitle" to
> > > create an "option" entry that tagged my downloads with their full
> title.
> > This
> > > no longer seems to work in v2.98 so can someone help me with the
> > > equivalent syntax.
> >
> > That should still work, the wiki suggests that that is the correct
> > thing to do[0].
> >
> > A possible workaround if it is failing...
> >
> > The wiki would also suggest that episodes are tagged with the
> > <episodeshort> as title by default[1], which is simply the episode
> > name minus the episode number.
> >
> > You can change the title using the --tag-format-title detailed in the
> > tagging options and choose the field to apply from the substitution
> > parameters[2]. From that substitution parameter list you should be
> > able to construct a suitable result, chaining parameters together if
> > you wish.
> >
> > So you could try:
> >
> > --tag-format-title <title>
> >
> > That would seemingly achieve the same thing --tag-fulltitle would but
> > via a different route.
> >
> > [0] https://github.com/get-iplayer/get_iplayer/wiki/tagging
> >
> > [1] https://github.com/get-iplayer/get_iplayer/wiki/manpage#tagging-
> > options
> >
> > [2]
> > https://github.com/get-
> > iplayer/get_iplayer/wiki/documentation#substitution-parameters
> >
> > _______________________________________________
> > get_iplayer mailing list
> > get_iplayer at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/get_iplayer
>
>
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer
More information about the get_iplayer
mailing list