Search the Community
Showing results for tags 'multi-language'.
-
Create multi language libraries from your existing libraries
rbjtech posted a topic in Tools and Utilities
edit 30/08/2022 I've updated the script as follows - - On repeat usage, added Progress Monitor when skipping existing STRM files (rather than thinking it's hung ..) - Added Summary page of the New Libraries This also works with TV Series - due to the nature of each episode needing it's own STRM file - it takes a little longer, but works just as well. ------- I've created a simple script that creates a copy of the structure of an existing emby library (file path). It then populates this new structure with strm (link) files back to the original video files. You can then use this library as a new library within emby - and subsequently you can choose the metadata language as you would do as part of the normal setup. This means you can get : native language metadata (if it exists) native language artwork (if that exists) subtitle language as required (you can do multi language subs in the core system) The video file is played from the original library - so there is no need to duplicate the video files. If required, user permission can be removed from the main library, leaving just this new library to browse in the users native language. Usage (windows batch file) Copy the batch file 'libstrm.bat' and 'library.txt' to the emby server in a suitable directory. Modify the 'library.txt' file to match your system. In the example file I have - D:\TV Series\;D:\French TV Series\ D:\Films\;D:\German Films\ Also works with UNC - \\media\TV Series\;\\media\French TV Series\ \\media\Films\;\\media\German Films\ The first path is the original location, the second path is the new library location (with the strm files). Note - the path must end with a \ and the entries are separated by a semi-colon. The 'library.txt' file can contain any number of drives and folders - I suggest testing with a sample to start with. Run the 'libstrm.bat' file from a command. Depending on the number of folders/files - it may take a few seconds or more to complete - but it will show progress as it goes. Once complete - create new emby libraries pointing to the new locations - remembering to set the metadata language as required. For example :- Once setup and emby has scanned the new folders (it will do this automatically if set to monitor - or a manual scan) - all the relevant metadata will be imported. As an example - in my test French library :- Note the French metadata, episode names and artwork. In my test German library :- Again, German metadata & artwork. Keeping the system updated ... Because creating the strm files is manual - to add NEW media, the script can just be run again (via the Windows task schedule ever day for example). If the strm file is already there, it will not recreate it. However, if media is removed from the original library (remember it links to it, it is not a copy) - then the strm link will unfortunately break. It can of course just be removed manually by deleting the strm file. I've added a progress bar to now show when items are skipped (every 100 items gets a # displayed..) Media Playback ... The resulting playback will of course be identical to playing the original file (as it IS the original file) but any playback preferences will be remembered for that library. So if the Audio was set to French with French subtitles, then next time it is played, it will remember those settings. There may be a way of setting these to a library default in the native language - I have not experimented with this. Feedback welcome. (rename the libstrm.bat.txt file to libstrm.bat) library.txtlibstrm.bat.txt- 24 replies
-
- 7
-
-
-
- multi-language
- strm files
-
(and 2 more)
Tagged with:
-
There‘re so many cases that I can not receive the right answer for the show I want to search, with my local language. The string I input is right in the tittle of that show, still no answer returned, it only works when I input the string beginning with the first characters. It doesn't make sense I still need to memorize the title from the beginning when a searching engine is right there. Example: 君主·埃尔梅罗二世事件簿 魔眼收集列车 Grace note No answer returned using words in the middle like "二世", “列车”, but the beginning word "君主" or English word "grace" which even is not at the beginning.
- 4 replies
-
- parsing
- multi-language
-
(and 1 more)
Tagged with: