Text files attached to videos (1 Viewer)

beatnut88

Portal Pro
January 15, 2012
142
7
72
Country flag
Hi
Is there a way to attach text files to video files? I just want to enter a description of the TV show that will appear when I highlight the video file in MP
Thanks
Neil
 

CyberSimian

Test Group
  • Team MediaPortal
  • June 10, 2013
    2,105
    1,305
    Southampton
    United Kingdom United Kingdom
    Country flag
    Is there a way to attach text files to video files? I just want to enter a description of the TV show that will appear when I highlight the video file in MP
    You can create an XML file that contains several pieces of information, including programme title and programme description. MP extracts the relevant information from the XML file, and displays it on the "Videos" panel. You don't need to "import" the XML file -- simply place it in the same folder as the video file.

    I notice from your "System Specs" that you have a TV tuner in your HTPC. When "TV Server" records programmes, it creates the XML file that contains the relevant information. If you move the video TS file to the "Videos" section of MP (I do this), you should move the XML file too (and also the JPG file if you have opted to create thumbnails).

    For TS files where the XML file never existed, or has gone AWOL, you can manually create the XML file. Simply use one of the XML files created by "TV Server" as a model for the one you want to create.

    -- from CyberSimian in the UK
     

    beatnut88

    Portal Pro
    January 15, 2012
    142
    7
    72
    Country flag
    Thanks. I tried that. While it may work fine with TS files I need something that works with video files - mainly MP4 - in the video section
    Still seeking a solution
    Neil
     

    tony72

    MP Donator
  • Premium Supporter
  • August 15, 2009
    180
    61
    England England
    Country flag
    There is an entry in the wiki, it sounds like you should be able to do this, but it's not something I've tried personally, is this any help?

    Using nfo files
     

    beatnut88

    Portal Pro
    January 15, 2012
    142
    7
    72
    Country flag
    Hi
    Thanks. I has seen it but it looks to me like it's only for grabbing data from IMDB - which won't work for me because the videos I have aren't there.
    Maybe the option doesn't exist in which case I guess I should suggest a modification - should be pretty simple to do as the facility exists on the TV side, just not on the video side.
    Neil
     

    tony72

    MP Donator
  • Premium Supporter
  • August 15, 2009
    180
    61
    England England
    Country flag
    Sorry, but you read that wiki page wrong. The idea of nfo files is to provide a text file as an *alternative* source of data to imdb. You can link it to an imdb entry, but you don't have to, and you can put anything you like in the nfo file. I just tested it, and it works fine, and seems to be exactly what you are looking for. I made the following nfo file, and when I select the corresponding video file in mediaportal, the contents of the plot tags are displayed next to it.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <movie>
      <filenameandpath>E:\Videos\Other Videos\Formula 1\Australia 2019\01.Pre-Qualifying.Buildup.mp4</filenameandpath>
      <title>F1 Australia 2019 - Pre-Qualifying</title>
      <plot>Pre-qualifying show, Ted roaming around the paddock and other nonsense</plot>
    </movie>
     
    Last edited:

    beatnut88

    Portal Pro
    January 15, 2012
    142
    7
    72
    Country flag
    Oh, that looks promising. so you embed a link to the file. where does the nfo file reside?
     

    tony72

    MP Donator
  • Premium Supporter
  • August 15, 2009
    180
    61
    England England
    Country flag
    It goes in the same folder as the video, and with the same filename as the video, except with the ".nfo" extension.
     

    beatnut88

    Portal Pro
    January 15, 2012
    142
    7
    72
    Country flag
    Hi
    I did this but it did not appear when I highlighted the file in MP
    <?xml version="1.0" encoding="utf-8"?>
    <movie>
    <filenameandpath>D:\DDrive Videos\1 Drama\Baptiste S01E01 (17 February 2019) HDTV 720p.mp4</filenameandpath>
    <title>Baptiste S01E01 (17 February 2019) HDTV 720p.mp4</title>
    <plot>Pre-qualifying show, Ted roaming around the paddock and other nonsense</plot>
    </movie>
     

    beatnut88

    Portal Pro
    January 15, 2012
    142
    7
    72
    Country flag
    Whoops!! Forgot to save it with an nfo extension! Then remembered. Thanks so much. This is great!
    Neil
     

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    M partially watched video/song/recorded tv show file text color + remember cursor in folders other features (of release or svn versions) 28
    123vak123 [solved] 5008: The problem with scrolling text in the "listcontrol" in 4K General Support 22
    wizard123 [solved] Auto sizing buttons to text content MediaPortal 1 11
    N [Proposal] Make text input using remote control easier MediaPortal 2 4
    N [Proposal] Make text input possible with remote control in SMS style MediaPortal 2 1
    azzuro [solved] GIT Commit text to be captured by Jira MediaPortal 2 13
    N How to input text with the remote control General 3
    N Input import directories via text? My TVSeries 6
    zunixnuz TV Mini-EPG long text cropped on bottom side Titan Skin Feedback 0
    J Streaming file location MPExtended 2
    D Downloading EPG XML file: Installation, configuration support 0
    M [solved] WTV Files does not play on client, MPEG files works well General 1
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    J Help with new grabber file. WebEPG 1
    S [solved] No sound - MKV file MediaPortal 1 Talk 2
    G WTV files General 11
    Golf4 TV-Records werden als Audio-Files importiert ? Allgemeines Support- und Diskussionsforum 0
    azzuro [fixed] [WIP MP2.3] - Audio files not imported to MP MediaPortal 2 18
    HTPCSourcer Media Accessor is flooding logs with files from attached monitor MediaPortal 2 9
    R [will not fix] [MP2-832] MP2.2.2 subtitles not shown for WTV files Submit: Bug Reports 7
    R [solved] Files moved to new location - Easy way to update database? My TVSeries 7
    R Files moved to different location - Easy way to update database? Moving Pictures 2
    thepahakurki Trakt error: Invalid or missing file Trakt 8
    M Keymapping Which File To Edit General Support 4
    F No data in "File Details" Moving Pictures 2

    Similar threads

    Top Bottom