[solved] Interested with a little modification in your plugin ? (1 Viewer)

framug

Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,904
    1,975
    South of France
    Home Country
    France France
    Hello @ltfearme,

    I modified a bit your (great) plugin.
    I explain you why :
    Sometimes, I use MP Tvplugin to watch recorded TV files (when I was already watching another TV channel for example).
    And sometimes I use your plugin to watch TV-series (when I start the computer, for example).
    Then, when I delete a file in MP recorded, file(s) is(are) deleted in TV-series, I saw you added a mechanism to update your TV-series database automaticaly.

    BUT, when I delete a file in TV-series plugin (I mean a physically delete file), file still exist in MP Tvplugin.
    Of course because the MP recording table database is not updated.
    Thus, I added this.

    So, if someone want to test, here are modified plugin files
     

    Attachments

    • modif fmu.rar
      554.5 KB

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,904
    1,975
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #3
    Hello,

    I submit a pull request (first time with GIT for me).
    You will see that references have been added (.csproj file) then, you have to copy Gentle.Framework.dll, TvBusinessLayer.dll and TVDatabase.dll from MP in your "External" mptvseries folder.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,950
    5,620
    France - IDF
    Home Country
    France France
    You will see that references have been added (.csproj file) then, you have to copy Gentle.Framework.dll, TvBusinessLayer.dll and TVDatabase.dll from MP in your "External" mptvseries folder.
    hello @framug ith git, all files included in your pullrequest will be pushed too, only to check if are checked during commit.
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,904
    1,975
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #5
    Yes, I saw this.
    I can deliver or create a branch but, only locally (difference with SVN ?)
    And, if I try a push, it seems that I need write access for mptvseries (or I don't use GIT correctly yet...)
    At least I use my modifications since some days and, it's a pleasure, it exactly suit my needs.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,950
    5,620
    France - IDF
    Home Country
    France France
    I can deliver or create a branch but, only locally (difference with SVN ?)
    And, if I try a push, it seems that I need write access for mptvseries (or I don't use GIT correctly yet...)
    you need to create an github account, and maybe push your MP repo to your own repo.
    i'm not expert with pull request
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,904
    1,975
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #7
    I have a github account.
    It seems weird to me to push this repo in my own repo but, maybe it works like this ?
    Otherwise, I can also create a patch...
     

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    5,904
    1,975
    South of France
    Home Country
    France France
    • Thread starter
    • Moderator
    • #9

    Users who are viewing this thread

    Top Bottom