Ticket #9385: mythburn.py.diff

File mythburn.py.diff, 1.6 KB (added by hobbes1069@…, 9 years ago)

quick fix patch for mythburn.py

  • mythburn.py

    old new  
    26772677                command += "-a %d " % (audio1[AUDIO_ID])
    26782678            elif audio1[AUDIO_CODEC] == 'AC3':
    26792679                command += "-c %d " % (audio1[AUDIO_ID])
     2680            elif audio1[AUDIO_CODEC] == 'EAC3':
     2681                command += "-c %d " % (audio1[AUDIO_ID])
    26802682
    26812683        if audio2[AUDIO_ID] != -1:
    26822684            if audio2[AUDIO_CODEC] == 'MP2':
    26832685                command += "-a %d " % (audio2[AUDIO_ID])
    26842686            elif audio2[AUDIO_CODEC] == 'AC3':
    26852687                command += "-c %d " % (audio2[AUDIO_ID])
     2688            elif audio2[AUDIO_CODEC] == 'EAC3':
     2689                command += "-c %d " % (audio2[AUDIO_ID])
    26862690
    26872691    else:
    26882692        command = "mythreplex --demux --fix_sync -o %s " % (folder + "/stream")
     
    26932697                command += "-a %d " % (audio1[AUDIO_ID] & 255)
    26942698            elif audio1[AUDIO_CODEC] == 'AC3':
    26952699                command += "-c %d " % (audio1[AUDIO_ID] & 255)
     2700            elif audio1[AUDIO_CODEC] == 'EAC3':
     2701                command += "-c %d " % (audio1[AUDIO_ID] & 255)
     2702
    26962703
    26972704        if audio2[AUDIO_ID] != -1:
    26982705            if audio2[AUDIO_CODEC] == 'MP2':
    26992706                command += "-a %d " % (audio2[AUDIO_ID] & 255)
    27002707            elif audio2[AUDIO_CODEC] == 'AC3':
    27012708                command += "-c %d " % (audio2[AUDIO_ID] & 255)
     2709            elif audio2[AUDIO_CODEC] == 'EAC3':
     2710                command += "-c %d " % (audio2[AUDIO_ID] & 255)
    27022711
    27032712    mediafile = quoteFilename(mediafile)
    27042713    command += mediafile