Playing recorded TV in external player (mpc-hc) (2 Viewers)

TLD

Portal Pro
October 26, 2007
985
428
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
    985
    428
    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
    985
    428
    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
    985
    428
    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
    428
    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
    428
    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

    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
    851
    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
    779
    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
    1K
    Thank you for pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also have been applied to the independent radio channels (different MUXes), the logs that I prepared for one of the development team does show a difference between channel 704 ("BBC Radio 4") and channel 731...
    Thank you for pointing out that my analysis may be less than accurate. :eek: :p Although the change to TV channel 71 may not also...
    I have just discovered that I can no longer receive any of the independent radio channels broadcast on DVB-T in the UK. In...
    Replies
    10
    Views
    2K
    Interesting. :coffee: I always have DVB subtitles enabled in "MP Config", but I actually switch on subtitles only for those films that have deafening sound effects and music, combined with inaudible dialogue. I have never noticed the problem that you have described, but I also use the EVR renderer, and not the Madvr renderer. So...
    Interesting. :coffee: I always have DVB subtitles enabled in "MP Config", but I actually switch on subtitles only for those films...
    Every so often, when I switch to a TV channel, my MP client stops accepting user inputs, either from the remote or keyboard/mouse...
    Replies
    27
    Views
    3K
    Top Bottom