Announcement

Collapse
No announcement yet.

[ANNOUNCE] TVH Plugin - TVHeadend integration

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Hi Andrew,

    I just had an idea for a feature request using TVH. Quiet a lot of TV channels using different audio tracks for additional features like AD - a mixture or a combination of the film sound and a descriptive commentary is sent on this audio description (AD) sound channel.

    With the possibility of choose this AD audio channel, a movie played via LMS would be like an audio book.

    Do you think it is possible to add a feature to dicide between different audio tracks?
    LMS: 8.3.1 - 1667914563
    on RPi4/ Raspbian Buster 10
    points to MusicLibrary on QNAP TS212 (NFS)

    1x Duet - Cntrl-FW: 8.0.1-r16907/ Receiver-FW: 77
    2x SB Radio - FW: 8.0.1-r16907
    1x Squeezebox Boom - FW 57
    1x Transporter - FW: 87
    RPi 2B - pCP 8.0.1/ SqueezeLite v1.9.9-1391-pCP
    Softsqueeze 3.9.2 on Win 10 / Squeezeplay 8.0.1r1343 on Win 10
    Squeeze Player 1.3.21 on S22/Android 13.0.0

    Controller:
    Android Phone - Squeezer 2.3.0/ Material Skin 3.0.1

    Comment


      #32
      Originally posted by MichaelPr View Post
      Hi Andrew,

      I just had an idea for a feature request using TVH. Quiet a lot of TV channels using different audio tracks for additional features like AD - a mixture or a combination of the film sound and a descriptive commentary is sent on this audio description (AD) sound channel.

      With the possibility of choose this AD audio channel, a movie played via LMS would be like an audio book.

      Do you think it is possible to add a feature to dicide between different audio tracks?
      I've not seen any option in the TVH API's to list audio channels, I think that would be down to parsing the audio stream somehow and getting the detail out, I just pass the stream straight to LMS to play so don't think that would be possible, by me at least.
      Andrew.

      Squeezebox Transporter Black/TransNav - Onkyo TX-NR1009 - Dali Zensor 5 fronts, Dali E12F Sub
      Squeezebox Touch - Audio Engine A2
      Squeezebox Receiver - Audio Engine A2
      Squeezebox Radio
      Squeezebox Boom
      Squeezebox Controller

      Server: Lenovo ThinkServer TS140 Ubuntu/Docker, LMS 7.9.3 (own docker image)
      iPeng

      Comment


        #33
        Originally posted by CodeChimp View Post
        I've not seen any option in the TVH API's to list audio channels
        That's a pity! So, we have to convince the TVH people to expand their API - I guess a hopeless undertaking, as there is almost no development anymore...
        LMS: 8.3.1 - 1667914563
        on RPi4/ Raspbian Buster 10
        points to MusicLibrary on QNAP TS212 (NFS)

        1x Duet - Cntrl-FW: 8.0.1-r16907/ Receiver-FW: 77
        2x SB Radio - FW: 8.0.1-r16907
        1x Squeezebox Boom - FW 57
        1x Transporter - FW: 87
        RPi 2B - pCP 8.0.1/ SqueezeLite v1.9.9-1391-pCP
        Softsqueeze 3.9.2 on Win 10 / Squeezeplay 8.0.1r1343 on Win 10
        Squeeze Player 1.3.21 on S22/Android 13.0.0

        Controller:
        Android Phone - Squeezer 2.3.0/ Material Skin 3.0.1

        Comment


          #34
          Hi,

          thanks for another neat plugin for LMS!
          I tried to install it but it fails to load:

          Code:
          [21-10-10 16:08:06.8273] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::TVH::Plugin] failed to load:
          "isdual" is not exported by the Scalar::Util module
          Can't continue after import errors at C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/TVH/API.pm line 18
          BEGIN failed--compilation aborted at C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/TVH/API.pm line 20.
          Compilation failed in require at C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/TVH/Plugin.pm line 11.
          BEGIN failed--compilation aborted at C:\ProgramData\Squeezebox\Cache\InstalledPlugins/Plugins/TVH/Plugin.pm line 11.
          Compilation failed in require at (eval 1914) line 2.
          BEGIN failed--compilation aborted at (eval 1914) line 2.
          
          [21-10-10 16:08:06.8279] Slim::Utils::PluginManager::load (323) Error: Couldn't load Plugins::TVH::Plugin
          This is on an LMS 8.2.0 on a Windows Server 2008 R2.
          I spun up the LMS docker container and there it runs flawless.

          Is there anything that can be done to solve that?
          (Yes, of course, migrate your install to linux - and that will happen at some point. However, this LMS runs on this server since it was installed more than 10 years ago, so it has done a good job for quite some time...)
          If not or only with much effort it's fine if not.

          And yes, it's a pity that there is almost no developement at TVH, another system which is doing a great job for quite a while here.

          Comment


            #35
            That feels like a Perl problem .. with the module being very old (isdual was included from since version 1.26 of Scalar::Utils and current on CPAN is 1.55).
            However, I could not find that Perl module on my LMS installation so maybe it is hidden inside something else with a non-obvious name.

            Anyway - assuming your are running the official lms .exe file and not a home-brew using a local Perl installation then I suggest trying 8.2.1 from the nightlies to see if it fixes it by magic.
            Paul Webster
            Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
            and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

            Comment


              #36
              Hi,

              8.2.1 hasn't helped. What I found though was that the docker instance is 8.2.0, too - but has Perl version 5.32.1. Windows has 5.14.1. I found now some threads that LMS on Windows is stuck on Perl 5.14.
              So could that be the problem that 5.14 just won't do? On https://perldoc.perl.org/Scalar::Util#isdual it says "since version 1.26". Maybe that's the culprit then?

              Thanks

              Comment


                #37
                So it seems it's the a little old Perlversion is the problem and it's time to move my LMS from Win to Linux, right?

                Comment


                  #38
                  Hello just wondered could access to recordings be added so you can playback any radio recoding's ?

                  Comment

                  Working...
                  X