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

TLD

Portal Pro
October 26, 2007
964
396
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
    964
    396
    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
    964
    396
    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
    964
    396
    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
    964
    396
    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
    964
    396
    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
    732
    All sorted now with images attached as above. The problem attaching the images was the dugh brain user as well as the image size being too big
    All sorted now with images attached as above. The problem attaching the images was the dugh brain user as well as the image size...
    I have just updated my mobo and installed Win 10. I then imported all my old settings that were working ok on my old Win 7 system...
    Replies
    14
    Views
    2K
    First thing to say is that I use MP1, whereas I believe that you use MP2. @ge2301 has just posted that MP2 has a "folder view" in addition to the "library view", so you should be able to set up your system as I describe below, but the details will differ. In MP1, the folders that are to appear on the "Videos" panel are defined in "MP...
    First thing to say is that I use MP1, whereas I believe that you use MP2. @ge2301 has just posted that MP2 has a "folder view" in...
    Help Please. Yesterday upon switch-on, I had this issue with MP2: When I clicked on the [REC] icon in the following Image...
    Replies
    18
    Views
    1K
    Just those I attached. I messed about with task priorities MP/TV-Server/SQL-Server and the issue changed to the skin.. I would do something, but it would be 10's of seconds before the action happened. Doing an Alt-Tab would flush the actions. Too weird lol!! So, with some flak from the family, I had to give in. I just did a...
    Just those I attached. I messed about with task priorities MP/TV-Server/SQL-Server and the issue changed to the skin.. I would do...
    So, this one has me quite stumped. Have tried ) and a few things - driver updates, kicking the box, threatening it with a static...
    Replies
    8
    Views
    843
    I realize this is a (very) old thread, however, I just discovered something that may have been the problem all along, and thought you might like to know. I had a Yamaha RX-A1050 HTR receiver. About three weeks ago, I started having problems where the HDMI audio from Windows, itself (11 Pro), would not work. After multiple times of...
    I realize this is a (very) old thread, however, I just discovered something that may have been the problem all along, and thought...
    My apologies for posting two separate issues in one posting, however, the logs I have cover both. 1. Resume playback of...
    Replies
    14
    Views
    3K
    Top Bottom