Author Topic: A couple quick questions, thumbnails and IP country info.  (Read 154 times)

0 Members and 1 Guest are viewing this topic.

Offline XOIIO

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
A couple quick questions, thumbnails and IP country info.
« on: October 26, 2018, 08:38:15 AM »
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: 498
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: A couple quick questions, thumbnails and IP country info.
« Reply #1 on: October 29, 2018, 10:10:05 PM »
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 ahora también disponible en Español! (Clic aqui) :)
• HFS is now also available in Spanish! (Click here)

Offline dj

  • Occasional poster
  • *
  • Posts: 81
  • 👣 🐾
    • View Profile
    • PWAs
Re: A couple quick questions, thumbnails and IP country info.
« Reply #2 on: October 30, 2018, 04:22:29 AM »
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
Re: A couple quick questions, thumbnails and IP country info.
« Reply #3 on: October 31, 2018, 01:27:37 AM »
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
Re: A couple quick questions, thumbnails and IP country info.
« Reply #4 on: October 31, 2018, 02:30:47 PM »
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

  • Occasional poster
  • *
  • Posts: 81
  • 👣 🐾
    • View Profile
    • PWAs
Re: A couple quick questions, thumbnails and IP country info.
« Reply #5 on: October 31, 2018, 02:44:24 PM »
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 »