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

TLD

Portal Pro
October 26, 2007
985
411
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,746
    1,751
    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
    985
    411
    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,746
    1,751
    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
    985
    411
    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,746
    1,751
    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
    985
    411
    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
    985
    411
    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
    985
    411
    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


    Write your reply...

    Similar threads

    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
    375
    i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video playback in MP2 is buggy when playing 4k material. Therefore: PLEASE add an option for an external video player! I'd LOVE to have VLC back as videoplayer, like in MP1! This works perfectly. You will make a...
    i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video...
    i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video...
    Replies
    0
    Views
    320
    Attached are new TV service logs with your latest DLL. I see lots of EPG events and none of the messages from earlier. Congratulations!
    Attached are new TV service logs with your latest DLL. I see lots of EPG events and none of the messages from earlier. Congratulations!
    I have some weird behavior trying to operate the MP GUI in a new installation of MP 1.36 under Windows 11 Pro. Some of the remote...
    Replies
    33
    Views
    2K
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is missing in my Titan skin. This only applies to my .TS files, my .MKV files are OK. I believe the difference is likely to be because .MKV files embed the runtime in the file unlike .TS files. I have done...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    Replies
    0
    Views
    133
    This is one of the top search results for WMC having stopped working; thanks everyone for the useful information! My shell scripting skills are very rusty these days, so for those like me who are still rocking Windows 7's (or some later version of) WMC, I thought I'd post the (rather hacky) Python script I'm using as a drop-in...
    This is one of the top search results for WMC having stopped working; thanks everyone for the useful information! My shell...
    NOT A MEDIAPORTAL ISSUE. Using MediaPortal1, Kodi for TV viewing. Today I noticed the TV Guide in Kodi stopped updating. A Google...
    Replies
    32
    Views
    4K
    Top Bottom