rejetto forum

A couple quick questions, thumbnails and IP country info.

XOIIO · 7 · 2926

0 Members and 1 Guest are viewing this topic.

Offline XOIIO

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Hi there, had a couple quick questions that I couldn't find anything quite relevant on using the search function.

First, I was wondering if there's a setting or option I missed that would allow HFS to show thumbnails for video files, probably with a larger style list, as that would be helpful in some cases.

Second, is there a way to show the country for the IP address you mouse over in the interface window automatically? That would be cool, not necessary, but a neat bit of extra info.

I love the software so far, it's exactly what I needed and when I can afford to I'll definitely send a donation your way.


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
Hi there, had a couple quick questions that I couldn't find anything quite relevant on using the search function.
Hi and welcome! :)

First, I was wondering if there's a setting or option I missed that would allow HFS to show thumbnails for video files, probably with a larger style list, as that would be helpful in some cases.
The user DJ is expert on this, and he will surely have an answer to this (search on the forum or wait his reply).

Second, is there a way to show the country for the IP address you mouse over in the interface window automatically? That would be cool, not necessary, but a neat bit of extra info.
To make HFS show the country for the IP address it would need Rejetto make some changes to implement this feature. This requires using a ip-to-country database, which needs to be updated regularly. Many eMule Mods are still using today a Geo-Location database from webnet77 (which is updated daily). But knowing Rejetto, I bet this feature is far from being implemented (unless someone here come with an idea to implement this only using macros, to at least show the country name in the logs, but not the country flag).
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
if there's a setting or option I missed that would allow HFS to show thumbnails for video files

There is no such option in hfs, you need a template, that shows thumbnails.
Change var patt = /\.mp4|\.webm|\.mkv/ in viewthumbs (for v2.4) and put your coverpics in a subfolder thumb.


Offline XOIIO

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
There is no such option in hfs, you need a template, that shows thumbnails.
Change var patt = /\.mp4|\.webm|\.mkv/ in viewthumbs (for v2.4) and put your coverpics in a subfolder thumb.

Ah, alright, so I can just probably merge my modified template with that one in a sense, and change the directory as needed, I already have thumbnails located in a different folder for all the videos, so sounds like it should be easy to add in, in theory. Not at home so don't have access to my template and whatnot to poke around at right now.


Offline XOIIO

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Ah I see there's a diff template option that you can put stuff in in the root properties menu, unfortunately after editing it to include mkv it doesn't seem to work, the thumb folder should be in the root directory right? I added it there in the virtual file system and in the real one but it's not pulling the thumbnails, they are all jpg's named the same as the files.

I didn't restart the server as there are some downloads going on, but from what I've seen HFS just takes changes on the fly to the template and other things, unless this is different?


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
The thumbfolder must be a subfolder from your videos
and the thumbs must have the same name as the videos (without .jpg, or replace +'' with +'.jpg')

I have also updated viewthumbs2, where is nothing to change.

|-videos/
  bunny.mkv (a video)
  |-thumb/
    bunny.mkv (a image) or bunny.mkv.jpg
« Last Edit: October 31, 2018, 04:23:45 PM by dj »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
are still using today a Geo-Location database from webnet77 (which is updated daily).

interesting. I'm not sure when this may come in the future, tho.