Jump to content

Search the Community

Showing results for tags 'nfo file'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android
    • Android TV / Fire TV
    • Windows & Xbox
    • Apple iOS / macOS
    • Apple TV
    • Kodi
    • LG Smart TV
    • Linux & Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Ember for Emby
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Testing Area
    • WMC UI (Beta)
  • Other
    • Non-Emby General Discussion
    • Developer API
    • Hardware
    • Media Clubs

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 6 results

  1. Hey there! Great Work! Thanks! Did check the Naming convention documentation for Videos in a Library -- Home Videos -- but failed to find the following use case: Checked also Running on Synology 7.2 with Emby version 4.8.8.0 (Latest one available to be installed from Synology Application Package). I have the NFO Metadata Plugin 1.0.82.0 -- options to Read from NFO are enabled. Options to write into NFO files are disabled. Use Case: I have multiple versions of "Some Video (2014)" - Home Video. So no ImDB, TvBD, etc. I have created one NFO file with associated Metadata. In a single folder/single file combination all goes smoothly and Emby loads up all the Metadata correctly. Now if I have multiple versions I wonder about the naming convention for the main folder, default video file version, NFO file name and then other video versions naming. Tried a few combinations. Option 1: recognises metadata for Some Video (2014)/Some Video (2014).mp4 and other files are treated as different videos. Some Video (2014)/Some Video (2014).mp4 Some Video (2014)/Some Video (2014).nfo Some Video (2014)/Some Video (2014) - 4K.mp4 Some Video (2014)/Some Video (2014) - 1080p.mp4 Option 2: Recognises metadata for Some Video (2014)/Some Video (2014) - 1080p.mp4 and other files are treated as different videos. Option 3. Same as 2. but naming NFO file movie.nfo Option 3. Same as 2. but added more NFO files for each version: end result is multiple independent Videos in the Emby Server Some Video (2014) - 1080p/Some Video (2014) - 1080p.mp4 Some Video (2014) - 1080p/Some Video (2014) - 1080p.nfo --> Tried also naming this file movie.nfo Some Video (2014) - 1080p/Some Video (2014) - 4K.mp4 Some Video (2014) - 1080p/Some Video (2014) - 1080p HEVC.mov Any option/combination that would make this work? Thanks in advance for any support!
  2. Hello together I have written a python program that removes the actors from the nfo. Only after the python code has cleaned up the nfo, Emby inserts them again without further ado. can i block this somehow in the nfo? #!/usr/bin/env python3 # Autoren: D1sk # Unternehmen: T4S # NFO-Tag-Eintrager (aus Dateinamen) v6 # Date: 20.07.2024 # Update_Date: 20.08.2024 # Zusatztool für Emby # Bibliotheken import os import re import xml.etree.ElementTree as ET import tkinter as tk from tkinter import filedialog, simpledialog, messagebox def process_nfo_file(nfo_path, additional_tags=None): try: # Öffne die NFO-Datei und lade sie in den ElementTree tree = ET.parse(nfo_path) xml_root = tree.getroot() # Entferne alle <actor>-Elemente for actor in xml_root.findall('.//actor'): xml_root.remove(actor) # Überprüfe, ob eines der vorhandenen <tag>-Elemente den gewünschten Inhalt hat if additional_tags: tags = [t.strip() for t in additional_tags.split('&')] existing_tags = {tag_element.text for tag_element in xml_root.findall('tag')} for tag in tags: if tag not in existing_tags: new_tag_element = ET.Element('tag') new_tag_element.text = tag # Finde das <runtime>-Element und füge das <tag>-Element direkt danach ein runtime_element = xml_root.find('runtime') if runtime_element is not None: index = list(xml_root).index(runtime_element) xml_root.insert(index + 1, new_tag_element) else: xml_root.append(new_tag_element) print(f"Neues Tag '{tag}' zu NFO-Datei '{os.path.basename(nfo_path)}' hinzugefügt.") else: print(f"Tag '{tag}' in NFO-Datei '{os.path.basename(nfo_path)}' ist bereits vorhanden.") # Schreibe die aktualisierte NFO-Datei zurück tree.write(nfo_path, encoding='utf-8', xml_declaration=True) print(f"Actors entfernt aus '{os.path.basename(nfo_path)}'.") except Exception as e: print(f"Fehler beim Verarbeiten der Datei {nfo_path}: {e}") def update_nfo_files(main_directory, additional_tags=None): # Muster zum Erkennen des Textes nach dem letzten Bindestrich bis zum Dateiende tag_pattern = r'-(.+)$' # Iteriere durch alle Ordner im Hauptverzeichnis for folder_root, dirs, files in os.walk(main_directory): for file in files: if file.endswith(".nfo") and file != "tvshow.nfo": nfo_path = os.path.join(folder_root, file) # Nur den Dateinamen ohne Pfad und Erweiterung extrahieren file_name = os.path.splitext(file)[0] # Extrahiere den Tag aus dem Dateinamen match = re.search(tag_pattern, file_name) if match: # Wenn ein Tag gefunden wird, extrahiere es tag = match.group(1) # Überprüfe, ob der Tag mehrere Gruppen enthält, die durch '&' getrennt sind tags = [t.strip() for t in tag.split('&')] # Füge zusätzliche Tags hinzu, falls vorhanden if additional_tags: tags.extend([t.strip() for t in additional_tags.split('&')]) # Verarbeite die NFO-Datei process_nfo_file(nfo_path, additional_tags='&'.join(tags)) # Verarbeite die tvshow.nfo-Datei, falls vorhanden tvshow_nfo_path = os.path.join(main_directory, 'tvshow.nfo') if os.path.exists(tvshow_nfo_path): process_nfo_file(tvshow_nfo_path, additional_tags) else: print("tvshow.nfo nicht gefunden. Kein Tag hinzugefügt.") print("Vorgang abgeschlossen.") def main(): root = tk.Tk() root.withdraw() # Frage den Benutzer, ob er ein eigenes Tag hinzufügen möchte add_tag_choice = messagebox.askyesno("Zusätzliche Tags", "Möchten Sie eigene Tags hinzufügen?") additional_tags = None if add_tag_choice: # Falls der Benutzer "Ja" auswählt, zeige ein Eingabefeld für die zusätzlichen Tags an additional_tags = simpledialog.askstring("Zusätzliche Tags", "Geben Sie die zusätzlichen Tags ein (mit '&' getrennt):") # Hauptverzeichnis, das durchsucht werden soll main_directory = filedialog.askdirectory(title='Animeordner auswählen') # Verarbeite die NFO-Dateien mit den gewählten Optionen update_nfo_files(main_directory, additional_tags) if __name__ == "__main__": main() After running through, the NFO looks like this No more actors <?xml version='1.0' encoding='utf-8'?> <tvshow> <plot>Westlich von Tokyo befindet sich eine Metropole mit ├╝ber 2,3 Millionen Einwohnern, welche aufgrund ihres 80%igen Anteils an Sch├╝lern und Studenten allgemeinhein als "Bildungsstadt" bekannt ist. Hier durchlaufen die Sch├╝ler ein Training als Esper und werden anhand ihrer F├ñhigkeiten in Level 0 bis 5 eingeteilt. Aktuell gibt es nur sieben Individuen, die es auf Level 5 geschafft haben. Eine von ihnen ist Mikoto Misaka. Gemeinsam mit ihren Freunden Kuroko und Uiharu, die zur Disziplinar-Organisation Judgment geh├╢ren, sowie der Ger├╝chte liebenden Saten bestehen sie viele Abenteuer. Spin-off von Toaru Majutsu no Index, der Mikoto zur Hauptfigur hat.</plot> <outline>Westlich von Tokyo befindet sich eine Metropole mit ├╝ber 2,3 Millionen Einwohnern, welche aufgrund ihres 80%igen Anteils an Sch├╝lern und Studenten allgemeinhein als "Bildungsstadt" bekannt ist. Hier durchlaufen die Sch├╝ler ein Training als Esper und werden anhand ihrer F├ñhigkeiten in Level 0 bis 5 eingeteilt. Aktuell gibt es nur sieben Individuen, die es auf Level 5 geschafft haben. Eine von ihnen ist Mikoto Misaka. Gemeinsam mit ihren Freunden Kuroko und Uiharu, die zur Disziplinar-Organisation Judgment geh├╢ren, sowie der Ger├╝chte liebenden Saten bestehen sie viele Abenteuer. Spin-off von Toaru Majutsu no Index, der Mikoto zur Hauptfigur hat.</outline> <lockdata>false</lockdata> <dateadded>2024-06-13 14:19:50</dateadded> <title>A Certain Scientific Railgun</title> <originaltitle>πü¿πüéπéïτºæσ¡ªπü«Φ╢àΘ¢╗τúüτá▓</originaltitle> <trailer>http://www.youtube.com/watch?v=dKLdA60lUw4</trailer> <trailer>http://www.youtube.com/watch?v=rIDa2o3bGlY</trailer> <rating>7.5</rating> <year>2009</year> <sorttitle>Certain Scientific Railgun</sorttitle> <mpaa>TV-14</mpaa> <imdb_id>tt1515996</imdb_id> <tmdbid>30977</tmdbid> <premiered>2009-10-03</premiered> <releasedate>2009-10-03</releasedate> <enddate>2020-09-25</enddate> <runtime>25</runtime> <genre>Science Fiction</genre> <genre>Fantasy</genre> <genre>Drama</genre> <genre>Comedy</genre> <genre>Animation</genre> <genre>Action</genre> <genre>Anime</genre> <studio>Tokyo MX</studio> <studio>AT-X</studio> <tag>Fansub</tag> <tag>Super Power</tag> <tag>Urban</tag> <tag>Primarily Female Cast</tag> <tag>Female Protagonist</tag> <tag>Urban Fantasy</tag> <tag>Tomboy</tag> <tag>Ensemble Cast</tag> <tag>Bisexual</tag> <tag>Superhero</tag> <tag>School</tag> <tag>Artificial Intelligence</tag> <tag>Boarding School</tag> <tag>Shounen</tag> <tag>Tsundere</tag> <tag>Kaiju</tag> <tag>Gangs</tag> <tag>Heterosexual</tag> <tag>Robots</tag> <tag>Ojou-sama</tag> <tag>Orphan</tag> <tag>Slapstick</tag> <tag>Crossdressing</tag> <tag>Super Robot</tag> <tag>Maids</tag> <tag>Police</tag> <tag>Gyaru</tag> <uniqueid type="tvdb">114921</uniqueid> <tvdbid>114921</tvdbid> <uniqueid type="official website">https://toaru-project.com/railgun/</uniqueid> <uniqueid type="imdb">tt1515996</uniqueid> <uniqueid type="tmdb">30977</uniqueid> <uniqueid type="anilist">6213</uniqueid> <anilistid>6213</anilistid> <episodeguide>{"tvdb":"114921","official website":"https://toaru-project.com/railgun/","imdb":"tt1515996","tmdb":"30977","anilist":"6213"}</episodeguide> <id>114921</id> <season>-1</season> <episode>-1</episode> <displayorder>aired</displayorder> <status>Ended</status> </tvshow> then a few minutes later like this again <?xml version="1.0" encoding="utf-8" standalone="yes"?> <tvshow> <plot><![CDATA[Westlich von Tokyo befindet sich eine Metropole mit über 2,3 Millionen Einwohnern, welche aufgrund ihres 80%igen Anteils an Schülern und Studenten allgemeinhein als "Bildungsstadt" bekannt ist. Hier durchlaufen die Schüler ein Training als Esper und werden anhand ihrer Fähigkeiten in Level 0 bis 5 eingeteilt. Aktuell gibt es nur sieben Individuen, die es auf Level 5 geschafft haben. Eine von ihnen ist Mikoto Misaka. Gemeinsam mit ihren Freunden Kuroko und Uiharu, die zur Disziplinar-Organisation Judgment gehören, sowie der Gerüchte liebenden Saten bestehen sie viele Abenteuer. Spin-off von Toaru Majutsu no Index, der Mikoto zur Hauptfigur hat.]]></plot> <outline><![CDATA[Westlich von Tokyo befindet sich eine Metropole mit über 2,3 Millionen Einwohnern, welche aufgrund ihres 80%igen Anteils an Schülern und Studenten allgemeinhein als "Bildungsstadt" bekannt ist. Hier durchlaufen die Schüler ein Training als Esper und werden anhand ihrer Fähigkeiten in Level 0 bis 5 eingeteilt. Aktuell gibt es nur sieben Individuen, die es auf Level 5 geschafft haben. Eine von ihnen ist Mikoto Misaka. Gemeinsam mit ihren Freunden Kuroko und Uiharu, die zur Disziplinar-Organisation Judgment gehören, sowie der Gerüchte liebenden Saten bestehen sie viele Abenteuer. Spin-off von Toaru Majutsu no Index, der Mikoto zur Hauptfigur hat.]]></outline> <lockdata>false</lockdata> <dateadded>2024-06-13 14:19:50</dateadded> <title>A Certain Scientific Railgun</title> <originaltitle>とある科学の超電磁砲</originaltitle> <actor> <name>Rina Satou</name> <role>Mikoto Misaka</role> <type>Actor</type> <tmdbid>1241566</tmdbid> <tvdbid>293450</tvdbid> <anidbid>97</anidbid> </actor> <actor> <name>Satomi Arai</name> <role>Kuroko Shirai</role> <type>Actor</type> <tmdbid>219563</tmdbid> <tvdbid>301628</tvdbid> </actor> <actor> <name>Kanae Itou</name> <role>Ruiko Saten</role> <type>Actor</type> <tvdbid>464298</tvdbid> </actor> <actor> <name>Aki Toyosaki</name> <role>Kazari Uiharu</role> <type>Actor</type> <tvdbid>307442</tvdbid> <tmdbid>235262</tmdbid> <imdbid>nm2760504</imdbid> <anidbid>1438</anidbid> </actor> <actor> <name>浅仓杏美</name> <role>Misaki Shokuhou</role> <type>Actor</type> <tmdbid>1325958</tmdbid> <tvdbid>448666</tvdbid> </actor> <actor> <name>Nozomi Sasaki</name> <role>Misaka Imouto</role> <type>Actor</type> <tmdbid>2413553</tmdbid> <tvdbid>505152</tvdbid> <anidbid>1992</anidbid> </actor> <actor> <name>Minako Kotobuki</name> <role>Mitsuko Kongou</role> <type>Actor</type> <tvdbid>451347</tvdbid> <tmdbid>1249310</tmdbid> </actor> <actor> <name>Haruka Tomatsu</name> <role>Kinuho Wannai</role> <type>Actor</type> <tmdbid>1248340</tmdbid> <tvdbid>715282</tvdbid> <anidbid>5</anidbid> <imdbid>nm2955927</imdbid> </actor> <actor> <name>Yoshino Nanjou</name> <role>Maaya Awatsuki</role> <type>Actor</type> <tvdbid>479697</tvdbid> </actor> <actor> <name>Minami Tsuda</name> <role>Junko Hokaze</role> <type>Actor</type> <tvdbid>292643</tvdbid> <tmdbid>1307031</tmdbid> <anidbid>21823</anidbid> </actor> <actor> <name>Konomi Kohara</name> <role>Dolly</role> <type>Actor</type> <tmdbid>1820616</tmdbid> <tvdbid>7891685</tvdbid> </actor> <actor> <name>Maaya Uchida</name> <role>Frenda Seivelun</role> <type>Actor</type> <tvdbid>294195</tvdbid> <tmdbid>1296667</tmdbid> </actor> <actor> <name>Miyu Tomita</name> <role>Mitori Kouzaku</role> <type>Actor</type> <tvdbid>464899</tvdbid> <tmdbid>1647636</tmdbid> <anidbid>43492</anidbid> </actor> <actor> <name>Hitomi Oowada</name> <role>Xochitl</role> <type>Actor</type> <tvdbid>7884367</tvdbid> </actor> <actor> <name>Akane Fujita</name> <role>Rita Iizumi</role> <type>Actor</type> <tmdbid>1668897</tmdbid> <tvdbid>483788</tvdbid> </actor> <actor> <name>Aoi Koga</name> <role>Naruha Sakuragi</role> <type>Actor</type> <tvdbid>7897330</tvdbid> <tmdbid>2251986</tmdbid> </actor> <actor> <name>Sayumi Suzushiro</name> <role>Rakko Yumiya</role> <type>Actor</type> <tvdbid>7937849</tvdbid> <tmdbid>2206133</tmdbid> </actor> <actor> <name>Kana Ueda</name> <role>Mii Konori</role> <type>Actor</type> <tvdbid>303210</tvdbid> <tmdbid>230471</tmdbid> <imdbid>nm1290090</imdbid> <anidbid>210</anidbid> </actor> <actor> <name>Nozomi Nishida</name> <role>Itsuki Yakumaru</role> <type>Actor</type> <tmdbid>1606202</tmdbid> <tvdbid>482632</tvdbid> </actor> <actor> <name>Yuka Nukui</name> <role>Taroumaru Seike</role> <type>Actor</type> <tvdbid>7976327</tvdbid> <tmdbid>1922616</tmdbid> </actor> <actor> <name>Atsumi Tanezaki</name> <role>Ryouko Kuriba</role> <type>Actor</type> <tmdbid>1588597</tmdbid> <tvdbid>7866747</tvdbid> </actor> <actor> <name>Atsushi Abe</name> <role>Touma Kamijou</role> <type>Actor</type> <tvdbid>280711</tvdbid> <tmdbid>1154449</tmdbid> </actor> <actor> <name>Yuuko Kaida</name> <role>Aiho Yomikawa</role> <type>Actor</type> <tvdbid>7888642</tvdbid> </actor> <actor> <name>Kengo Kawanishi</name> <role>Gunha Sogiita</role> <type>Actor</type> <tmdbid>1324472</tmdbid> <tvdbid>289883</tvdbid> </actor> <actor> <name>Mayu Mineda</name> <role>Shaei Miyama</role> <type>Actor</type> <tmdbid>2415149</tmdbid> <tvdbid>8255988</tvdbid> </actor> <actor> <name>Kazuyoshi Hayashi</name> <role>Keitz Nokleben</role> <type>Actor</type> <tvdbid>8289400</tvdbid> </actor> <actor> <name>Binbin Takaoka</name> <role>Kihara Gensei</role> <type>Actor</type> <tmdbid>1254298</tmdbid> <tvdbid>451370</tvdbid> </actor> <actor> <name>Iori Nomizu</name> <role>Febri</role> <type>Actor</type> <tmdbid>1254069</tmdbid> <tvdbid>450565</tvdbid> </actor> <actor> <name>Hitomi Nabatame</name> <role>Ryoukan</role> <type>Actor</type> <tvdbid>377762</tvdbid> <tmdbid>1241562</tmdbid> <anidbid>55</anidbid> </actor> <actor> <name>Ikumi Hayama</name> <role>Shinobu Nunotaba</role> <type>Actor</type> <tvdbid>470645</tvdbid> <tmdbid>1254299</tmdbid> </actor> <actor> <name>Aya Endou</name> <role>Tsuzuri Tessou</role> <type>Actor</type> <tvdbid>7873538</tvdbid> </actor> <actor> <name>Atsuko Tanaka</name> <role>Harumi Kiyama</role> <type>Actor</type> <tvdbid>314895</tvdbid> <tmdbid>34923</tmdbid> <anidbid>222</anidbid> </actor> <actor> <name>Ami Koshimizu</name> <role>Shizuri Mugino</role> <type>Actor</type> <tvdbid>307435</tvdbid> <tmdbid>1220947</tmdbid> <anidbid>51</anidbid> </actor> <trailer>http://www.youtube.com/watch?v=dKLdA60lUw4</trailer> <trailer>http://www.youtube.com/watch?v=rIDa2o3bGlY</trailer> <rating>7.5</rating> <year>2009</year> <sorttitle>Certain Scientific Railgun</sorttitle> <mpaa>TV-14</mpaa> <imdb_id>tt1515996</imdb_id> <tmdbid>30977</tmdbid> <premiered>2009-10-03</premiered> <releasedate>2009-10-03</releasedate> <enddate>2020-09-25</enddate> <runtime>25</runtime> <genre>Science Fiction</genre> <genre>Fantasy</genre> <genre>Drama</genre> <genre>Comedy</genre> <genre>Animation</genre> <genre>Action</genre> <genre>Anime</genre> <studio>Tokyo MX</studio> <studio>AT-X</studio> <tag>Fansub</tag> <tag>Super Power</tag> <tag>Urban</tag> <tag>Primarily Female Cast</tag> <tag>Female Protagonist</tag> <tag>Urban Fantasy</tag> <tag>Tomboy</tag> <tag>Ensemble Cast</tag> <tag>Bisexual</tag> <tag>Superhero</tag> <tag>School</tag> <tag>Artificial Intelligence</tag> <tag>Boarding School</tag> <tag>Shounen</tag> <tag>Tsundere</tag> <tag>Kaiju</tag> <tag>Gangs</tag> <tag>Heterosexual</tag> <tag>Robots</tag> <tag>Ojou-sama</tag> <tag>Orphan</tag> <tag>Slapstick</tag> <tag>Crossdressing</tag> <tag>Super Robot</tag> <tag>Maids</tag> <tag>Police</tag> <tag>Gyaru</tag> <uniqueid type="tvdb">114921</uniqueid> <tvdbid>114921</tvdbid> <uniqueid type="official website">https://toaru-project.com/railgun/</uniqueid> <uniqueid type="imdb">tt1515996</uniqueid> <uniqueid type="tmdb">30977</uniqueid> <uniqueid type="anilist">6213</uniqueid> <anilistid>6213</anilistid> <episodeguide>{"tvdb":"114921","official website":"https://toaru-project.com/railgun/","imdb":"tt1515996","tmdb":"30977","anilist":"6213"}</episodeguide> <id>114921</id> <season>-1</season> <episode>-1</episode> <displayorder>aired</displayorder> <status>Ended</status> </tvshow> I hope someone knows a solution because clicking on each file and locking it manually is an incredible effort
  3. Primeramente mi problema tiene que ver con actualización de metadatos no entiendo porque estas dos ultimas semanas me ha generado metadatos erróneos de otros idiomas a simple vista la imagen 1 se mira bien la sinopsis (IMAGEN 1) Pero al entrar a la temporada 1 en la imagen 2 se mira el verdadero problema y es reflejado en cada capitulo con sinopsis en idioma (japones) y aunque yo le de generar nuevos metadatos me sigue dando ese idioma cosa que antes me los daba en mi idioma configurado "ESPAÑOL" (IMAGEN 2) Mi configuración de metadatos es para que descargue todo en idioma "ESPAÑOL" y no en otro idioma esto se puede ver en la imagen 3 (IMAGEN 3) i Este es un metadato generado el día de hoy 04/05/2024, 2:46:00pm por emby de capitulo 1x02 en otro idioma "japones" imagen 4 (IMAGEN 4) En la (IMAGEN 5) Si yo me voy a la raíz de mis archivos y escojo que restaure el metadato de la fecha 04/01/2024 7:56::03pm este si me saldrá en español pero esto este es un proceso ilógico y sin sentido de hacer ya que mi configuración de descarga de metadatos es en español véase en la imagen 3 (IMAGEN 5) En la imagen 6 se logra visualizar que al restaurar el metadato y descargarlo para visualizar que todo este bien este si es versión español (IMAGEN 6) Pero aunque yo restaure y vaya a emby para reflejar ese cambio siempre me sigue saliendo la versión antigua de idioma japones En conclusión porque emby me esta generando metadatos en japones si mi configuración es español, y al darle restaurar al archivo NFO no se ve reflejado el cambio en emby
  4. edanius

    2 Emby servers with same source

    Hi, I have two emby servers one windows 10 pro (emby ver. 4.7.14) (have internet, this one write and download metadata). Other server one NAS synology DSM 7.2 (emby ver. 4.7.13) (no internet have no permission to write only read) , The both have the same source of data. Problem: The synology will not read the NFO ( I guess) file there. will be no info showing for the movie. The poster etc is showing.
  5. chrischalfin

    nfo Metadata saver: Permission denied

    Hi, I am having this problem for a while now and tried to find the solution in former topics facing with file/folder permission issues in Linux. I think I tried a lot, but still without success. What am I trying to do? I want to save all metadata changes, made within emby, saved as an album.nfo file in the album-folder. I just want to make sure, that all changes I made are permanently saved and can be exported when necessary. My library setup My music is physically stored on a network drive, which is configured as a samba share. I mount this share with a dietpi-raspberry and emby is running on that raspberry. I checked file permissions, the mount has owner and group emby. So that should work? What did I do so far? I activated nfo as metadata reader and safer in the library. I change the album genre in emby and save it. My expectation is, that this change would reflect in an album.nfo file? But nothing happens. Log Output This is what I get: 2022-12-23 06:23:45.109 Error ProviderManager: Error in metadata saver *** Error Report *** Version: 4.7.11.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_armhf.deb Operating system: Linux version 5.10.103-v7+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #152 Framework: .NET 6.0.8 OS/Process: arm/arm Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/lib/emby Application path: /opt/emby-server/system System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/mnt/MusicLibrary/iTunes/Queen/Jazz/album.nfo' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset) at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite() at System.IO.Strategies.BufferedFileStreamStrategy.Dispose(Boolean disposing) at System.IO.Stream.Dispose() at NfoMetadata.Savers.BaseNfoSaver.SaveToFile(Stream stream, String path, LibraryOptions libraryOptions, CancellationToken cancellationToken) at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, LibraryOptions libraryOptions, CancellationToken cancellationToken) at Emby.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, LibraryOptions libraryOptions, ItemUpdateType updateType, IMetadataSaver[] savers, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void WriteAtOffset(Microsoft.Win32.SafeHandles.SafeFileHandle, System.ReadOnlySpan`1[System.Byte], Int64) InnerException: System.IO.IOException: Permission denied Source: TargetSite: My question: What could possibly still go wrong? I know everything looks like a classic linux permission problem, I just already tried many configurations with no luck. Is there another cause for this problem? Or am I missing something else? I hope you can help me Thank you!
  6. Hello and thanks advance for any support; it's a bit of a read, but I'm hopeful a simple fix exists... A few weeks ago, I decided to batch process hundreds of VOB files into MKV equivalents using MakeMKV and an applet program called MKV Batch Converter. The process renamed each VOB file (e.g., "25th Hour (2002)\VIDEO_TS) into an MKV file within the same parent folder (e.g., "25th Hour (2002)\25th Hour.mkv") and I manually deleted the original "VIDEO_TS" and "AUDIO_TS" files. None of the other metadata/artwork appeared to be modified during these conversions, however I recently discovered that Emby Server generated a second NFO file for many (but not all) of those batch processed movies. The duplication involves one NFO title which matches the MKV file name (e.g., "25th Hour (2002)\25th Hour (2002).nfo) and another which seems to resurrect the ghost of the previously deleted VIDEO_TS file (e.g., "25th Hour (2002)\VIDEO_TS\VIDEO_TS.nfo). This dynamic has now made the MKV movie files unplayable on the server ("Video Error - There was an error playing the video"). Interestingly, the trailer files all seem to play fine on Emby Server, regardless of folder structure (some in the their own "Trailer" folders, e.g., "25th Hour (2002)\Trailers\trailer.flv" and some within the parent folder itself, e.g., "21 Jump Street (2012)\21 Jump Street (2012)-trailer.mp4"). I originally discovered this issue in Emby for WMC when many of my local trailer icons disappeared and hitting "play movie" would instead play the trailer. I became curious whether a trailer had to actually be within a "Trailers" subfolder for EMC to recognize both file types. I tried to triage the issue for hours until I realized that the common denominator was not the form of the trailers folder structure, but instead that those media folders with two NFO files were causing different playback issues on both the server and client side. Notably, more recent library additions I have made--not conversions from VOBs, but straight rips to MKV--only have one NFO file within the parent folder and play/display perfectly fine in both Emby Server and Emby for WMC. For the problem movies, however, even when I try to manually delete the duplicate VIDEO_TS.nfo file, Emby Server immediately regenerates it. I could really use some advice on how to permanently remove these duplicate NFO files (and prevent regeneration) so that I can (1) watch trailers AND movies in Emby Server and (2) don't have to relocate every trailers file into its own "Trailers" subfolder for EMC playback. Screenshots of folder structures and Emby Server metadata settings attached.
×
×
  • Create New...