Different mnemonics for different shows


#1

Hello all,

I would like to have a different mnemonic for each show. Is it possible to override the default podcast mnemonic somehow?

Example:

  • FF001 for the main podcast
  • FFS001 for the show 1
  • FFK001 for the show 2

#2

It is currently not possible to have a per-show mnemonic.


#3

Is this feature complicated to implement? I’ll try to build it in, otherwise I can’t accomplish my idea with shows.

What would be the place in the source to override the mnemonic set in the podcast object?


#4

You need to add a filter here https://github.com/podlove/podlove-publisher/blob/master/includes/auto_post_titles.php#L120, then you can add a setting in the shows module and use the hook the override the podcast mnemonic. Needs testing but that should be the general idea.


#5

Cool, it works. I’m able to override the mnemonic for the feed. Unfortunately only the feed. When the episodes are listed on the home page, it is ignored due to this part:

	private static function get_feed_modification($previous_value, $new_value) {
	global $wp_query;

	**if ( isset($wp_query->query_vars['shows']) ) {**