darkassassin07 423 Posted April 3, 2018 Share Posted April 3, 2018 (edited) By default audio comes from the hdmi but not the analog out. This makes my stereo... Well it makes a pretty good art piece i guess :/ Maybe a setting or configuration file im missing? /edit This only seems to effect videos. Music. Plays from the analog. As a side note, while casting from android to the pi, if you are playing video, and you start a new video before the current one ends, theater refuses to load anything else until you restart it. It doesn't matter if you pressed stop before you started the next one, you have to let it finish, or click stop and exit the player with the mouse. Edited April 3, 2018 by darkassassin07 Link to comment Share on other sites More sharing options...
darkassassin07 423 Posted April 5, 2018 Author Share Posted April 5, 2018 Anyone? This is "https://github.com/MediaBrowser/emby-theater-pi.git"loaded onto raspbian on a RPI 3 Playing music audio plays just fine via the analog out. Playing any type of video, sound only plays through the HDMI. Playing from the browser (chromium) doesn't have this issue, but the video stutters now and again with the browser. Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 6, 2018 Share Posted April 6, 2018 Have you explored the audio settings in the app? If so, what have you tried? Link to comment Share on other sites More sharing options...
darkassassin07 423 Posted April 6, 2018 Author Share Posted April 6, 2018 The only playback settings at all are: -Preferred audio language [english] -Video quality for local/internet streaming [auto] -Music quality when internet streaming [auto] -play next epp/ show play next info [enabled] -subtitle language/mode [english/no subtitles] I have spent a couple mins looking through the various files in the emby-theater-pi directory, but haven't found anything relevant so far... Not sure what else to try. Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 6, 2018 Share Posted April 6, 2018 The default settings should be fine though. What exactly happens when you try? Link to comment Share on other sites More sharing options...
darkassassin07 423 Posted April 7, 2018 Author Share Posted April 7, 2018 Exactly as the top two posts: Play music, audio plays from HDMI and analog out (headphone jack) Play a video, audio only plays from the HDMI I don't have any other issues with playback on any media, just no analog audio with video. Link to comment Share on other sites More sharing options...
darkassassin07 423 Posted April 9, 2018 Author Share Posted April 9, 2018 (edited) ... :/ ? It doesn't matter what format, or library im playing video. Mp4, avi, movies, tv shows, home vids. No video at all has audio from the analog out Edited April 9, 2018 by darkassassin07 Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 9, 2018 Share Posted April 9, 2018 I'm not sure at this point. I think this is going to be specific to your setup. @@denz perhaps you know? Link to comment Share on other sites More sharing options...
darkassassin07 423 Posted April 9, 2018 Author Share Posted April 9, 2018 https://emby.media/community/index.php?/topic/42760-emby-theater-on-raspberry-pi/page-17&do=findComment&comment=564333 For reference, here's the exact steps I took to install emby-theater-pi on my RaspberryPI 3 model B V1.2 Link to comment Share on other sites More sharing options...
denz 426 Posted April 9, 2018 Share Posted April 9, 2018 I never tried over analogue my rpi is connected over hdmi to a TV I can try it as see. Link to comment Share on other sites More sharing options...
denz 426 Posted April 14, 2018 Share Posted April 14, 2018 I had a look at omxplayer settings and to get analogue output you have to pass -o local. I tried it and it works but I can not get it to work in theater. Instead of local you can put both or hdmi. Link to comment Share on other sites More sharing options...
darkassassin07 423 Posted April 22, 2018 Author Share Posted April 22, 2018 @@Luke How could I go about fixing this? Without the analog out, my pi is useless as a emby box. The web app is to slow/buggy on chromium+raspbian and I cant find another option :/ Befor switching from plex to emby the pi was my most used device across all my users. Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 22, 2018 Share Posted April 22, 2018 I haven't had a chance to look at this personally. This app is using omx player which I'm not really an expert with. Why not just use HDMI? Link to comment Share on other sites More sharing options...
darkassassin07 423 Posted April 23, 2018 Author Share Posted April 23, 2018 The tv im using has really shitty speakers, i have a separate stereo for audio, but it uses the analog. My only other option is to buy an HDMI audio extractor, but thats kind of an unnecessary cost when the rpi has analog onboard. It works with everything else, just not emby theater playing video. That seems strange to me, why does it not use the systems audio settings? Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 23, 2018 Share Posted April 23, 2018 That's what I would have expected too, I am just not really an expert with omx player. At some point when we build an install package, then we'll go through all of this. Thanks. Link to comment Share on other sites More sharing options...
denz 426 Posted April 24, 2018 Share Posted April 24, 2018 Hi @@Luke I am not sure you have read my post above to get analog out you have to pass the option -o local or -o both but I am haven’t had the time to figure out where you put that option in playbackhandler file Link to comment Share on other sites More sharing options...
darkassassin07 423 Posted April 26, 2018 Author Share Posted April 26, 2018 (edited) Thank you @@denz, with that info I did a bit of poking around and fixed my problem Open the file 'playbackhandler.js' and directly after: var args = ["--alpha", "180"]; Add the lines: args.push("--adev"); //(or -o, either way) args.push("both"); Audio now plays from both sources Edited April 26, 2018 by darkassassin07 Link to comment Share on other sites More sharing options...
denz 426 Posted April 26, 2018 Share Posted April 26, 2018 Well done. Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 26, 2018 Share Posted April 26, 2018 Great info, thanks guys. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now