MP2 - V2.5 TVMosaic Provider for MP2 (5 Viewers)

ge2301

Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,737
    3,501
    Stuttgart
    Home Country
    Germany Germany
    After making those changes I realized, that we already could have used the existing localized text. You could use the "[SlimTvClient.ScheduleRecordingType_EveryTimeOnEveryChannel]" as binding. This is the way the property gets filled
    Do you mean binding ScheduleType and [SlimTvClient.ScheduleRecordingType_EveryTimeOnEveryChannel] to make a book comparison?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Yes, exactly. It then does not matter if the text was localized, because you compare again with the same localized text.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,737
    3,501
    Stuttgart
    Home Country
    Germany Germany
    Yes, exactly. It then does not matter if the text was localized, because you compare again with the same localized text.
    For some reason it does not work with a ExpressionMultiValueConverter as below.

    XML:
            <Image.IsVisible>
              <MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}" ConverterParameter="{}{0}=={1}">
                <Binding Path="[ScheduleType]"/>
                <Binding Source="[SlimTvClient.ScheduleRecordingType_EveryTimeOnEveryChannel]"/>
              </MultiBinding>
            </Image.IsVisible>

    Can it be, that the ExpressionMultiValueConverter can just compare values, but not strings?
    Placing [SlimTvClient.ScheduleRecordingType_EveryTimeOnEveryChannel] into the program label shows it's same as [ScheduleType], but the logo is not shown. When I change it to != it's shown though, so for some reason they are not equal.

    1644611377994.png
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,737
    3,501
    Stuttgart
    Home Country
    Germany Germany
    I remember the issue now. MP2 converters do not allow bindings to localized strings in "[ ]". The brackets within the binding are taken as part of the string. We had this issue several times in the past. I tried to add the localized text into a ResourceWrapper and bind it as ThemeResource into the converter, but this does also no work. Conclusion: Only availability of ScheduleTypeEnum seems possible
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    @morpheus_xx as expected ScheduleTypeEnum is also not avialable in HomeContentStyles, when I tried to configure also the layout of the schedule tiles over there. Could you also add it there or tell me which model I need to look at. I might be also able to do it with your last commit as base.
    I added the label also to MediaLists, so you can access the enum string there as well.

    I will take a look, if we can add the string localization support to multibinding.
     

    danila_112

    Portal Member
    February 14, 2022
    46
    13
    Home Country
    Belarus Belarus
    Hello, friends! I used the WMC + DVBLink TVsource for many years, but now I had to look for a replacement for it. And here I am. I'm trying to set up my HTPC to watch TV. I installed mediaportal 2 from the first post. I'm having a hard time figuring out how to set it up. Do I still need to install TV mosaic CE separately and scan channels in it?
     
    Last edited:

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,737
    3,501
    Stuttgart
    Home Country
    Germany Germany
    Do I still need to install TV mosaic CE separately and scan channels in it?
    Yes of course, you need to install TVMosaic CE linked in first post. MP2 is in this case just the GUI taking the TV-data from the TVMosaic server.
    Please also note, that the implementation is in beta state, so some things are not fully implemented yet. In case you want a stable TV functionality I recommend to better install the MP2.4 release with own TV engine.
    BTW, MP2 has a WMC skin, just in case you didn't realize yet ;)
     

    danila_112

    Portal Member
    February 14, 2022
    46
    13
    Home Country
    Belarus Belarus
    In case you want a stable TV functionality
    sure! TV mosaic unstable?
    better install the MP2.4 release with own TV engine
    I first tried own MP engine. But when I scan channels from satellite 36E, the program always crashes on transponder 39. How can I scan only the transponders that I need? Or maybe i can delete transponder 39, but how?
     

    Attachments

    • crashMP.jpg
      crashMP.jpg
      105.5 KB
    Last edited:

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,737
    3,501
    Stuttgart
    Home Country
    Germany Germany
    sure! TV mosaic unstable?
    No, but as mentioned the implementation into MP2 is not finished, so some things might not work yet as expected. TVMosaic itself is completely developed, so stable.
    I first tried own MP engine. But when I scan channels from satellite 36E, the program always crashes on transponder 39. How can I scan only the transponders that I need? Or maybe i can delete transponder 39, but how?
    You better create an own thread for this and upload also the log files.
     

    Users who are viewing this thread

    Top Bottom