These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Tagging m4a files.

user-507

Hello!

I've got get_iplayer installed on my Raspberry Pi. In the past, I have used the Web based PVR on windows and it has worked like a charm. But now I use the Pi via the command line PVR, the tagging doesnt seem quite right. It doesnt tag the track number and album tag shows the "SxxExx" series/episode tag. Also, the thumbnail art is not added like it was with the web based PVR.

Is there some way i can edit what tags i can save and where?

I'm new to Linux and cant seem to get my head round the Metadata Tagging guide...

Thanks in advance!

user-2

How are we supposed to know what you are doing if you don't tell us? Post an example command that downloads one programme only and demonstrates this behaviour. Also post the output from
Code:
get_iplayer --show-prefs
. Scrub your username from the output if necessary.

user-2

Also post the content of the other tags in the file. Use:
Code:
AtomicParsley <filename> -t

user-507

Thanks foir getting back to me so quick.

OK, the PVR runs automatically via cron. The command for an episode is the following:

Code:
type radio
search0 i, claudius



The output from the command you gave me is the following:

Code:
Options in '/home/xbian/.get_iplayer/options'
    tag_longdesc = 1
    tag_podcast_radio = 1
    radiomode = flashaachigh,flashaacstd,flashaudio,flashaaclow,wma
    tag_utf8 = 1
    outputtv = /media/Hitachi/Video/TV
    outputradio = /media/Hitachi/Music/Radio
    subdir = 1
    tvmode = flashhd,flashvhigh,flashhigh,flashstd,flashnormal,flashlow
    tag_fulltitle = 1
    fileprefix = <nameshort>-<senum>-<episodeshort>
    tag_cnid = 1



Hope this is what you meant,

Thanks.

user-507

Whenever i try the Atomicparsley command, all i get back is:

Code:
No such file or directory

user-2

Nothing obviously amiss with your settings. Your example programme works fine here. Best guess is something wrong with your cron environment. Post the AtomicParsley output I asked for - it may provide more clues.

user-2

Quote:Quote:Whenever i try the Atomicparsley command, all i get back is:

Code:
No such file or directory

Well, there is your problem. get_iplayer needs AtomicParsley to apply metadata tags to M4A files.

user-507

Ahh.
Even though some tags are applied? I assumed I did have AtomicParsley installed.

Sorry about this, but how do I install it/check it is installed?

user-2

I have no idea what is happening to your file since you haven't shown the tag values. You haven't even explained how you viewed the tag values to determine they were wrong. My guess is that you opened the files in XBMC or similar, which simply parsed the filename. But that's irrelevant. Without AtomicParsley, get_iplayer cannot tag MP4/M4A files.

As to how to install software on your system, Google is your friend. You should also have already read this:

https://squarepenguin.co.uk/wiki/installation/raspbian/

Those instructions point to a repository with a modern version (0.94) of AtomicParsley. There are older versions lurking in other repositories, but they may not work with your settings, which I assume you just copied from Windows. They also may not work with all files downloaded by get_iplayer.

user-507

Thanks for your patience here.

I've been trying a bit more and have been able to get a response from AtomicParsley. I guess i must have made a typo before or something... When i enter the command you gave me, I get the following response:

Code:
AtomicParsley /media/Hitachi/temp.m4a -t
Atom "©too" contains: Lavf53.21.1



I use Mediamonkey to play/transfer the audio files and read the tags.
For a recent Masterson Inheritance radio episode, the tags are as follows:

Title: Scurvy
Artists: The Masterson Inheritance
Album: s01e03
Album Artists: The Masterson Inheritance

And no other tags or artwork etc.

Does this info mean anything to you?

Many thanks.

user-2

As I suspected, MediaMonkey is obviously just parsing the filename and not reading any values from the metadata tags. The AtomicParsley output is as expected. FFmpeg adds the "@too" atom during re-muxing from FLV to M4A, but all the meaningful tags would be added by AtomicParsley when it's working. It would seem that AtomicParsley is not available in your cron environment, which is slightly curious since both rtmpdump and ffmpeg are available. Not knowing how or where you installed it, it's impossible to guess what is going on. If you searched the forums you would have found this thread:

/topic...cron-task/

See if that helps. It's also possible to configure AtomicParsley on the command line or in your preferences:

https://squarepenguin.co.uk/wiki/options...am-options

user-507

thank you for your help.
when i read your Rpi installation guide, it struck me that i had installed it a different way, so reinstalled it following your guide, and now all tagging works perfect!

thank you again!

Solved!!

These forums are archived

See this post for further info