Name file of nas is different on Smart tv?

emau74
emau74 Posts: 53  Ally Member
Friend Collector Third Anniversary
edited November 2019 in Personal Cloud Storage
why the name of the file of the nas is not similar to what I see on the multimedia player of my samsung tv?
(example name of nas yyyyyyyyzzzzzzz.mkv on my tv is zzzzzzzz.mkv.


#NAS_Nov_2019

Accepted Solution

  • JockeSve
    JockeSve Posts: 82  Ally Member
    5 Answers First Comment Friend Collector Sixth Anniversary
    edited November 2019 Answer ✓
    Below script takes all mkv files in the current directory and sets the filename as the mkv-file title.
    Requires installation of MKVToolNix.

    I'm using Kodi compatible naming for all movies, I.e. <moviename> (year).mkv. ( It Chapter Two (2019).mkv ) and it works flawlessly.


    <div>@ Echo Off&nbsp;
    &nbsp;
    </div><div>for %%f in (*.mkv) do (
    &nbsp; &nbsp; echo Replacing movie title:&nbsp; %%~nf
    &nbsp; &nbsp; "C:\Program Files\MKVToolNix\mkvpropedit.exe" "%%~nf.mkv" -e info -s title="%%~nf"
    )</div>

«1

All Replies

  • JockeSve
    JockeSve Posts: 82  Ally Member
    5 Answers First Comment Friend Collector Sixth Anniversary
    Some TV and media players does use the file 'Title' instead of the file name.
    AFAIK does at least MKV container and MP4 support 'Title'.
  • emau74
    emau74 Posts: 53  Ally Member
    Friend Collector Third Anniversary
    how do I change the title tag in a mkv file directly in the nas?
  • JockeSve
    JockeSve Posts: 82  Ally Member
    5 Answers First Comment Friend Collector Sixth Anniversary
    I'm using a tool for that: MKVToolNix (https://mkvtoolnix.download/index.html)
    It's pretty simple to re-encode MKV's with correct tags from the filenames.

  • JockeSve
    JockeSve Posts: 82  Ally Member
    5 Answers First Comment Friend Collector Sixth Anniversary
    edited November 2019 Answer ✓
    Below script takes all mkv files in the current directory and sets the filename as the mkv-file title.
    Requires installation of MKVToolNix.

    I'm using Kodi compatible naming for all movies, I.e. <moviename> (year).mkv. ( It Chapter Two (2019).mkv ) and it works flawlessly.


    <div>@ Echo Off&nbsp;
    &nbsp;
    </div><div>for %%f in (*.mkv) do (
    &nbsp; &nbsp; echo Replacing movie title:&nbsp; %%~nf
    &nbsp; &nbsp; "C:\Program Files\MKVToolNix\mkvpropedit.exe" "%%~nf.mkv" -e info -s title="%%~nf"
    )</div>

  • emau74
    emau74 Posts: 53  Ally Member
    Friend Collector Third Anniversary
    edited April 2020

    first of all thank you for the reply; so how should I do to change the title of my files located on the nas (x:)?
    thanks
  • JockeSve
    JockeSve Posts: 82  Ally Member
    5 Answers First Comment Friend Collector Sixth Anniversary
    edited April 2020
    I did that in two steps; 
    1. Changed filenames according to KODI naming conventions. I.e "Movie name (year)"
        Like: "Lady and the Tramp (2019)"

    2. Run a script that set's correct title-tag in all MKV-files.

    <div>@ Echo Off
    
    </div><div>REM This script takes all mkv files in the current directory and sets the filename as file title.
    
    for %%f in (*.mkv) do (
    </div><div>&nbsp; &nbsp; echo Adding/replacing movie title:&nbsp; %%~nf&nbsp;
    &nbsp; &nbsp; "C:\Program Files\MKVToolNix\mkvpropedit.exe" "%%~nf.mkv" -e info -s title="%%~nf.mkv"
    </div><div>)</div><div></div>
    Note: This works for MKV's only as 99% of my movies & series are MKV 
  • emau74
    emau74 Posts: 53  Ally Member
    Friend Collector Third Anniversary
    I did as you advised me but now on the smart TV in the folders of the nas no film is recognized, how come?
  • JockeSve
    JockeSve Posts: 82  Ally Member
    5 Answers First Comment Friend Collector Sixth Anniversary
    How does a PC and/or tablet (cellphone) show names and file tags?
  • emau74
    emau74 Posts: 53  Ally Member
    Friend Collector Third Anniversary
    on the pc or from android in the folders of the nas the names are there

    but the strange thing is this
    twonky server no longer sees shared folders


  • JockeSve
    JockeSve Posts: 82  Ally Member
    5 Answers First Comment Friend Collector Sixth Anniversary
    When it comes to Twonky, I have no idea. Never used it...
    As long as file name matches the title tag and files are playable (PC, tablet, ...) that part is OK.

Consumer Product Help Center