Release 2.5.0


#1

New Chapter Management UI

Until now if you wanted to add chapters to your podcast, you had to write the mp4chaps format by hand into a textfield. The Publisher now finally provides an easy-to-use interface to manage chapters that doesn’t require any knowledge about the underlying formats.

The new inferace makes it simple to import chapters from files. We currently support PSC (Podlove Simple Chapters), mp4chaps and Audacity Track Labels. Let us know if we don’t support your favorite program’s export format.

Module: Import/Export

Podcast import has been rewritten to make full use of Background Jobs. That way podcasts of any size can be imported without running into system resource restrictions for large podcasts.

Background Jobs

The jobs dashboard on the tools page now shows job statuses in realtime (refreshes automatically).

Adjusted background job duration parameters and made them configurable. The change of defaults aims to make better use of available cron time (normally 30 seconds per request), which can speed up long running background jobs dramatically.

Please refer to the new Background Jobs page in the documentation for more details.

Bits & Pieces

  • remove module: App.net (because they are shutting down)
  • fix tracking export
  • redirects (expert settings): redirect counter can be reset
  • contributor avatars use WordPress media picker
  • optimize use of JavaScript:
    • only load scripts on pages that require them
    • concatenate and minify some scripts

See also: Blog post Podlove Publisher 2.5.


#2

Thanks again for your work!
I see that the new way of adding chapters might be better, especially for less “technically gifted” users.
However, the new approach makes adding chapters slightly more complicated for Hindenburg users. I’ll contact the Hindy team and ask them for a simple .txt export feature.


#3

What’s their current export format? Can you provide an example file?


#4

No file. That’s the point. :slight_smile:
They offer “copy chapters as text”. This will put the chapter information in your clipboard. Then you simply paste it into Podlove. Now we can’t paste it anywhere anymore.
I’ve asked them to add an “export Chapters as .txt” feature. This should be simple.

Workaround:

  1. Copy chapters information from Hindenburg
  2. Create .txt file
  3. Paste information into your own .txt file. Save it.
  4. Import it into Podlove

Their format looks like this:

20.800 Chapter One "URL Title for One" <http://chapterone.com>
01:01.200 Chapter Two "URL Title for Two" <http://chaptertwo.com>
02:06.600 Chapter Three "URL Title for Three" <http://chapterthree.com>
1:03:39.508 Chapter Four "URL Title for Four" <http://chapterfour.com>

#5

That’s the mp4chaps format. So you could still paste the info to a file and import it. However, pasting was probably much easier for you.


#6

Exactly.
I think Hindy will add an “export chapters to .txt” feature. Then this would be solved. No need for you to change or revert anything.
I’ll keep you updated.


Update:
They have already responded and are willing to implement this feature. :+1:

Yes, it can be done. One question though: Which format do you want the text file in?

I knöw thät the söme öf the letters yöu tend to use, cän’t be säved in a pläin ASCII file.


#7

I just looked at Hindenburgs project file and found out that chapter markers are in the XML.

<?xml version="1.0" encoding="utf-8"?>
<Session Version="Hindenburg Journalist 1.15.1769" Samplerate="48000">
  <AudioPool Path="Hindenburg Test Files" Location="/Users/tim/Mobile Studio/Recordings Mobile Studio/Test/Hindenburg">
    <File Id="1" Name="Track 2 1.wav" Duration="29.654" Channels="2" Leq="-36.7" Dyn="2.58"/>
    <File Id="2" Name="Track 2 2.wav" Duration="52.182" Channels="2" Leq="-68.0"/>
  </AudioPool>
  <Tracks>
    <Track Name="Track 1"/>
    <Track Name="Track 2" Rec="1" Mute="1">
      <Region Ref="1" Name="Track 2 1" Length="09.406" Offset="00.145"/>
      <Region Ref="2" Name="Track 2 2" Start="09.406" Length="51.928" Offset="00.145"/>
    </Track>
    <Track Name="Track 3"/>
    <Track Name="Track 4"/>
  </Tracks>
  <Clipboard>
    <Group Caption="Group 1"/>
    <Group Caption="Group 2"/>
    <Group Caption="Group 3"/>
    <Group Caption="Group 4"/>
  </Clipboard>
  <Markers>
    <Marker Id="3" Name="Marker 3" Time="21.200" Type="Chapter"/>
    <Marker Id="4" Name="Marker 4" Time="49.200" Type="Chapter"/>
  </Markers>
</Session>

So in theory we could just read chapter markers from that file. What do you think @ericteubert?


#8

Yes, I can parse that. I assume it’s the “Markers” tag? Can you add a URL to see what attributes are used for that?


#9
  <Markers>
    <Marker Id="3" Name="First Marker" Time="21.200" Type="Chapter" Title="Freak Show" URL="https://freakshow.fm/"/>
    <Marker Id="4" Name="Second Marker" Time="49.200" Type="Chapter" Title="CRE" URL="https://cre.fm"/>
  </Markers>

So its the values Markers/Marker[@Time], Markers/Marker[@Title] and Markers/Marker[@URL] that matter with Markers/Marker[@Type] == "Chapter" (in fancy xpath notation).


#10

I’m now testing a pre-release version of Hindenburg with a chapter to .txt export feature.
Hindenburg created this (test) file for me as a .txt:

34.800 Kapitel 1 "Toller Link" <http://nzz.ch>
04:09.600 Käpitel 2 "Besserer Link" <https://nzz.ch>
1:03:48.559 Drittes Kapitel "Super Link" <https://gametalk.fm>

(I had to add the breaks.) Looks good to me now.
However, the second chapter will not be imported. (Update: Any chapter that is not the first nor the last one.) I don’t know why. @ericteubert, any ideas?

And: Hindenburg creates the .txt without breaks in between chapters. In other words: All in one line. It’s a formatting thing. Podlove can’t read them that way. I’ve reported this to the Hindy team.


#11

Might be a bug when the first chapter is not a 0:00:00. Need to check. Exporting software should have an option to always include such a chapter but so could the Podlove Publisher generate one if not there.


#12

A chapter at 0:00:00 is not needed. I somehow made it work by now. But I don’t know how. I didn’t really change anything. Even my example above works by now. :confused:


By the way: mp4chaps defines a URL title. The thing in "" in the middle. What is it used for? The new chapters interface does not really use it? The URL title will be added to the chapter title.


#13

Ah I just noted that. I guess it would enable presenting the Link to the User separately from the Chapter. This is uncommon in podcast apps and I am not sure this is explicitly covered by the mp4chaps format (which is itself rather loosely specified).


#14

I took a second look at the Hindenburg-specific mp4chaps text export format and I think it would be a trap to support it. It is highly inconsistent. For instance, if you have a chapter title that contains a " character, the export format does not escape this character so it can’t be distingusihed from " characters that are used as delimiters for URL titles.

So I think we’ll stick to importing the Hindenburg project file as this does not need extra exporting AND it is an totally unambigous format to parse.


#15

Import support for Hindenburg project files is coming in 2.5.1.
I’m not sure where they got their idea for the quoted url title format, but as it is I will actively discourage people from using Hindenburgs txt export because it is ambiguous. Just stick to the project files. We’re discussing if we will support url titles at all. For now, it seems unlikely as it is unclear how to implement it across all supported formats, especially MP4chaps.


#16

I usually don’t use the URL tile, therefore the .txt export feature works well. But using the project files will be better anyways.

I still don’t even know what they are supposed to do. Something like a description when you hover over the link?