Automatize pdf creation

Hello, I use mp3tag and discogs to tag my files.
Mp3tag add a field « www » with the url discogs release.
Is it possible to create automatically a pdf with url discogs ?
It's to use with Roon (open a pdf with url link)

Sorry for my bad english, I’m french.

Best regards.

It's possible to covert html-code to pdfs but Mp3tag can't help you in this in anyway.

are you sure? mp3tag should be able to output me a txt file with only the contents of the "www" field, and then I will use a txt to pdf converter.
But I don’t know how to do…

You could use an Export to a txt file:

The most simple example export script would look like this:

$filename(csv,utf-16)Songtitle;URL
$loop(%_filename_ext%)%title%;%www%
$loopend()

This assumes, that your tag name with the URL content is called WWW

Of course you can adjust it with whatever tags you want to see in your export file.

Just to be clear:

Mp3tag can NOT automatically create a PDF as export format.

I don't quite understand the use-case.
If the goal is to create a link that can be clicked to call the internet site, then I think that using the pdf format as lauch platform is a rather complicated way.

If you want to create a link in the folder of the media files then (under windows) you could use the Export function and create a Windows link file with this export:

$filename(%title%.url,utf-16)[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,11
[InternetShortcut]
IDList=
URL=https://%www%

Roon accepts only pdf.

There are "professional" PDF converters that can be run from a command line. That raises the possibility of creating an Mp3tag Tool to create PDFs from your URL tags exported to text files.

For example, here are a few Win2PDF Pro Command Lines

This page shows text to PDF command line options for Win2PDF Pro.

Win2PDF Pro is fairly expensive ($69 US). I have not tried it but you can contact them for a trial version. There may well be better or cheaper PDF converters that support the command line. I'll leave the research to you.

Thank you. I will test !