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

TLD

Portal Pro
October 26, 2007
954
387
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
    954
    387
    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
    954
    387
    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
    954
    387
    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
    954
    387
    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
    954
    387
    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, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player app does not support the file type. So I installed VLC. VLC does read the ts files but the TV's remote does not allow to control basic VLC functions like FF or FR or pause etc... Tried 1-2 other apps, even...
    Hi, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player...
    Hi, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player...
    Replies
    0
    Views
    497
    Well, there is nothing wrong in the log. I have personaly tested the bitstreaming after DVD resume, and I can confirm that the LAV audiodecoder shows status 'bistreaming' on the output. What is your LAV status?
    Well, there is nothing wrong in the log. I have personaly tested the bitstreaming after DVD resume, and I can confirm that the LAV...
    My apologies for posting two separate issues in one posting, however, the logs I have cover both. 1. Resume playback of...
    Replies
    13
    Views
    1K
    Hi, First off: there are some issues with the latest Mediaportal (32bits vs 64bits), so that is one of the issues you're stumbling with. If you take the previous version (1.31) it should work as expected. For IPTV there is also a different option (with different pros and cons): Onlinevideos. I'm using that sometimes for my IPTV as...
    Hi, First off: there are some issues with the latest Mediaportal (32bits vs 64bits), so that is one of the issues you're stumbling...
    Hi I am trying to play a m3u file from my IPTV provider, but when I try to install the TV part of Media Portal v1.3.2 I get an...
    Replies
    1
    Views
    679
    I have looked at your log files, but as usual they are unintelligible gobbledegook. (I am sure that the original developers who wrote that code know what the log entries mean, but those developers have long since retired from the MP team.) I regret to say that I think that you will have to use the "brute force" method to track down...
    I have looked at your log files, but as usual they are unintelligible gobbledegook. (I am sure that the original developers who...
    Sometimes when displaying the OSD whilst playing a recorded TV show the video freezes and the sound continues for about 30 seconds...
    Replies
    1
    Views
    653
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and check.
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and...
    I don't have a TV card in my HTPC setup, so I really only use plugins that browse and show media files, like MP TV-Series, Moving...
    Replies
    5
    Views
    243
    Top Bottom