• Resolved jonfabritius

    (@jonfabritius)


    When replacing an audio file for an episode, the synthetic /podcast-download/nnn/file-name.mp3 address in the feed <enclosure url> does not change, causing Spotify’s cache check to ignore updates to the file.

    Changing episode metadata, such as publication date, gets quickly picked up by Spotify, but does not trigger a re-cache of the audio file; it is considered unchanged.

    Can I increment the number in the feed by some simple means to generate a new URI, or alter some other textual bit easily, other than reposting the whole episode?

    Plugin version 2.5.2

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jonfabritius

    (@jonfabritius)

    Looking at these lines, it seems a permalink related setting might help me out:

    // Audio file
    $audio_file = $ss_podcasting->get_enclosure( get_the_ID() );
    
    if ( get_option( 'permalink_structure' ) ) {
      $enclosure = $ss_podcasting->get_episode_download_link( get_the_ID() );
    } else {
      $enclosure = $audio_file;
    }

    Let’s find out ??

    Plugin Author Craig Hewitt

    (@podcastmotor)

    Hi @jonfabritius thanks for the message. The simplest way around this would be to link to the audio files directly, and not have all listens/downloads pass through that /podcast-download/post-title-here step. However, this is the step that collects listenership information if you’re using our Seriously Simple Stats plugin. So if that listening analytics information isn’t important to you then you can use this code snippet to change to where the RSS feed links directly to your audio files. but again, doing this would render the Seriously Simple Stats plugin inoperable as it would not pick up on listening activity anymore.

    This is the code snippet to use to link directly to your media files and bypass the analytics collection step: https://gist.github.com/TheCraigHewitt/e918e39c4432334fc59d4d99dd0f8cb4

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feed file enclosure uri doesn’t reflect file changes, Spotify ignores it’ is closed to new replies.