Album image in Media Player for Custom Post Type with Custom Taxonomy
-
First of all, thanks for your great plugin! This is a request to re-introduce the
ssp_episode_image
filter.I am working on a site that will host multiple podcasts and courses. Courses behave so differently from ‘ordinary’ podcasts, that I want to use a custom post type (CPT) “unit“ and a custom taxonomy “course” that plays a similar role as SSP’s series taxonomy for that CPT; that is, posts of the type “unit” won’t be assigned a term from SSP’s series taxonomy.
However, I would also like users to be able to assing ‘album art’ images for the media player per course (i.e., per “course” taxonomy term), rather than only per individual course unit (i.e., per “unit” post). SSP’s Filter Reference mentions a filter
ssp_episode_image
, and I thought I could use that filter to override the episode image for posts of the type “unit.” But I cannot. I investigated, and it appears to me that the album art image is loaded viaSeriouslySimplePodcasting\Repositories\Episode_Repository::get_album_art
, and that method does not invoke thessp_episode_image
filter.Since you mention that filter in your documentation, I am not sure whether this is a bug, or whether the documentation is simply outdated. Either way, if you could (re-)add a filter that allows to change the album art image shown for a post in the media player, that would be very much appreciated! I would submit a Pull Request, but the GitHub repository is definitely outdated.
- The topic ‘Album image in Media Player for Custom Post Type with Custom Taxonomy’ is closed to new replies.