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

joecrow

Test Group
  • Team MediaPortal
  • August 9, 2012
    2,649
    1,994
    Home Country
    Germany Germany
    Hi
    I would really like to understand more about the capabilities of TV Mosaic, I like what I have seen so far but I have not been able to find a good description of all that it can do. On the internet I have only found the closure notification and a user forum, if there is more please would someone post a link.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I came a bit further but now stuck again. I use the API documentation from here: https://dvblogic.com/download/tvmosaic/tvmosaic_remote_api.pdf

    I created a basic MDE which treats all .ts under TvMosaic's recording folder as "Recording" (adding the needed RecordingAspect). Now I also want to know the channel, description a.s.o.
    It took already a while to find an example how to use the query for this.

    As response I get the wanted information, well partially. Because now I am missing the real file names, here I see only playback urls. So now I can't match file to description from API :(

    XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <object>
        <containers />
        <items>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/7-7164787796096061338-1639698900</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f7-7164787796096061338-1639698900</url>
                <thumbnail></thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>0</size>
                <creation_time>0</creation_time>
                <channel_id>2:410000:1:1011:11110</channel_id>
                <channel_name></channel_name>
                <channel_number>-1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>1</state>
                <schedule_id>7</schedule_id>
                <schedule_name>Blutige Anfänger</schedule_name>
                <schedule_series>true</schedule_series>
                <video_info>
                    <name>Blutige Anfänger</name>
                    <short_desc>Nazi-Opa
    Krimiserie, Deutschland 2021
    Dietmar Zingst, der "Großvater der rechten Szene in Halle", liegt morgens tot in seinem Krankenhausbett. Ein Brief auf dem Nachttisch belastet seine Krankenschwester Britta Malouf.
    
    Zingst hat die Frau des Chefs der Mordkommission, Sami Malouf, als Erbin eingesetzt. Die Obduktion ergibt, dass Zingst vergiftet wurde. Obwohl Britta das Erbe rechtlich gar nicht antreten darf, gehört sie zu den Verdächtigen. Malouf zieht sich aus dem Fall zurück.
    Darsteller:
    Ann-Christin Heffner - Jane Chirwa
    Inka Kubicki - Luise von Finckh
    Kilian Hirschfeld - François Goeske
    Marc Abel - Timmi Trinks
    Sami Malouf - Neil Malik Abdullah
    Michael Kelting - Werner Daehn
    Regie: Irina Popow
    Buch/Autor: Lukas Flasch, Heike Brückner von Grumbkow
    Kamera: Erik Krambeck
    Schnitt: Dagmar Dick
    Musik: Christian Biegai, Kerim König
    HD-Produktion</short_desc>
                    <language>DEU</language>
                    <start_time>1639698844</start_time>
                    <duration>60</duration>
                    <cat_soap>true</cat_soap>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/6-15032786832619149141-1639691400</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f6-15032786832619149141-1639691400</url>
                <thumbnail>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f6-15032786832619149141-1639691400</thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>0</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>3</state>
                <schedule_id>6</schedule_id>
                <schedule_name>extra 3</schedule_name>
                <video_info>
                    <name>extra 3</name>
                    <short_desc>Christian Ehring
    Christian Ehring zeigt den Irrsinn der Woche</short_desc>
                    <language>DEU</language>
                    <image>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f6-15032786832619149141-1639691400</image>
                    <start_time>1639691344</start_time>
                    <duration>2373</duration>
                    <cat_drama>true</cat_drama>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/17-15032786832619149141-1641403200</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f17-15032786832619149141-1641403200</url>
                <thumbnail>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f17-15032786832619149141-1641403200</thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>1287888736</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>2</state>
                <schedule_id>17</schedule_id>
                <schedule_name>Manual schedule</schedule_name>
                <video_info>
                    <name>Manual schedule</name>
                    <image>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f17-15032786832619149141-1641403200</image>
                    <start_time>1641403242</start_time>
                    <duration>982</duration>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/21-15032786832619149141-1641404700</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f21-15032786832619149141-1641404700</url>
                <thumbnail></thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>0</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>2</state>
                <schedule_id>21</schedule_id>
                <schedule_name>Manual schedule</schedule_name>
                <video_info>
                    <name>Manual schedule</name>
                    <start_time>1641404737</start_time>
                    <duration>60</duration>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/14-15032786832619149141-1641255900</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f14-15032786832619149141-1641255900</url>
                <thumbnail>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f14-15032786832619149141-1641255900</thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>1723218528</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>3</state>
                <schedule_id>14</schedule_id>
                <schedule_name>Tagesschau</schedule_name>
                <video_info>
                    <name>Tagesschau</name>
                    <language>DEU</language>
                    <image>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f14-15032786832619149141-1641255900</image>
                    <start_time>1641255841</start_time>
                    <duration>959</duration>
                    <cat_news>true</cat_news>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/13-15032786832619149141-1641249300</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f13-15032786832619149141-1641249300</url>
                <thumbnail>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f13-15032786832619149141-1641249300</thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>2659631300</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>3</state>
                <schedule_id>13</schedule_id>
                <schedule_name>Tagesthemen</schedule_name>
                <video_info>
                    <name>Tagesthemen</name>
                    <short_desc>mit Wetter</short_desc>
                    <language>DEU</language>
                    <image>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f13-15032786832619149141-1641249300</image>
                    <start_time>1641249242</start_time>
                    <duration>1559</duration>
                    <cat_news>true</cat_news>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/4-15032786832619149141-1639504200</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f4-15032786832619149141-1639504200</url>
                <thumbnail>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f4-15032786832619149141-1639504200</thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>0</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>3</state>
                <schedule_id>4</schedule_id>
                <schedule_name>WaPo Bodensee (54)</schedule_name>
                <video_info>
                    <name>WaPo Bodensee (54)</name>
                    <short_desc>Töte mich
    Julia und Paul finden auf einer verlassenen Jacht Spuren eines Kampfes und Blutspuren. Seltsamerweise zeigt der ungemein unsympathische Eigner der Jacht, Simon Kohnert, nur wenig Interesse an der Aufklärung des Falls. Das macht Nele stutzig, zumal die Frau des Besitzers, Miriam Kohnert verschollen bleibt. Schnell stellt sich heraus, dass Simon Kohnert unter krankhafter Eifersucht leidet, seine Frau von einem Privatdetektiv beschatten ließ und sie regelmäßig schlug ...</short_desc>
                    <language>DEU</language>
                    <image>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f4-15032786832619149141-1639504200</image>
                    <start_time>1639504202</start_time>
                    <duration>3299</duration>
                    <cat_drama>true</cat_drama>
                </video_info>
            </recorded_tv>
        </items>
        <actual_count>7</actual_count>
        <total_count>7</total_count>
    </object>
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,737
    3,501
    Stuttgart
    Home Country
    Germany Germany
    I came a bit further but now stuck again. I use the API documentation from here: https://dvblogic.com/download/tvmosaic/tvmosaic_remote_api.pdf

    I created a basic MDE which treats all .ts under TvMosaic's recording folder as "Recording" (adding the needed RecordingAspect). Now I also want to know the channel, description a.s.o.
    It took already a while to find an example how to use the query for this.

    As response I get the wanted information, well partially. Because now I am missing the real file names, here I see only playback urls. So now I can't match file to description from API :(

    XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <object>
        <containers />
        <items>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/7-7164787796096061338-1639698900</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f7-7164787796096061338-1639698900</url>
                <thumbnail></thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>0</size>
                <creation_time>0</creation_time>
                <channel_id>2:410000:1:1011:11110</channel_id>
                <channel_name></channel_name>
                <channel_number>-1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>1</state>
                <schedule_id>7</schedule_id>
                <schedule_name>Blutige Anfänger</schedule_name>
                <schedule_series>true</schedule_series>
                <video_info>
                    <name>Blutige Anfänger</name>
                    <short_desc>Nazi-Opa
    Krimiserie, Deutschland 2021
    Dietmar Zingst, der "Großvater der rechten Szene in Halle", liegt morgens tot in seinem Krankenhausbett. Ein Brief auf dem Nachttisch belastet seine Krankenschwester Britta Malouf.
    
    Zingst hat die Frau des Chefs der Mordkommission, Sami Malouf, als Erbin eingesetzt. Die Obduktion ergibt, dass Zingst vergiftet wurde. Obwohl Britta das Erbe rechtlich gar nicht antreten darf, gehört sie zu den Verdächtigen. Malouf zieht sich aus dem Fall zurück.
    Darsteller:
    Ann-Christin Heffner - Jane Chirwa
    Inka Kubicki - Luise von Finckh
    Kilian Hirschfeld - François Goeske
    Marc Abel - Timmi Trinks
    Sami Malouf - Neil Malik Abdullah
    Michael Kelting - Werner Daehn
    Regie: Irina Popow
    Buch/Autor: Lukas Flasch, Heike Brückner von Grumbkow
    Kamera: Erik Krambeck
    Schnitt: Dagmar Dick
    Musik: Christian Biegai, Kerim König
    HD-Produktion</short_desc>
                    <language>DEU</language>
                    <start_time>1639698844</start_time>
                    <duration>60</duration>
                    <cat_soap>true</cat_soap>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/6-15032786832619149141-1639691400</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f6-15032786832619149141-1639691400</url>
                <thumbnail>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f6-15032786832619149141-1639691400</thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>0</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>3</state>
                <schedule_id>6</schedule_id>
                <schedule_name>extra 3</schedule_name>
                <video_info>
                    <name>extra 3</name>
                    <short_desc>Christian Ehring
    Christian Ehring zeigt den Irrsinn der Woche</short_desc>
                    <language>DEU</language>
                    <image>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f6-15032786832619149141-1639691400</image>
                    <start_time>1639691344</start_time>
                    <duration>2373</duration>
                    <cat_drama>true</cat_drama>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/17-15032786832619149141-1641403200</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f17-15032786832619149141-1641403200</url>
                <thumbnail>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f17-15032786832619149141-1641403200</thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>1287888736</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>2</state>
                <schedule_id>17</schedule_id>
                <schedule_name>Manual schedule</schedule_name>
                <video_info>
                    <name>Manual schedule</name>
                    <image>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f17-15032786832619149141-1641403200</image>
                    <start_time>1641403242</start_time>
                    <duration>982</duration>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/21-15032786832619149141-1641404700</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f21-15032786832619149141-1641404700</url>
                <thumbnail></thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>0</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>2</state>
                <schedule_id>21</schedule_id>
                <schedule_name>Manual schedule</schedule_name>
                <video_info>
                    <name>Manual schedule</name>
                    <start_time>1641404737</start_time>
                    <duration>60</duration>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/14-15032786832619149141-1641255900</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f14-15032786832619149141-1641255900</url>
                <thumbnail>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f14-15032786832619149141-1641255900</thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>1723218528</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>3</state>
                <schedule_id>14</schedule_id>
                <schedule_name>Tagesschau</schedule_name>
                <video_info>
                    <name>Tagesschau</name>
                    <language>DEU</language>
                    <image>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f14-15032786832619149141-1641255900</image>
                    <start_time>1641255841</start_time>
                    <duration>959</duration>
                    <cat_news>true</cat_news>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/13-15032786832619149141-1641249300</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f13-15032786832619149141-1641249300</url>
                <thumbnail>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f13-15032786832619149141-1641249300</thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>2659631300</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>3</state>
                <schedule_id>13</schedule_id>
                <schedule_name>Tagesthemen</schedule_name>
                <video_info>
                    <name>Tagesthemen</name>
                    <short_desc>mit Wetter</short_desc>
                    <language>DEU</language>
                    <image>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f13-15032786832619149141-1641249300</image>
                    <start_time>1641249242</start_time>
                    <duration>1559</duration>
                    <cat_news>true</cat_news>
                </video_info>
            </recorded_tv>
            <recorded_tv>
                <object_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F/4-15032786832619149141-1639504200</object_id>
                <parent_id>8F94B459-EFC0-4D91-9B29-EC3D72E92677:E44367A7-6293-4492-8C07-0E551195B99F</parent_id>
                <url>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aE44367A7-6293-4492-8C07-0E551195B99F%2f4-15032786832619149141-1639504200</url>
                <thumbnail>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f4-15032786832619149141-1639504200</thumbnail>
                <can_be_deleted>true</can_be_deleted>
                <size>0</size>
                <creation_time>0</creation_time>
                <channel_id>2:314000:1:1019:10301</channel_id>
                <channel_name>Das Erste HD</channel_name>
                <channel_number>1</channel_number>
                <channel_subnumber>-1</channel_subnumber>
                <state>3</state>
                <schedule_id>4</schedule_id>
                <schedule_name>WaPo Bodensee (54)</schedule_name>
                <video_info>
                    <name>WaPo Bodensee (54)</name>
                    <short_desc>Töte mich
    Julia und Paul finden auf einer verlassenen Jacht Spuren eines Kampfes und Blutspuren. Seltsamerweise zeigt der ungemein unsympathische Eigner der Jacht, Simon Kohnert, nur wenig Interesse an der Aufklärung des Falls. Das macht Nele stutzig, zumal die Frau des Besitzers, Miriam Kohnert verschollen bleibt. Schnell stellt sich heraus, dass Simon Kohnert unter krankhafter Eifersucht leidet, seine Frau von einem Privatdetektiv beschatten ließ und sie regelmäßig schlug ...</short_desc>
                    <language>DEU</language>
                    <image>http://localhost:9271/stream/playback?object=8F94B459-EFC0-4D91-9B29-EC3D72E92677%3aDA5F661E-540E-47B1-9DCC-3F40F5CB85CA%2f4-15032786832619149141-1639504200</image>
                    <start_time>1639504202</start_time>
                    <duration>3299</duration>
                    <cat_drama>true</cat_drama>
                </video_info>
            </recorded_tv>
        </items>
        <actual_count>7</actual_count>
        <total_count>7</total_count>
    </object>
    Can you not get everything directly from TVMosaic recording DB? Everything including file name and path to the thumbnail is available.
    1641748430255.png
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I had seen the database already, but the longer I think about this topic, I would go for another route:

    The access to local filesystem will work only if TvMosaic is running on same PC. This would make the advantage to run it on other devices obsolete. So the better approach would be to create an own "Recordings" section, use the API calls to load list and also the URLs to playback recordings. (btw, this probably wouldn't also work from other devices)
     

    Timhoh1234

    Portal Pro
    September 29, 2015
    252
    90
    Home Country
    Germany Germany
    the better approach would be to create an own "Recordings" section
    What does this mean? So far the recordings remain in the TVMosaic folder and are imported, what would be different?

    (btw, this probably wouldn't also work from other devices)
    Here I’m also not so sure, if I understand correctly. So in the end playback from other devices won’t work?
     

    Brownard

    Development Group
  • Team MediaPortal
  • March 21, 2007
    2,305
    1,884
    Home Country
    United Kingdom United Kingdom
    The access to local filesystem will work only if TvMosaic is running on same PC. This would make the advantage to run it on other devices obsolete. So the better approach would be to create an own "Recordings" section, use the API calls to load list and also the URLs to playback recordings. (btw, this probably wouldn't also work from other devices)
    We might be able to do something with a custom FileSystemResourceProvider/Accessor that navigates the TV mosaic 'file system' via the API rather than the local file system. I think this can be made to work with the importer as long as it implements IFileSystemResourceAccessor. The basics would be to implement an IBaseResourceProvider in MP2 server that would be the root of the mosaic recordings share, then in it's GetFiles method it would return resource accessors based on the objects returned by the API call, these would then be passed to the metadata extractor that could retrieve the metadata based on the object id stored in the path/accessor. On the client side the extracted items should appear as regular media items and work with the existing media screens, they'd just have resource paths that use the custom accessor which would need to be handled appropriately by a player to expand back into a playback url.

    I'm currently tinkering with TV mosaic so I'll see if I can get a proof of concept working.
     

    AdHu86

    Portal Pro
    January 14, 2022
    88
    98
    Berlin
    Home Country
    England England
    We might be able to do something with a custom FileSystemResourceProvider/Accessor that navigates the TV mosaic 'file system' via the API rather than the local file system. I think this can be made to work with the importer as long as it implements IFileSystemResourceAccessor. The basics would be to implement an IBaseResourceProvider in MP2 server that would be the root of the mosaic recordings share, then in it's GetFiles method it would return resource accessors based on the objects returned by the API call, these would then be passed to the metadata extractor that could retrieve the metadata based on the object id stored in the path/accessor. On the client side the extracted items should appear as regular media items and work with the existing media screens, they'd just have resource paths that use the custom accessor which would need to be handled appropriately by a player to expand back into a playback url.

    I'm currently tinkering with TV mosaic so I'll see if I can get a proof of concept working.
    I didn’t understand too much, but sounds clever ;) TVMosaic is a good path, it’s quite stable and easy to configure by webbrowser. I’m thinking to place the TVMosaic server on my NAS. Too bad the MP2 server depends on windows. Perfect would be both on a NAS. But I didn’t check the hardware demands of the MP2 server yet, maybe the NAS hardware would be anyway too weak :)
     

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,649
    1,994
    Home Country
    Germany Germany
    I am still struggling to understand what advantages TV Mosaic offers beyond the not particularly intuitive web browser GUI vs the current TV Server. I do appreciate it is more up to date but in terms of capability what does that mean? I have found very little information on it beyond the support forum and the wiki seems to be empty.
     

    Users who are viewing this thread

    Top Bottom