Two database (1 Viewer)

elish

Portal Member
December 19, 2008
12
0
Hi, is possible to use 2 database?
How is possible to switch from one to another in mediaportal scren not in configuration?
Is possible to use two version of the plugin at the same time?

Thanks :D
 

Guzzi

Retired Team Member
  • Premium Supporter
  • August 20, 2007
    2,159
    750
    AW: Two database

    ... or even better mux the audiotracks together and have only single episodes with multiple audiotracks... also saves space...
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Re: AW: Two database

    ... or even better mux the audiotracks together and have only single episodes with multiple audiotracks... also saves space...

    "AVI Mux GUI" is extremly easy for that, it supports AVI files (obviously by the title), but also MKV files.

    It can even embed text-based subtitles into AVI files, though that is not a well supported solution, so usually better to keep SRT file seperate. But it does support bitmap-based and text-based subtitles for MKV, as well as chapters. And multi-audio tracks of course (both AVI and MKV), just don't forget to set the language fields, or you will get confused selecting it within MediaPortal.

    AVI-Mux GUI

    PS: You can also use it to extract audio, subtitle and video streams out of an existing file, so you can remux it back into a new one. It can also join multi-part files together. And since you are not transcoding any audio or videostream, it goes as fast as your system can go, usually 20-30MB/s, so a 700MB file will take about 30 seconds.
     

    elish

    Portal Member
    December 19, 2008
    12
    0
    You could just create different 'views' for that.

    Could you explain?

    ... or even better mux the audiotracks together and have only single episodes with multiple audiotracks... also saves space...

    Dubbed are in PAL from SDrip or from DVDrip and Original are in NTSC from HDrip.
    And the bigest problem is that the cuts for the commercial doesn't have the same timing!

    :(
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    You could just create different 'views' for that.

    Could you explain?

    You can do it from within the GUI, but it is easier to do it from within control panel. Use the tab 'Views/Filters', and have a look at the existing Views that are installed by default. Then you would just add your new view. One 'English' and one 'German', and just select/edit which shows you want under each view.

    This does depend on the ability for you to seperate those 2 at some level, as in there is both a German entry and English one in MP-TVSeries. Or for example you could setup seperate import paths for each language, and then you can use the Template Views 'Removable Media' and 'Local Media' to seperate them by marking one import path removable (assuming you don't need this option for normal usage). Another option for this type of view filtering could be 'Subtitles' and 'Multiple Audio Tracks', but this would mean that you are indeed able to seperate them based on that.

    A fancier way would be filter based on language, but you would need to know semi-SQL and edit the database to edit the `Views` table with the viewConfig field. You could then construct a new view that contains an <Episode.Language>;like;%en%<;> based setup for the English ones, and an <Episode.Language>;like;%de%<;> for the German ones. This is assuming your German videofiles report it as such to MediaInfo. You would have to verify the online_episode.Language SQL field values for that.

    Might be easier for you to just place a dummy filename.srt file to go along with say the German versions and use the default View template 'Subtitles' to seperate.

    Or you can be patient and wait for a future upgrade, because a better way is in the works, but will take a while for the developers to finish.

    PS: <Episode.EpisodeFilename> is another option if you are able to SQL edit the Views, and your filenames contain the indication on language.
     

    elish

    Portal Member
    December 19, 2008
    12
    0
    :D

    I have another problem.:oops:

    The first two dubbed version's episodes are in separated files.
    The first two subbed version's episodes are in one file only.

    If i import even manually the second episode for the separated files version it disapears after manual import.
    If i delete the one file version the second episode for the separated files version is automatically added.

    How i can fix this? :confused:

    PS: Your avatar is amazing! I love it.
     

    elish

    Portal Member
    December 19, 2008
    12
    0
    This does depend on the ability for you to seperate those 2 at some level, as in there is both a German entry and English one in MP-TVSeries. Or for example you could setup seperate import paths for each language, and then you can use the Template Views 'Removable Media' and 'Local Media' to seperate them by marking one import path removable (assuming you don't need this option for normal usage). Another option for this type of view filtering could be 'Subtitles' and 'Multiple Audio Tracks', but this would mean that you are indeed able to seperate them based on that.

    I try the 'Subtitles' filtering but the filter display no item even if the tag availablesubtitle is "1".

    Another question, I can display non subbed item?
     

    Users who are viewing this thread

    Similar threads

    Hi. I was probably being a bit fast and loose with my terminology. I meant "somewhere within the files that MP2 uses in its database". Anyway, I found a way to do this which was far from automated but relatively low effort. I found what looked like all the images (CD covers, DVD covers, backgrounds etc all lumped together in...
    Hi. I was probably being a bit fast and loose with my terminology. I meant "somewhere within the files that MP2 uses in its...
    I am in the process of setting up a legacy media player (Mede8er) which I happened to have laying around into my home cinema setup...
    Replies
    2
    Views
    471
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194 connections between 10:54 and 11:05 triggering a denial of service attack ban. The logs show it was lifted on 5/25, but I still see the entry in iptables. I reset fail2ban and hopefully you're working again." Weird...
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194...
    I'm using MediaPortal 1.38.1 x64 and have an SD-DD lineup account. In the last week, I have not been able to update my EPG, and...
    Replies
    3
    Views
    514
    I don't think so, because MP has no way of knowing at which timestamp the external player stopped playback. Best way to achieve this would be to use an auto-resume feature in your external player itself. (MPC-HC can do that, I don't know about VLC)
    I don't think so, because MP has no way of knowing at which timestamp the external player stopped playback. Best way to achieve...
    Hello Folks, Is it possible to enable MP to resume in an External Player, where it left off ? I guess the question also is, can...
    Replies
    2
    Views
    2K
    I have added a scheduled task to MariaDB to delete all entries with the same start and end date
    I have added a scheduled task to MariaDB to delete all entries with the same start and end date
    Hello, I'm encountering an issue after importing EPG data into the TV-Server/Database. The Problem: After importing an XMLTV...
    Replies
    7
    Views
    3K
    i think info but I'm really not sure
    i think info but I'm really not sure
    When I import new films using Moving Pictures, it takes an incredibly long time for the information to be found and downloaded...
    Replies
    3
    Views
    1K
    Top Bottom