DVD Order Agent

Just installed this today to fix my Firefly. The order's fine now but the theme music's gone. I've gone over all my settings and everything that needs to be checked is checked. I've unmatched and rematched several times, but no luck. When I go back to the default agent, the theme music works again. Any suggestions? I'm running my server on win 8.1.

Edit:

Nevermind! Figured it out. Did not see the bit about editing PlexThemeMusic.bundle's __init__.py earlier. The last mention of having to do this was quite a while ago, and the file has changed a bit since. I know others have had this issue and not everyone knows Python, so I've copied the contents of my __init__.py here. Just open /PlexThemeMusic.bundle/Contents/Code/__init__.py and replace the contents with the code below, restart your server, and rematch/refresh the show you're matching with this agent, and the theme music should work properly. PMS seems to rewrite this file quite regularly with the original, so marking it read-only wouldn't hurt.

#Plex Theme Music
THEME_URL = 'http://tvthemes.plexapp.com/%s.mp3'

def Start():
HTTP.CacheTime = CACHE_1DAY

class PlexThemeMusicAgent(Agent.TV_Shows):
name = ‘Plex Theme Music’
languages = [Locale.Language.NoLanguage]
primary_provider = False
contributes_to = [
‘com.plexapp.agents.thetvdb’,
‘com.plexapp.agents.thetvdbdvdorder’,
‘com.plexapp.agents.themoviedb’
]

def search(self, results, media, lang):

if media.primary_agent == 'com.plexapp.agents.thetvdb' or media.primary_agent == 'com.plexapp.agents.thetvdbdvdorder':
  results.Append(MetadataSearchResult(
    id = media.primary_metadata.id,
    score = 100
  ))

elif media.primary_agent == 'com.plexapp.agents.themoviedb':
  # Get the TVDB id from the Movie Database Agent
  tvdb_id = Core.messaging.call_external_function(
    'com.plexapp.agents.themoviedb',
    'MessageKit:GetTvdbId',
    kwargs = dict(
      tmdb_id = media.primary_metadata.id
    )
  )

  if tvdb_id:
    results.Append(MetadataSearchResult(
      id = tvdb_id,
      score = 100
    ))

def update(self, metadata, media, lang):
if THEME_URL % metadata.id not in metadata.themes:
try:
metadata.themes[THEME_URL % metadata.id] = Proxy.Media(HTTP.Request(THEME_URL % metadata.id))
except:
pass