Search the Community
Showing results for tags 'Library'.
-
Issue with Collection Cover (Primary) When Some Media Are Unavailable
xfcc15 posted a topic in General/Windows
Hello Admin, I am currently experiencing an issue with collection covers (Primary) in my Emby library. I have manually created some collections, and Emby automatically generates a cover image by combining artwork from multiple movies within the collection. This feature works well and looks great. However, my media files are stored across multiple hard drives, and due to hardware limitations, not all drives are available at all times. When a movie used in the automatically generated collection cover is located on an unavailable drive, the collection cover (Primary) fails to display properly, as shown in the attached screenshot. I would like to suggest adding a manual “Regenerate Cover” button for collections. This feature could refresh the currently available media and generate a new cover based on the accessible files. I hope my explanation is clear, but please feel free to ask if you need any clarification. Thank you very much. -
I tried to change the Content Type of an existing library on Emby server installed on Synology. I followed the guide here: https://emby.media/community/index.php?/topic/99927-how-to-change-the-content-type-for-a-library/, but Synology stores libraries in an SQL database, so the process is not as straightforward. Therefore, I’m sharing the procedure that worked for me. I hope that it hepls someone. - Turn off the Emby server - Connect to NAS by SSH - Navigate to the directory: cd /var/packages/EmbyServer/var/data - Set correct permissions: sudo chmod 664 library.db sudo chmod 775 /var/packages/EmbyServer/var/data/ - Create a backup of the database: cp library.db library.db.bak - Open the database tool: sudo sqlite3 library.db - List the tables: .tables - Libraries are stored in the table `MediaItems`. - Get the column names for the library table: PRAGMA table_info(MediaItems); - Select data based on the name of the desired library (focus on entries with an existing `Path`): SELECT Id, Name, Path FROM MediaItems WHERE Name = 'LIBRARY_NAME'; - From the selected record, take the ID. - Select additional settings for the library based on the ID: SELECT * FROM ItemExtradata WHERE ItemId = ID; - It will show that one column contains JSON data with settings, including the `ContentType` value. - Valid `ContentType` values: - Audio books: `"ContentType":"audiobooks"` - Camera Uploads: `"ContentType":"homevideos"` - Collections: `"ContentType":"boxsets"` - Home videos & photos: `"ContentType":"homevideos"` - Movies: `"ContentType":"movies"` - Music: `"ContentType":"music"` - Music Videos: `"ContentType":"musicvideos"` - Playlists: `"ContentType":"playlists"` - TV shows: `"ContentType":"tvshows"` - Mixed content: `EMPTY` (no `ContentType` key) - Update the `ContentType` to Mixed content (original value is `ORIGINAL_CONTENT_TYPE`): UPDATE ItemExtradata SET Value = REPLACE(Value, '"ContentType":"ORIGINAL_CONTENT_TYPE",', '') WHERE ItemId = ID; - Alternatively, update `ContentType` to a new value (`NEW_CONTENT_TYPE`) (original value is `ORIGINAL_CONTENT_TYPE`): UPDATE ItemExtradata SET Value = REPLACE(Value, '"ContentType":"ORIGINAL_CONTENT_TYPE"', '"ContentType":"NEW_CONTENT_TYPE"') WHERE ItemId = ID; - Exit the database tool: .exit - Delete the database backup: sudo rm library.db.bak - Start the Emby server - Run the "Scan media library" task
-
Moving Library between storage volumes but maintaining relative path
Didiflix posted a topic in General/Windows
Hello everyone, I got a file system error in my volume1, and need to move my Main Emby Video libraries as Movies, TV Shows and custom metadata videos (example: homebrewing documentaries and youtube downloads) to another volume2. Since I have the NFO data in each media directory, I thought it would be as simple as copy the overall content and just update the library from /volume1/path to /volume2/path, however the field to change the folder path (indicated in yellow) is read-only. When clicking the pencil the Folder in Select Path window is read-only (to maintain integrity, I understand) I tried to add a new Folder and remove the previous, but the NFO metadata is not being used to update the library. Especially for my custom libraries, it took me a while to update and reference all the documentaries and other personal files I have in the NFO metadata. I'd like to avoid going through that again. I see 2 alternatives: 1) Stop the Emby Server and make this change the path directly in the metadata database field (hopefully one field only, and the file location path is not spread throughout many tables in the database), something like a SQL command would do as replace '\volume1\path' to "\volume2\path' ; else 2) Some sort of flag to force the NFO to be updated in the directory to be used while reloading the video library. Thanks in advance, -
Why are some of my media folders getting classified as tv shows when they are movies?
- 5 replies
-
- classifing
- tv shows
-
(and 5 more)
Tagged with:
-
Dear forum! I installed emby for the first time today and found the configuration quite easy. There is one problem I couldn’t figure out though. I have two folders I added to the libraries. Tv shows and movies. Both are imported, the tv shows are displayed as expected. The movies folder seems empty though. Only if I go into the movies folder and within again into „folders“ I see the movies. Any idea why this may be the case and how to change that?
-
bonjour la communaute,je suis nouvel utilisateur d'emby et j'ai besoin de vos connaissances.dans mes series certaines sont refractaires pour se mettre a jour .j ai essayé pas mal de trucs mais je n'ai pas envie de bousillé ce qui marche bien.un petit screen d ecran est plus parlant,mercii
-
Hi all! I am looking for an API endpoint where I can list all IDs of TV Shows or Movies in a library. I have looked at the docs, swagger.emby.media, and Googled and can't find anything to enumerate this data. For context, I want to develop a small companion tool to dynamically manage collections based on metadata of TV shows and movies. For this to work, I need to iterate over each show or movie in a library, parse the data and add matching items to collections. Apologies in advance if this is an `ID10T` error. Thanks!
-
hi I don't have enable real time monitoring anymore with this update (it's there, and checked, but it's not monitoring and updating) 4th time now I'm starting the task manually in the last 2 days. the recent docker update to 4850 is the only thing that has changed on my side. is this a possible explanation? some changes? bugs? anyone else? thanks!!
- 13 replies
-
- monitoring
- library
-
(and 1 more)
Tagged with:
-
I was trying the camera upload feature in my android phone. When I enabled it for the first time on phone A, it created 6 libraries that points to /var/lib/emby/data/camerauploads. Huh, weird. So I deleted the remaining 5 libraries. It successfully deleted all of them. Then later that day, I also enabled the camera upload feature on my phone B. It created the same exact six camera upload library again, all pointing to the same path as before. When I am trying to delete all those 6 libraries, it just doesn't respond. So I tried deleting data/camerauploads folder, but it still won't delete. When I checked the log, it logs the delete command but then nothing after that. No error, no info. Nothing related to library deletion. I also checked the root/default folder, there's no camera upload folders there. This weird behavior is also causing full cpu load on my setup on every library scan that forced me to restart emby server to restore it's functionality. embyserver.txt
- 6 replies
-
- linux
- camera uploads
-
(and 1 more)
Tagged with:
-
Hola, Tengo un grave problema, desde hace unos días el escaneo general de las bibliotecas duraba aproximádamente una o dos horas como mucho, ahora tarda muchas más horas, diría que incluso más de 24h. La identificación individual de una película ha pasado de tardar menos de un minuto a tardar más de 15 o 20 minutos. El update del plugin Top picks se queda colgado de forma indefinida y no termina jamás y por algún motivo eso bloquea también el scan general de las bibliotecas. No se que sucede, que puede haber cambiado, he revisado todas las configuraciones y no entiendo el motivo de este retraso en estos procesos. Adjunto logs por si ayudan en algo quick-extract-imageseries-D7A3A5AA7BC1_1.txt embyserver (2).txt quick-extract-imageseries-A40E09F603B6_1.txt embyserver (1).txt
-
Just wondering if / can / would emby support it if I were to pre-transcode some library items to hls rather than using the “conversion” feature. The “conversion” feature is a nice first stab, however having no control over the profiles is a barrier to entry for me. Storing the converted file in the same folder as the media file wrecks my metadata management / naming i do outside of emby.
-
Language issue when setting up different librairies with same folders
innos posted a topic in General/Windows
I recently switched over to Emby from Plex and while me and the households of my siblings are perfectly fine with having Emby in English our parents don't speak any English at all, so we had to find a way to have the metadata on Emby in Hungarian as well. Since you can't have multi-language libraries where users can just switch to another metadata language on the client side, I've tried to create new libraries with a different metadata language but with the same folders, and then I would hide the English libraries from my parents' user accounts. This is how my Plex was set up and this setup worked fine on Plex without issues, but for some reason on Emby my new Hungarian language libraries didn't want to switch over to Hungarian, no matter what I did. I've double-checked the library metadata settings multiple times, I've restarted Emby, I forcefully refreshed all the metadata for my new libraries, but nothing worked. I noticed that when I was refreshing the metadata for my new libraries the percentage icon also appeared on top of my old English libraries that were sharing the same folders with my new libraries, which made me think that because these libraries happen to share the same folders for some reason Emby treats them as if they were actually the same library, and that's why it was refusing to switch over from English because that's the metadata language of my old library. I've tried searching the Emby forums and Google, but I couldn't find anything about this issue. But I did see a comment that said that having libraries with the same folders can cause issues and bugs, which further confirmed my suspicion that these different libraries were treated by Emby as if they were the same library. As a temporary solution to this issue, I thought that for my new Hungarian libraries, I had to have new folder paths that differed from the ones that the old English ones use. Since making copies of my video folders, which take up multiple terabytes, would be a waste of space and time, I thought of creating Symbolic Links at a different location that point to my video folders, and using the folder path of my Symbolic Links I would be able to trick Emby into thinking these are different folders. Since I host my Emby server on Windows I used an app called Link Shell Extension to create the Symbolic Links. For example, this is the folders of my old English movie library: And this is the new folder path I made using Symbolic Links: After I did this Emby finally switched over the metadata language of my new libraries to Hungarian. I wrote this all down not only just to report this issue, but also help those who might encounter this same issue in the future. -
Hello everyone. I also tried my hand at designing a bit. I actually wanted it to be simple and in Emby green, but the more I look at the icons, the more I don't like them. Maybe someone is interested or has ideas to improve it. The icons are now only designed in German. Ideas, tips or requests for changes are welcome. embflix.zip Best regards Dicken
-
For the past week or so, manually triggered scans of my media library fail to complete. I do not have a scheduled task for full scans, only folder watching. Logs attached. There are no other discernable errors or limited/unavailable functionality, but until the server is restarted, folder watching is not reactivated. The scans consistently get to the completion percentage indicated in the clip below. I am running the current stable (4.7.11.0) build of Emby Server as Windows service via NSSM on a headless Windows Server 2016 server powered by an Intel Core i9-9900K CPU with16Gb of DDR4 memory. Prior to posting, both the service and server have been restarted several times as I attempted to troubleshoot. I have also attempted the library scan after terminating the service and running Emby in a normal desktop session with the same results. embyserver.txt
-
No compatible streams are currently available, only on 1 folder.
Dx111111 posted a topic in General/Windows
PS when I say folder I mean folder / library. I have 1 folder per library. So yes, I know there's already 1000 of threads about this exact error. But mine seems to be different. First of all, I recently had this exact error with some new movie files, which had really really long titles (and the folder where the file was in, had the same super long title). It gave me this same error every time, until I shortened the folder and video file. Strange, but okay, solved easily. Now I have this same error, but a different issue, with my 1 folder of HDR demo files. They're all short 1/2 minute files, all in the same folder. All stopped working. They worked before. I don't think I've changed any setting on my demo folder. BUT when I take one of these files, and move it to my movie folder, then play it from Emby, it works. BTW the demo folder hasn't worked in months, but they worked before that. I just want to fix it now. So I guess it must be somehow setting related. So I compared the settings for both folders. And as far as I can see, they're exactly the same. Strange, right? Any ideas? Can it somehow have to do with the fact that the files are short in time? I think the demo folder is set up as a TV show library, but I can't find where I check that. It does have some other tv-show related settings which my movie folder doesn't have. Could that be it? I looked at other threads with this error but it looks like 10 different issues all gives this same error, and also many people said: do: "PKG install ffmpeg" but I'm pretty sure that's not a thing on a server running windows, right? And yes I can probably fix it by making a new (movie) library for this folder and solve it that way, but I rather know what is happening for next time. -
I tried to add a photo's library. When I clicked `Okay` - it just sat there... greyed out. After an hour or so of waiting - I refreshed. To find out that I have over sixty-thousand of the same library created. Please... there must be a way to bulk delete libraries. Deleing them one at a time is _not_ an option.
-
Library is now reading disc folders instead of individual episodes
StetsonSnead posted a topic in Linux
Hello, My first post here. I'm on an UnRAID server, but I didn't see that as an option, so I figured Linux was general enough. Tonight I went to watch Emby and found that the number of episodes in my library was way off. Upon further investigation, it's reading the wrong folders. My folders are organized as recommended here https://support.emby.media/support/solutions/articles/44001159110-tv-naming, for DVD episodes. M*A*S*H, for example /TV /M_A_S_H /Season 1 /M_A_S_H S01E01-E08 /VIDEO_TS episode 1.mkv episode 2.mkv episode 3.mkv In this example, Episodes 1-8 are all from the same DVD, with each episode being an individual video file. Previously, this was read correctly by Emby, and all the episodes in a given season were displayed as individual episodes. Now, it's counting the disc level folder, "M_A_S_H S01E01-E08," as a single episode. However, it seems to still understand that there are multiple episodes, it's just lumping them all together and listing all the titles in a row. Screenshot of this attached. This is consistent, across my entire library of TV shows. Doesn't seem to be affecting movies or music, although they don't have as many subfolders. Anyone know what would have caused this? How do I fix it? Edit: corrected/clarified the way the files are organized within the folders.- 10 replies
-
- television
- dvd order
-
(and 1 more)
Tagged with:
-
Libraries vanish empty themselves when network path is not accessible
Fretawekakoep posted a topic in General/Windows
Was this ever resolved or a workaround in later releases? I have a similar issue. Part of my library is stored on a remote disk that is mounted via CFS/SMB to my NAS, where Emby is running and the main library is stored. After a disconnected disk, the movies are being deleted from the library and I will need to do a full reboot of both NAS and Emby, do a full re-scan (sometimes it takes a couple of times) to get them back. Metadata is stored with the media but still need to do some manual fixes in terms of selecting proper backgrounds or covers which are missed or not properly recovered. Strange thing is that Movies is much more affected by this compared to TV Series. -
Emby server v4.7.2.0 Why can't I delete "Collections" from my library? I have not created this folder.
-
Is there a way to disable watched media from being purged!? I just noticed that I no longer have media in TV Shows I watched awhile ago no longer showing up in my list of TV Shows when trying to find them in emby. I also looked into my external HDDs and they're no longer there either, is there a way to disable this from happening to other media I've watched in the future!?
-
This is my very first post / issue out here, so apologies if I miss something while reporting it. So far a simple google search solved all issues Since the latest update (Currently on Ver. 4.7.0.60), for some odd reason the TV Shows are not displaying the unwatched / latest episodes when the particular show is opened up. I have to specifically go to Show >> Scroll to Season >> Scroll to Episode, to see this episode which has been added in case I want to refresh its metadata or watch it specifically. Previously the latest / unwatched episodes would get displayed above the seasons list and below the tv show info. I tried checking the settings to see if anything had changed, but nothing was changed and couldn't find anything in the changelog regarding the episode display change. Is this an intended change or bug? embyserver.txt
-
Hi, I'm new here. I added several movies to my library, but the names weren't 100% accurate, for example: "expendables.mkv", which was recognized as "expendables 4" I don't know if Emby would need the information there like "expendables 1.mkv", but there are several of these movies that were added that ended up like this, having only the name of the movie, without informing the "order" (like the movie "Scream .mkv" which emby recognized as "Scream 5"). In a "Manga" reader that i did, i make this code to "find" the most probably correct match. I'm not a developer, i just tryed make the code until it give-me a good result. Code running with 2473 movies in db, and it find the match easily (I used it a lot with all 1.378 manga that i have, and it update each correctly, without a problem), so... Is there a way to implement something like this on emby? I know that the code is way to not optimized, but, for now is what i can do. Code: function GetAllMangaMatches(Lista, Nome){ let NovaLista = Clone(Lista); let Retorno = {Vazio: ''}; let Mangas = []; let Counter = 0; while (!Empty(Retorno)) { if(Counter > Lista.length) break; Retorno = FiltrarManga(NovaLista, Nome); if(!Empty(Retorno)) { Mangas.push(Retorno); delete(NovaLista[NovaLista.indexOf(Retorno)]); NovaLista = CleanArray(NovaLista); } Counter++; } return Mangas; } function Clone(Objeto) { let Copia = null; if(!Array.isArray(Objeto)) Copia = Object.assign({}, Objeto) else Copia = Object.keys(Objeto).map((key) => Objeto[key]); return Copia; } function Empty(Object) { return $.isEmptyObject(Object); } function FiltrarManga(Lista, Nome){ if (Lista.length == 0) return ''; let Manga = []; let CountMax = 0; let Count = 0; let ListaNomes = arrayColumn(Lista, "Name"); ListaNomes = ChangeCase(ListaNomes, toLowerCase); Nome = RemoverCaracteresEspeciais(Nome.toLowerCase()); let NomeArray = Nome.split(' '); NomeArray = CleanArray(NomeArray); let isOrigemDoujinshi = NomeArray.includes('doujinshi'); let SelectedValue = []; let isMatchDoujinshi = false; x = 0; let foundExact = false; ListaNomes.map(function(value){ if(foundExact) return; value = RemoverCaracteresEspeciais(value); if (value == Nome) { Manga = Lista[x]; foundExact = true; return Manga; } Count = GetOcorrencias(value, Nome); if (Count > CountMax) { CountMax = Count; Manga = Lista[x]; SelectedValue = value.split(' '); SelectedValue = CleanArray(SelectedValue); isMatchDoujinshi = SelectedValue.includes('doujinshi'); } x++; }) let NomeArraySize = NomeArray.length; if (((CountMax > NomeArraySize*0.9) && (NomeArraySize + 3 > SelectedValue.length) || (foundExact)) && (isMatchDoujinshi == isOrigemDoujinshi)) { if(Manga != undefined) { if(Manga.length == 0) { Manga = Lista[0]; } } else { Manga = Lista[0]; } } else { return []; } return Manga; } function arrayColumn(array, columnName) { return array.map(value => value[columnName]) } function ChangeCase(Elemento, CaseFunction, Parameters) { switch (typeof(Elemento)) { case 'string': return CaseFunction(Elemento, Parameters); break; case 'object': if(Array.isArray(Elemento)) { return Elemento.map(x => ChangeCase(x, CaseFunction, Parameters)); } else { if(Elemento != null) { let ElementTemp = {}; Object.keys(Elemento).map(function(key){ ElementTemp[key] = ChangeCase(Elemento[key], CaseFunction, Parameters); }) return ElementTemp; } else return null; } break; default: return Elemento; break; } } function RemoverCaracteresEspeciais(texto, subst = ' ') { let pattern = /[^a-z1-9]/gi; return texto.replaceAll(pattern, subst); } function CleanArray(Array) { return Array.filter(x => !$.isEmptyObject(x)); } function GetOcorrencias(Fonte, Busca) { let ArBusca = RemoverCaracteresEspeciais(Busca).toLowerCase().split(' '); ArBusca = CleanArray(ArBusca); Fonte = RemoverCaracteresEspeciais(Fonte).toLowerCase(); let Contagem = 0; ArBusca.map(function(value){ if(Fonte.indexOf(value) != -1) Contagem += 1; }) return Contagem; } function GetAllMangaMatches(Lista, Nome){ let NovaLista = Clone(Lista); let Retorno = {Vazio: ''}; let Mangas = []; let Counter = 0; while (!Empty(Retorno)) { if(Counter > Lista.length) break; Retorno = FiltrarManga(NovaLista, Nome); if(!Empty(Retorno)) { Mangas.push(Retorno); delete(NovaLista[NovaLista.indexOf(Retorno)]); NovaLista = CleanArray(NovaLista); } Counter++; } return Mangas; } function toLowerCase(Texto) { return Texto.toLowerCase(); } function AddScriptByJavascript(src){ script = document.createElement('script'); script.src = src; document.body.appendChild(script); } AddScriptByJavascript("https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"); Ps: I Also add there a code "Importer" to add jquery, because the function from jquery "$.isEmptyObject(Object)" is needed. If wanna me to translate the function/parameters to english, i can do too.
- 12 replies
-
Hi there, for several reasons, I would like to restructure my Server, meaning I would like to rename and / or move paths/folders/directories that are (partly) related to emby’s library. For example, I would like to rename the folder "Media" to "Video" (as I d like to split up audio and video into separate folders). I am supposing, such an action would have an impact on emby’s library, meaning media would no longer be found, etc. But my question is, if I could fix this by just renaming/adjusting paths within the library/libraries or if this would lead to data/media no longer being found or any other impacts such as metadata being lost, etc. In other words: - Can I adjust a media path within a library in emby? (for examle from "/Media/Animation/" to "/Video/Animation/"? - What impact will such an adjustment have? (f.e. Meta-Data and / or Images being replaced, watch-states getting lost, … Thank you in advance for your kind support. Best regards, hi2hello
-
New User: How to set default subtitles for foreign content?
Hawkwinter posted a topic in General/Windows
Preamble: So, I've been a longtime Plex user since before Emby existed, but I've been getting increasingly frustrated with their "improvements" breaking things and find myself checking out the competition. First question: Is there a way for me to enable default subtitles for all of my Chinese Wuxia (Kung Fu) TV Shows and Movies without enabling subtitles for all my English media? Say, a setting on a per-library or per-show basis? If yes, where would I find that? Turning it on for each episode (or changing a user-wide default every time I launch the app) would be an irritatingly tedious set of repetitive steps I would love to skip if possible.- 7 replies
-
- subtitles
- default behavior
-
(and 1 more)
Tagged with:
-
synology How to add media libraries when running Synology DSM 7
FrostByte posted a topic in Tutorials and Guides
Adding libraries to Emby server is a little different under DSM 7 in that setting permissions for the shared folders has changed some. If you've ever tried to add a library to Emby and it wouldn't accept, then the permissions might be wrong 1. Give emby read/write permissions to the shared folder Open Control Panel...Shared Folder in DSM on your NAS Select your shared folder...Edit... and then under the Permissions tab select the dropdown box and change it to "System internal user" Check Read/Write next to the user 'emby' and then click Save 2. Add libraries in Emby server Settings...Library...New Library Select the library type and enter library folder information Example: