NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 24 25 26 27 28 … 193 Next »
Request: Possibility to switch Audio Renderer on the fly

 
  • 0 Vote(s) - 0 Average
Request: Possibility to switch Audio Renderer on the fly
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#31
2011-07-09, 07:16 PM
imilne Wrote:As an aside; is the process for resuming a DVD different? I haven't actually tried it yet, but I've seen references to bookmarks in the log files, and what with menus and so on, I could imagine it being different.
Sorry, DVDs are a bit different and there is no API around resuming these at the moment. I cant resume to a certain spot, and it does involve restoring bookmarks etc, but there is no public API around this.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#32
2011-07-09, 09:37 PM
sub Wrote:Sorry, DVDs are a bit different and there is no API around resuming these at the moment. I cant resume to a certain spot, and it does involve restoring bookmarks etc, but there is no public API around this.

Good job we're in the wishlist forum then Big Grin

Iain
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#33
2011-07-09, 09:50 PM
Another update...it's not very elegant, but I think I might be onto something with System.Windows.Forms.SendKeys.Send("{ESC}")

Time for bed now though. Thanks for your help.

Iain
BigMoose
Offline

Posting Freak

Posts: 838
Threads: 44
Joined: Jan 2008
#34
2011-07-09, 10:27 PM
One snag I found today was with AC3 recordings and the telly not coping with AC3 over HDMI. I assume it's not possible for me to configure the PC/filters to convert for the HDMI renderer but leave well alone for the SPDIF? Works perfectly for other recordings/vidoes though Smile
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#35
2011-07-10, 08:26 AM
BigMoose Wrote:One snag I found today was with AC3 recordings and the telly not coping with AC3 over HDMI. I assume it's not possible for me to configure the PC/filters to convert for the HDMI renderer but leave well alone for the SPDIF? Works perfectly for other recordings/vidoes though Smile

I'm not quite sure what you mean? If you send AC3 via HDMI to your TV you get no sound?

Depending on which filters you use, you might be able to change their settings via command-line regedit calls or something. If so, it would be easy enough for me to have the plugin run a batch file related to the renderer name when it's activated, eg Default.bat or HDMI.bat...

Iain
BigMoose
Offline

Posting Freak

Posts: 838
Threads: 44
Joined: Jan 2008
#36
2011-07-10, 04:06 PM
Yes, that's exactly what I mean. The TV plays mpeg2 audio (or pcm or whatever it gets sent with SD channels) but cant play AC3. I've told the audio decoder to pass through AC3 and DTS for the spdif/amp, but the telly cant handle these. I assume it's not possible to tell the decoder what to depending on the renderer as it has no way of knowing which it is...
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#37
2011-07-10, 04:50 PM
BigMoose Wrote:I assume it's not possible to tell the decoder what to depending on the renderer as it has no way of knowing which it is...
No it doesn't. But this plugin does.

I don't know about other decoders, but AC3filter is very easy to control via registry tweaks that can be called from the command line. If I add support for calling batch files with names matching the renderer name being switched to, then you can put whatever you need into them to ensure, for example, only downmixed stereo is ever sent to the TV via HDMI, but AC3 passthrough is used with SPDIF to the amp.

As an example, if you set up AC3filter for AC3 audio, then you could just export those settings from the registry into ac3.reg. To apply them again at a later date (ie, when the plugin is changing renderer), then it's just:
Code:
regedit /s ac3.reg
Which could be placed inside of /Plugins/AudioAdjust/<your_spdif_renderer_name>.bat

Iain
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#38
2011-07-16, 06:14 PM
Here's another small update that adds automatic resumption of Live TV and media files (but not DVDs) when you toggle the audio renderer.

I've got a few more things to tidy up over the next couple of days, and then I'll try to turn it into a proper release with a setting screen, wiki location, and so on.

Iain
ShiningDragon
Offline

Posting Freak

Germany
Posts: 1,493
Threads: 146
Joined: Sep 2005
#39
2011-07-22, 11:38 PM
imilne, please forgive me the late feedback! I just hadn't time to test your new release.

What shall i say? I am very, very greatful! The automatic resumption of media files works like a charme! Even if i switch from one to another and back and over again. Very stable and reliable. It resumes where it should.

Finally you have raised the worth of 3(!) machines at my home. All of them now can switch on the fly without any problems from one renderer to another. Even my daughter (6 yrs old) is now able to switch from one renderer to another. So simple, so good. It's impressive, that such a small "plugin" can make so much better.

Thank you very, very much, imilne. =)
You like nPVR? Then please help pay the bills, and keep the project alive!

My happy NextPVR family

Frei nach Dieter Nuhr: Wenn man keine Ahnung hat, einfach mal die Fresse halten.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#40
2011-07-23, 12:32 PM
Great stuff. Glad it's all working for you!

Iain
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Request for XMLTV EPG Export Link or/and File t2t4 3 1,560 2022-11-24, 01:15 PM
Last Post: mvallevand
  Request for a new error message TGinAZ 2 914 2022-11-02, 12:46 AM
Last Post: TGinAZ
  Feature Request: EIT Support, plus Stop and Save Recording. Chris4877 8 1,825 2022-09-12, 12:58 AM
Last Post: mvallevand
  Client Request kirschey 7 1,928 2021-10-05, 11:31 PM
Last Post: sub
  Feature request (recordings calendar view) ThymeJ 1 2,406 2021-09-19, 04:44 AM
Last Post: sub
  v5 missing featuresr request eastavin 3 1,578 2021-01-15, 08:03 PM
Last Post: mvallevand
  Request a Programme Reminder Feature IanC 2 1,481 2020-04-25, 03:06 PM
Last Post: IanC
  Web API Request jcole998 2 1,485 2020-03-24, 05:28 PM
Last Post: jcole998
  minor request. time and date format martint123 3 2,111 2020-03-07, 10:56 PM
Last Post: sub
  Closed Captioning request Rich A 4 2,763 2018-02-22, 07:40 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode