Playing recorded TV in external player (mpc-hc) (1 Viewer)

TLD

Portal Pro
October 26, 2007
989
429
Rainy Washington
Home Country
United States of America United States of America
It's not but i can change the location to "R:\comskip81_043\comskip.exe" correct?

So the new script would look like this:

call "R:\comskip81_043\comskip.exe -t %*"
ren "%*" "*.mp4"
 
Last edited:

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    yes

    call "c:\comskip81_043\comskip.exe -t %*"
    ren "%*" "*.mp4"


    if it doesn't work rename the file back to .ts manually then change the first line to
    c:\comskip81_043\comskip.exe -t "%*"
     

    TLD

    Portal Pro
    October 26, 2007
    989
    429
    Rainy Washington
    Home Country
    United States of America United States of America
    Well there's about 100 .ts files in there so i think i'll make a copy of the folder somewhere else before trying this. lol
     
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    oh there is no real danger with the above, it's just the first script (since removed) that renamed all .ts files that had the potential to destroy your tv recording folder, script above only processes one file.

    however no harm in moving one file anyway to test :D
     
    Last edited:

    TLD

    Portal Pro
    October 26, 2007
    989
    429
    Rainy Washington
    Home Country
    United States of America United States of America
    I've tried it with both scripts with the test comskip button. it works fine when it's pointed at comskip.exe but when it's pointed at the .bat file a Dos box pops up for just a second then closes with either script you wrote.

    call "R:\comskip81_043\comskip.exe -t %*"
    ren "%*" "*.mp4"

    Or

    call "R:\comskip81_043\comskip.exe -t "%*"
    ren "%*" "*.mp4"

    I saved the .bat in UTF-8 I hope that was the right thing to do?
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    add pause to the bottom of the .bat file to find out what is wrong[DOUBLEPOST=1354951445][/DOUBLEPOST]are you using {0} and not "{0}"[DOUBLEPOST=1354951466][/DOUBLEPOST]copy + paste the error
     

    TLD

    Portal Pro
    October 26, 2007
    989
    429
    Rainy Washington
    Home Country
    United States of America United States of America
    OK here is the contince of the Dos box.:

    R:\>call "R:\comskip81_043\comskip.exe -t "R:\TV RECORDINGS\American Dad - Ba
    r Mitzvah Hustle.ts"
    'call' is not recognized as an internal or external command,
    operable program or batch file.

    R:\>ren "R:\TV RECORDINGS\American Dad - Bar Mitzvah Hustle.ts" "*.mp4"
    The system cannot find the file specified.

    R:\>pause
    Press any key to continue . . .[DOUBLEPOST=1354952566][/DOUBLEPOST]
    add pause to the bottom of the .bat file to find out what is wrong[DOUBLEPOST=1354951445][/DOUBLEPOST]are you using {0} and not "{0}"[DOUBLEPOST=1354951466][/DOUBLEPOST]copy + paste the error

    Yes i'm using {0} not "{0}"
     

    TLD

    Portal Pro
    October 26, 2007
    989
    429
    Rainy Washington
    Home Country
    United States of America United States of America
    Yes i used notepad.exe. ' doesn't appear when i look in the file, i'll try to make it again typing it into the file instead of copying it from the browser.
     

    TLD

    Portal Pro
    October 26, 2007
    989
    429
    Rainy Washington
    Home Country
    United States of America United States of America
    turned out to be this:

    call R:\comskip81_043\comskip.exe -t "%*"
    ren "%*" "*.mp4"

    Saved in ANSI, saving it in UTF-8 seems to have caused a problem too.
    It's working fine now.
    Thank you very much kiwijunglist.
     
    Last edited:

    Users who are viewing this thread

    Similar threads

    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
    1K
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select "Internal DirectShow player" as music output, but then you lose gapless playback. If you you don't have multichannel music you can choose WASAPI as the output and set the number of speakers to stereo. I have...
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select...
    Not sure if this a a bug/config/settings problem. I am running a media portal 2.5 server with 2.41 client but it seems I get the...
    Replies
    1
    Views
    656
    Hi there, since I changed TV and HTPC's CPU, I'm wondering if this guide: Guide could be considered still good today, since it's been almost 13 years since then and it's still referring to a resolution of 1080p? I say this because I have a new Panasonic 4K HDR TV, and with that settings, even if I have an old Gygabyte GPU (bought...
    Hi there, since I changed TV and HTPC's CPU, I'm wondering if this guide: Guide could be considered still good today, since it's...
    Hi there, since I changed TV and HTPC's CPU, I'm wondering if this guide: Guide could be considered still good today, since it's...
    Replies
    0
    Views
    1K
    4.5 is really old. I'm not sure 4.5.5 even is a version that actually existed. You should be able to install .NET Framework 4.8.0 on Windows 7 SP1
    4.5 is really old. I'm not sure 4.5.5 even is a version that actually existed. You should be able to install .NET Framework 4.8.0...
    My TV PC is more a cast-off on older hardware (a 'Quiet PC' i5 4690, 16GB ram, 2xSSD 1xHDD, system graphics), mainly as a cheap way...
    Replies
    5
    Views
    2K
    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be. :( Perhaps someone else will post with some suggestions. :unsure: -- from CyberSimian in the UK
    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be...
    Would appreciate it if someone could solve (or point me in the right direction to resolve) this issue. I have “MultiSeat”...
    Replies
    4
    Views
    1K
    Top Bottom