Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. CuervoBernardi

    Animated Hover Thumbnail

    Last Update, it's working in chrome. I am not sure if it's something I did or just an amazingly fast response from developers. Screencast_20260815_145106.webm I'd be excellent if the animation only happended when hovering over the thumbnail. But this is already very good. I share bellow how to swiftly generate the gifs, using the script preview.sh in a folder with season subfolders but I recommend testing it on an isolated folder to avoid loosing data on unexpected behaviour (like the removal I included of previous thumb files or posters, that could explain why I couldn't make it to work before) # Create -thumb.gif and -default.jpg images for all videos in subfolders for extension in mp4 m4v avi mkv do for file in ./*/*.$extension do base=$(basename "$file") folder="$(dirname "${file}")" .preview.sh "$file" "$folder" done done #remove *.-thumb.jpg and -poster.jpg files in all subfolders rm -v ./*/*-thumb.jpg rm -v ./*/*-poster.jpg and here's the modified script that: Removes auxiliary files created Produces files 'video_name-thumb.gif' and 'video_name-default.jpg' in accordance with image naming documentation It's compatible with both regional configurations for decimals '.' vs ',' works with output folders different from "." (there was a bug) #!/usr/bin/env bash set -euo pipefail # Usage: ./preview.sh <input-video> [output-directory] [max-total-length] # $1 = input video path (required) # $2 = output directory (optional; default = current directory) # $3 = max total preview length in seconds (optional; default = 6) if [ $# -lt 1 ]; then echo "Usage: $0 <input-video> [output-directory] [max-total-length]" exit 1 fi INPUT="$1" OUTDIR="${2:-.}" MAX_TOTAL="${3:-6}" # default max total length = 6 seconds # Verify input file exists if [ ! -f "$INPUT" ]; then echo "Error: Input file '$INPUT' not found." exit 1 fi # Create output directory if needed mkdir -p "$OUTDIR" # Extract filename components FILENAME="$(basename -- "$INPUT")" # e.g. video.mp4 NAME="${FILENAME%.*}" # e.g. video EXT="${FILENAME##*.}" # e.g. mp4 # Compute per-clip length = MAX_TOTAL / 3, rounded to 3 decimals CLIP_LEN=$(printf "%.3f" "$(echo "$MAX_TOTAL / 3" | bc -l | sed -E 's/\./\,/')" | sed -E 's/\,/\./') # 1) Query total duration (in seconds) via ffprobe duration=$(ffprobe -v error \ -show_entries format=duration \ -of default=noprint_wrappers=1:nokey=1 \ "$INPUT") # 2) Calculate 20%, 50%, and 80% start times (rounded to 3 decimals) start1=$(printf "%.3f" "$(echo "$duration * 0.2" | bc -l| sed -E 's/\./\,/')" | sed -E 's/\,/\./') start2=$(printf "%.3f" "$(echo "$duration * 0.5" | bc -l| sed -E 's/\./\,/')" | sed -E 's/\,/\./') start3=$(printf "%.3f" "$(echo "$duration * 0.8" | bc -l| sed -E 's/\./\,/')" | sed -E 's/\,/\./') echo "Source duration: $duration seconds" echo "Max total preview len: $MAX_TOTAL seconds" echo "Each clip length: $CLIP_LEN seconds" echo "Start times → 20%: $start1 s, 50%: $start2 s, 80%: $start3 s" echo # 3) Extract three sub-clips (video-only, no audio) CLIP1="$OUTDIR/${NAME}_clip1.mp4" CLIP2="$OUTDIR/${NAME}_clip2.mp4" CLIP3="$OUTDIR/${NAME}_clip3.mp4" ffmpeg -y -ss "$start1" -i "$INPUT" -t "$CLIP_LEN" -c:v libx264 -an "$CLIP1" ffmpeg -y -ss "$start2" -i "$INPUT" -t "$CLIP_LEN" -c:v libx264 -an "$CLIP2" ffmpeg -y -ss "$start3" -i "$INPUT" -t "$CLIP_LEN" -c:v libx264 -an "$CLIP3" # 4) Build concat list CONCAT_LIST="${NAME}_concat.txt" cat > "$CONCAT_LIST" <<EOF file '$CLIP1' file '$CLIP2' file '$CLIP3' EOF # 5) Concatenate into an intermediate preview (video-only) PREVIEW_RAW="$OUTDIR/${NAME}_preview_raw_${MAX_TOTAL}s.mp4" ffmpeg -y -f concat -safe 0 -i "$CONCAT_LIST" -c copy "$PREVIEW_RAW" # 6) Scale the concatenated preview to 396×704 px # (re-encode video using libx264, drop audio if any) PREVIEW_SCALED="$OUTDIR/${NAME}-thumb.gif" ffmpeg -y -i "$PREVIEW_RAW" -vf "fps=10, scale=320:180" -loop 0 "$PREVIEW_SCALED" # 7) Compute thumbnail timestamp: midpoint of the combined preview # Combined preview duration = MAX_TOTAL → midpoint = MAX_TOTAL / 2 MIDPOINT=$(printf "%.3f" "$(echo "$MAX_TOTAL / 2" | bc -l| sed -E 's/\./\,/')" | sed -E 's/\,/\./') THUMB="$OUTDIR/${NAME}-default.jpg" ffmpeg -y -ss "$MIDPOINT" -i "$PREVIEW_RAW" -vframes 1 -q:v 2 "$THUMB" echo "Done:" echo " • Extracted clips (video-only): " echo " $CLIP1" echo " $CLIP2" echo " $CLIP3" echo " • Concatenated (raw) preview: $PREVIEW_RAW" echo " • Final 396×704 px video preview (video-only): $PREVIEW_SCALED" rm -v "${CLIP1}" "${CLIP2}" "${CLIP3}" "${CONCAT_LIST}" "${PREVIEW_RAW}" For more advanced users: add the script to your source_path a with an alias like 'preview' so you can just keep it in one place, instead of moving it arround for every run. In which case you'd have to replace the line .preview.sh "$file" "$folder" to preview "$file" "$folder" in the double loop for calling it.
  3. Ich habe jetzt die "The Equalizer Filmreihe" und die "Extraction Filmreihe" meinem Hauptserver hinzugefügt. Auch hier werden plötzlich keine Bilder mehr den Filmreihen hinzugefügt (Siehe Bilder). An diesem Server wurde seit Monaten keine Änderungen an den Bibliotheken vorgenommen, es hatte ja vorher schon funktioniert. Somit tritt das Problem auch auf meinem Haupserver mit derselben Emby Beta Version auf und ist wohl ein Bug in der Beta. Das könnte auch schon länger nicht mehr funktioniert haben. Es fällt ja erst dann auf, wenn wieder mehrere Filme die zu einer Reihe gehören hinzugefügt werden. Die Sammlungen scheinen nicht auf die ID der Filme zuzugreifen. I've now added “The Equalizer Movie Series” and “Extraction Movie Series” to my main server. Here, too, images are suddenly no longer being added to the movie series (see images). No changes have been made to the libraries on this server for months, and it had been working fine before. This means the problem is also occurring on my main server, which is running the same Emby beta version, so it’s likely a bug in the beta. It might not have been working for quite some time. You don't really notice it until several movies from the same series are added again. The collections do not appear to access the movies' IDs.
  4. Today
  5. ebr

    new version doesn't play what it used to

    Okay, you're still on .51. As mentioned above, the beta should solve this for you. The latest beta is .55.
  6. Habe ich natürlich auch schon alles getestet, ohne Erfolg Ich teste das aber wie gesagt später nochmal mit einer neuen Filmreihe auf meinem Hauptserver, der Synolgy. Sollte es hier richtig zugeordnet werden und die Bilder geladen werden, wissen wir das es nicht an Emby liegt, sondern wohl an dem Gerät wo der Server darauf läuft. Ich gebe hier natürlich Bescheid... Of course, I've already tested all of this, without success But as I said, I'll test it again later with a new movie series on my main server, the Synology. If the files are assigned correctly here and the images load, we'll know it's not Emby's fault, but rather the device running the server. I'll let you know here, of course...
  7. ginjaninja

    MessageCommand TimeoutMs

    Hi Team, I am using "toast" messages in my plugins more and more and i am unable to get control over their timeout. public class MessageCommand { public string Header { get; set; } public string Text { get; set; } public long? TimeoutMs { get; set; } } I have upped the timeout to 15000 ms and the most i get is 3 seconds (which is better than default but not 15000 ms) . tested on on Android and Webclient (4.10.0.25 alhtough not a recent issue). I mention it as a potential issue although 3 seconds is probably enough for my needs. What spurred me to raise this, was a user complained that they recieved as message of what i assume was from me restarting the server, but it went so quickly they couldnt read it so rang me (they were on webclient on internet over 1Gbit connection end to end, playing a show). Perhaps even the inbuilt messages are not getting enough screentime love?
  8. abroadhursthall

    Screensaver photo library restriction

    I'd definitely appreciate the option to exclude libraries from the screensaver. While creating a restricted user account is a workaround, it's no use when we want to watch films but dont want the backdrops as a screensaver.
  9. ShoutingMan

    TOS 7 Stable and Latest Emby Issue Upgrading

    Is it safe to upgrade my F4-425 to TOS7? I don't use hardware transcoding. Or should I wait and check back in a couple weeks?
  10. Is TMDB meta-downloader enabled in your Collections library (Settings>Library tab in the sidebar>edit Collections library)? If it is, try unticking/ticking it back again and then refresh one collection, see how does that compare.
  11. Ich dachte eigentlich, dass ich das mit meinen Bildern und meiner Beschreibung dazu ziemlich genau erklärt habe Es ist völlig egal ob ich einzelne Sammlungen oder alle die Metadaten aktualisiere oder bei allen, das Ergebnis bleibt dasselbe, die Sammlungen bleiben ohne Bilder. Ich habe auch die Film Bibliothek komplett entfernt und neu angelegt, auch hier werden zwar in der Biblothek alle Bilder und Beschreibungen gefunden, diese werden aber nicht für die Sammlungen genutzt, die bleiben leer wie in meinem Bild in Post 1. Auch ein kompletter neuer Suchlauf der Bibliothek mit dem erneuern der Bilder und Metadaten, bringt hier nichts. Ich habe das ganze nur auf einem neuen Server getestet, weil in meinem anderen Forum, wo ich noch aktiv bin, dort ein User genau dasselbe Problem gepostet hatte. Ich konnte das dann nachstellen um es dann hier zu melden... Wie gesagt, auf meinem Hauptserver der Synology sind diese Bilder bei den Sammlungen alle vorhanden, dieser läuft aber schon ein paar Jahre. Ich gehe aber davon aus, das wenn ich neue Filmreihen hinzufügen würde, diese auch keine Bilder mehr bekommen würden, was ich aber erst testen kann, wenn ich eine hinzufüge. Ich versuche das aber auch noch nachzustellen. I actually thought I’d explained this pretty clearly with my screenshots and description It doesn’t matter at all whether I update the metadata for individual collections or for all of them—the result is the same: the collections remain without images. I also completely removed the movie library and recreated it; here, too, all the images and descriptions are found in the library, but they aren’t used for the collections—they remain empty, just like in my screenshot in Post 1. Even a complete re-scan of the library, with the images and metadata refreshed, doesn’t help here. I only tested this on a new server because a user on my other forum, where I’m still active, had posted about the exact same problem. I was then able to reproduce it so I could report it here... As I said, on my main Synology server, these images are all present in the collections, but that server has been running for a few years now. I assume, however, that if I were to add new movie series, they wouldn’t get any images either—though I can’t test that until I actually add one. I’ll try to reproduce that as well.
  12. Q-Droid

    HW transcoding stopped working after 4.9.3.0 update

    Patience grasshopper. It's only been eight months.
  13. Dear all, It is known that the original Synology i915 drivers do NOT support transcoding any more. However, there is a workaround - either to be installed manually or even via the community package center (Package name: Transcode for x25) or via a script. For more information, see Github: https://github.com/007revad/Transcode_for_x25 There is only Plex and Jellyfin mentioned which definitely will use this drivers for transcoding. Does anyone have experience with these drivers and Emby? @ Developers: any comment on that? Regards, Jens
  14. Haisenzwerg

    Zufallsliste Ungesehener Filme auf der Startseite

    Ich habe jetzt die „Version 4.10.0.25 beta“ Installiert und mal ein wenig mit der neuen Einstellung der Startseite gespielt ... es ist wirklich faszinierend, was alles möglich ist. Man muss aber auch dazu sagen, dass man die neuste Android App Version auf seinem Gerät installiert haben sollte, damit alle Einstellungen auch den gewünschten Effekt zeigen. Hier meine Ansicht im Browser: Auf meinem Fire-TV 4K Stick sah es aber mit der alten App Version 2.1.xy leider so aus: Die Änderungen wurden ebenfalls nicht übernommen, auch nach einem Neustart des Sticks keine Veränderung. Ich habe dann die Aktuelle Emby für Android (nicht TV) 3.5.37 Installiert ... und siehe da zuerst: Dann noch ein wenig mit den Einstellungen experimentiert ... Et voilà! Beim Runter Scrollen wird dann schön Reihe für Reihe ... alles so angezeigt wie im Browser Voreingestellt! Nun brauche ich auch die lange von mir gewünschte Funktion zur Ansicht der Bewertungen unter den Filmen in der Hauptansicht nicht mehr! Es wird mir alles angezeigt, sobald ich einen Film oder Serien in der Vorschau Markiere. Das ist wirklich Wunderbar Diesen Schalter habe ich gefunden, dieser muss zwingend auf „On“ sein: Er ist nur über den Browser am PC zu finden, im Stick-Menü habe ich ihn nicht (Keine Admin-Rechte am Stick) gefunden. Nun müssen nur noch alle Familien Sticks ein Update haben, dann ist alles wunderbar. @Emby Team ... Danke für eure Arbeit!
  15. guyvdw001

    Trailers cannot be played in the app

    Hello, thanks a lot for your answer. In the browsers (Chrome or Firefox) the trailers are very good. In the app only, the trailers are just ignored. Strange, isn't it ? I should mention that I have an Emby Premiere subscription.
  16. pwhodges

    Emby Player

    What client? What device? What server version? Y'know, anything that might give a clue what you are even using... Paul
  17. pwhodges

    My server is under attack

    I have no experience of NASes, but I would assume that they would have at least some firewall capabilities available, as virtually all operating systems do. In my case, my main firewall is in my router - but that is of a type aimed at SMEs rather than domestic use (the simpler domestic routers may simply rely on IPv4 NAT for security, though that's not good enough if you have IPv6). Paul
  18. BradFeuerhelm

    Emby Player

    Hi I'm a complete noob here so bare with me will I learn. I'm having crashes trying to play dvd files. second, crashes during closed captions on/off toggle, also changing aspect ratio or quality. Please help, thanks
  19. CuervoBernardi

    Animated Hover Thumbnail

    Hi, here's a better detail on two different plateforms: Chrome Navigator When I access the emby application on my computer using the chrome navigator. I go to the folder, or the films & movies, Indicate the menu to show thumnails of elements in the folder. Then I hover over the film with that has the movie_name-thumb.gif file in the folder but the thumbnail shown is just the first frame of the gif, no animation. Interestingly. If I left-click the movie, and then go to edit images, left-click on the thumb image, the menu displaed shows the image and it is animated. Showing that it is "technically" feasible to make it happen on the main menu. Android App It works!!! Just accessing the folder, and displaying thumbs and the gif is automatically animated. This could be annoying if many files are there since all gif woild be running. One might have to be sure to have a gif as thumb and a jpg as default to be able to chose to display the animated and static images at will going through the menus.
  20. Name movie folders: Psycho (1960) [tmdbid=539] Psycho (1998) [tmdbid=11252] Rescan. ID Tags in Folder & File Names
  21. Hello appollo148, ** This is an auto reply ** Please wait for someone from staff support or our members to reply to you. It's recommended to provide more info, as it explain in this thread: Thank you. Emby Team
  22. I just scanned my movie library to add the Psycho collection. Emby is listing Psycho (1960), but not Psycho (1998). Is their a way to fix it where it will list both movies? Any help will be greatly appreciated.
  23. Well yes, but this was always with TV shows in mind. You most probably wouldn't watch the credits multiple times. I usually don't skip the credits for a movie, I like to play it out, especially when I really enjoyed it.
  24. I am all for this function but i just wanted to mention here that having this one last shot after the credits serves exactly the purpose of making people read the credits. There's a lot of people involved in making a good movie and most of the times only main actors, directors and the executive producers are mentioned and known to the public. And while we all have just little time at hand i would argue that maybe it might be worth to think about not having a credit-skip-button for the sake of all the cable carriers, light people, stunt men and all the other involved folks.
  25. Is this something I could achieve with a plugin or any other way?
  26. crusher11

    My server is under attack

    I would assume so? I'm not sure which equipment would be involved here; my NAS isn't on the internet directly as far as I know.
  27. Luke

    Auto-Organize: Duplicate Series listing again

    Hi, you're saying we had a discussion about this in the past?
  1. Load more activity
×
×
  • Create New...