Theme.mp3 ignored by Plex

Server Version#: 1.25.9.5673
Player Version#: 4.77.3

Hello. First, sorry for my English, I use a translator.

Here is my problem. For some TV shows, I prefer a personal musical theme, via a theme.mp3 file that I place in the show folder according to the indications of the Plex support.

Sometimes it works the first time, other times I have to insist, by refreshing the metadata, and sometimes it doesn’t work at all despite my various attempts, Plex persists in playing the theme it found online.

I have done a lot of cross-testing which has shown that the problem is not with the mp3 file.

In the agent settings, I have placed Local Media Assets (TV) in the top position.

I tried to restart the server, clean up the bundles, refresh again and again, unlink and re-link the tv show, many other manips, to no avail.

I hope someone can help me.

Thank you :slight_smile:

Dany

That’ll only apply if you’re using a legacy agent – not with the current Plex TV Series agent.

If you add a theme.mp3 file, you need to refresh the show’s metadata for Plex to pick that up. Also make sure it’s an actual mp3 file – not some other media type renamed as mp3.

Thanks for your answer.

“Actual” mp3 file ?

it’s an mp3 I just downloaded, I tried several. I put it in the directory and I rename it theme.mp3

You can put an mp3 file extension at pretty much any file. Most OS will play audio files in pretty much any format ok, no matter if the file extension is matching its content or mp3. Just saying there’s been a number of posts where users had issues and it turned out they were adding some other audio formats into their theme.mp3.

Please post the contents (i.e. NOT the URL!) of the Plex media info XML of one episode of an affected show.

the mp3 it’s correct. For my tests I copied an mp3 that was accepted in another tv show, so I know that the file is correct :slight_smile:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="1" librarySectionTitle="Séries" librarySectionUUID="5da4e607-6544-4957-9319-8deb9bab56f7" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1648022280">

<Video ratingKey="49550" key="/library/metadata/49550" parentRatingKey="49544" grandparentRatingKey="49520" guid="plex://episode/5d9c186b705e7a001e79d5ba" parentGuid="plex://season/602e70f0c47d69002c8c68b5" grandparentGuid="plex://show/5d9c08ccba6eb9001fbaa4d7" type="episode" title="Vous-même allez prendre une décision sur votre avenir" titleSort="Vous-meme allez prendre une decision sur votre avenir" grandparentKey="/library/metadata/49520" parentKey="/library/metadata/49544" librarySectionTitle="Séries" librarySectionID="1" librarySectionKey="/library/sections/1" grandparentTitle="Anne with an E" parentTitle="Saison 1" originalTitle="Your Will Shall Decide Your Destiny" contentRating="TV-G" summary="Un malentendu amène Anne Shirley, orpheline pleine de vie, aux Pignons verts où Matthew et Marilla Cuthbert, un frère et une sœur célibataires, attendaient un garçon." index="1" parentIndex="1" audienceRating="8.6" viewCount="1" skipCount="1" lastViewedAt="1647808902" parentYear="2017" thumb="/library/metadata/49550/thumb/1648570187" art="/library/metadata/49520/art/1648570186" parentThumb="/library/metadata/49544/thumb/1648570187" grandparentThumb="/library/metadata/49520/thumb/1648570186" grandparentArt="/library/metadata/49520/art/1648570186" grandparentTheme="/library/metadata/49520/theme/1648570186" duration="5311520" originallyAvailableAt="2017-03-19" addedAt="1648567378" updatedAt="1648570187" audienceRatingImage="themoviedb://image.rating">

<Media id="55251" duration="5311520" bitrate="3232" width="1920" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="eac3" videoCodec="h264" videoResolution="1080" container="mp4" videoFrameRate="24p" optimizedForStreaming="0" has64bitOffsets="0" videoProfile="main">

<Part accessible="1" exists="1" id="56542" key="/library/parts/56542/1647798284/file.mp4" duration="5311520" file="\\Diskstation\Séries TV\Anne With an E\Saison 1\Vous-même allez prendre une décision sur votre avenir\Anne with an E_S01E01_Vous-même allez prendre une décision sur votre avenir.mp4" size="2145694842" container="mp4" has64bitOffsets="0" hasThumbnail="1" optimizedForStreaming="0" videoProfile="main">

<Stream id="108201" streamType="1" default="1" codec="h264" index="0" bitrate="2589" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1088" codedWidth="1920" frameRate="23.976" hasScalingMatrix="0" height="1080" level="40" profile="main" refFrames="1" streamIdentifier="1" width="1920" displayTitle="1080p (H.264)" extendedDisplayTitle="1080p (H.264)"> </Stream>

<Stream id="108202" streamType="2" selected="1" default="1" codec="eac3" index="1" channels="6" bitrate="640" language="Anglais" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" samplingRate="48000" streamIdentifier="2" displayTitle="Anglais (EAC3 5.1)" extendedDisplayTitle="Anglais (EAC3 5.1)"> </Stream>

<Stream id="108205" key="/library/streams/108205" streamType="3" selected="1" codec="srt" format="srt" displayTitle="Inconnu (SRT Externe)" extendedDisplayTitle="Inconnu (SRT Externe)"> </Stream>

</Part>

</Media>

<Director id="141759" filter="director=141759" tag="Niki Caro"/>

<Writer id="73195" filter="writer=73195" tag="Moira Walley-Beckett"/>

<Guid id="imdb://tt6175932"/>

<Guid id="tmdb://1288926"/>

<Guid id="tvdb://5936523"/>

<Rating image="themoviedb://image.rating" value="8.6" type="audience"/>

<Role id="141748" filter="actor=141748" tag="Ian D. Clark" role="Stationmaster" thumb="https://metadata-static.plex.tv/people/5d776860103a2d001f56f95a.jpg"/>

<Role id="141760" filter="actor=141760" tag="Edie Inksetter" role="Mrs. Hammond" thumb="https://metadata-static.plex.tv/people/5d77692551dd69001fe155f5.jpg"/>

<Role id="141761" filter="actor=141761" tag="Martha Girvin" role="Mrs. Spencer" thumb="https://metadata-static.plex.tv/people/5d776b3cfb0d55001f56109a.jpg"/>

<Role id="141724" filter="actor=141724" tag="Jonathan Holmes" role="Mr. William Barry" thumb="https://metadata-static.plex.tv/people/5d77682e85719b001f3a243c.jpg"/>

<Role id="141762" filter="actor=141762" tag="Avery Trask" role="Girl #1"/>

<Role id="141763" filter="actor=141763" tag="Zoe McGarry" role="Girl #2"/>

<Role id="141764" filter="actor=141764" tag="Michelle Giroux" role="Mrs. Blewett"/>

<Role id="141723" filter="actor=141723" tag="Helen Johns" role="Mrs. Eliza Barry" thumb="https://metadata-static.plex.tv/people/5d776c0a51dd69001fe36f1e.jpg"/>

<Role id="141749" filter="actor=141749" tag="Sarah Dodd" role="Matron" thumb="https://metadata-static.plex.tv/f/people/f3bcb2ad7b2150d181b486f435c9214e.jpg"/>

<Role id="141765" filter="actor=141765" tag="Helene Robbie" role="Elegant Woman"/>

<Role id="141766" filter="actor=141766" tag="Alexandra Floras-Matic" role="Older Girl"/>

<Role id="141767" filter="actor=141767" tag="Timothy Mooney" role="Mr. Hammond" thumb="https://metadata-static.plex.tv/people/5d776b5c594b2b001e6d79f6.jpg"/>

<Role id="141750" filter="actor=141750" tag="Dan Warry-Smith" role="Stablemaster"/>

<Role id="132721" filter="actor=132721" tag="Philip Williams" role="Thomas Lynde" thumb="https://metadata-static.plex.tv/people/5d776826880197001ec9071b.jpg"/>

<Role id="141751" filter="actor=141751" tag="Ryan Kiera Armstrong" role="Minnie May Barry" thumb="https://metadata-static.plex.tv/b/people/b2fb1e2632238cc7aaaa0cf5ce8e09ec.jpg"/>

<Marker id="63326" type="intro" startTimeOffset="35778" endTimeOffset="76970">

<Attributes id="63326"/>

</Marker>

<Extras size="0"> </Extras>

<Related> </Related>

</Video>

</MediaContainer>

Orange text is a hyperlink in this forum.

You can. Just leave it in your post, I’ll apply some formatting to make it visible.

1 Like

Case solved.
You are not adhering to the naming guide lines. https://support.plex.tv/articles/naming-and-organizing-your-tv-show-files/
You have an additional folder level in in there. (don’t create folders for each individual episode)

I am assuming that your tv show library is pointing to exactly the folder \\Diskstation\Séries TV
The theme.mp3 belongs directly into \\Diskstation\Séries TV\Anne With an E

1 Like

That’s right, I didn’t see that problem. I just rectified the structure, and now it works, thanks a lot!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.