Author Topic: The really fast Throwback (retro) template. Large folders and phones? No problem  (Read 24953 times)

0 Members and 1 Guest are viewing this topic.

Offline danny

  • Tireless poster
  • ****
  • Posts: 192
    • View Profile
    • Startfetch
Throwback 10
« Reply #105 on: February 26, 2019, 05:22:17 PM »
Throwback10 
It has file search, instant sort, a few new icons, further streamlining for speed, light colors for easy-use appearance, more filetype support, and many small refinements.  Tested on Phone and PC.  Enjoy!

Edit:
Two files redacted due to high load.  Fast forward to Throwback11.  News is that the best is kept, and certainly can be used. 
« Last Edit: September 13, 2019, 04:25:46 AM by danny »

Follow members gave a thank to your post:


Offline danny

  • Tireless poster
  • ****
  • Posts: 192
    • View Profile
    • Startfetch
DJ? How to jpg-image thumbs for all? Within throwback10?
« Reply #106 on: February 28, 2019, 06:08:37 AM »
http://rejetto.com/forum/index.php?topic=13060.msg1064013#msg1064013 jpgimagethumbs
I'm wondering how to:  Small bandwidth thumbnails with fallback using original file for thumbnails (within throwback10.tpl)?
« Last Edit: March 07, 2019, 06:37:55 PM by danny »

Offline dj

  • Tireless poster
  • ****
  • Posts: 153
  • 👣 🐾
    • View Profile
    • PWAs
Re: How to jpg-image thumbs for all? Within throwback10?
« Reply #107 on: February 28, 2019, 03:59:38 PM »
add id="files" to the table in Throwback10photo (needed to find img links)
remove src attribute from jpg files
add script from jpgimagethumbs at the end

3. ... use original file may come in a next version
« Last Edit: March 07, 2019, 07:47:28 AM by dj »

Follow members gave a thank to your post:


Offline danny

  • Tireless poster
  • ****
  • Posts: 192
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #108 on: April 01, 2019, 08:30:58 AM »
Looks like hfs.exe needs on-the-fly photo thumbnail support added, with something like a macro:  {photothumb}
In this case a basic cut-resize, could be used for speed.  Since it is 1-core, it may need a 2nd executable/dll file to handle on-the-fly thumbnails.  Indeed, a subprogram rather than a subroutine?  In this case, perhaps the {exec} macro is used.
« Last Edit: April 01, 2019, 08:35:40 AM by danny »

Offline danny

  • Tireless poster
  • ****
  • Posts: 192
    • View Profile
    • Startfetch
Experiments
« Reply #109 on: April 05, 2019, 07:08:31 PM »
Here are 2 new user-interface experiments. 
I claim that they are non-working.  Tiles and Stripes are developmental status. 

They're for previewing a new user interface.

Edit: file removed--too many photos per page was not compatible with bandwidth management
« Last Edit: July 10, 2019, 08:18:38 AM by danny »

Offline LeoNeeson

  • Tireless poster
  • ****
  • Posts: 586
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: Experiments
« Reply #110 on: April 07, 2019, 10:34:15 AM »
Here are 2 new user-interface experiments. 
I claim that they are non-working.  Tiles and Stripes are developmental status. 
I've tested your experimental templates. Tiles.tpl looks great as an image gallery, but on normal file listing, Stripes.tpl look better.
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
• I'm open to help and share any file you may need (just ask me) ;)

Offline danny

  • Tireless poster
  • ****
  • Posts: 192
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #111 on: May 29, 2019, 10:49:34 PM »
I'm still using Throwback10-Photo since the first of the year. (first post, this same thread) 

Just today, I needed to find some files quickly and the search box had it done in under a minute--faster than the operating system's built in search.   

My family makes a lot of use of the 'Newest Sort' function, to instantly find new stuff. 

So, what other features would you like to see (without attempting to replicate/replace ftp, vnc or plex)?
« Last Edit: June 09, 2019, 10:23:19 AM by danny »

Offline LeoNeeson

  • Tireless poster
  • ****
  • Posts: 586
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #112 on: June 04, 2019, 05:30:25 AM »
So, what other features would you like to see (without attempting to replicate/replace ftp, vnc or plex)?
If you are looking for fresh new ideas (for you Throwback10-Photo template), here is one: having an option named "Gallery mode (show photos only)", to have a view like THIS or THIS (those images are obviously to give you an idea). This setting could be a checkbox (storing the settings on a cookie) or adding to the URL /?gallery=on and /?gallery=off (or using any other method).

Activating this mode, files that are NOT photos are hidden, filenames are also hidden (to save space), and only a photo gallery is shown. When a folder has no images, a message like "No images are found on this folder" could be displayed (perhaps with an option to disable the gallery mode). And when gallery mode is off, the template could work like the normal/classic Throwback10 template.

So, adding this, we could merge those two versions and have a new unified Throwback11. I know this could be complex to add/implement, but it's just an idea (and if it's too hard to do, just ignore it). ;)
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
• I'm open to help and share any file you may need (just ask me) ;)

Offline danny

  • Tireless poster
  • ****
  • Posts: 192
    • View Profile
    • Startfetch
Re: Introducing: The really fast Throwback (retro) template. Updated.
« Reply #113 on: June 06, 2019, 10:34:20 PM »
I can't make a unified template because of the server load difference:  Throwback10 handles more browsing traffic easily, and fastest. It is needed for servers that have simultaneous end-users and/or large folders.

However, I can make a replacement for Throwback10-Photo.  Auto-gallery for photos is possible.   And then, as the divider between header and listing, I'm thinking of a sort-box.  Sort by:  Name, Type, Size, Date  (with a box around it).  The combination of auto-gallery and type-sort would provide the view, without a script.

« Last Edit: June 09, 2019, 10:29:21 AM by danny »

Offline danny

  • Tireless poster
  • ****
  • Posts: 192
    • View Profile
    • Startfetch
I wonder if this is possible:  An icon to shuffle play all mp3's in the current folder?   
That's an awesome old-school feature that has been lost over time.

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 880
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
I wonder if this is possible:  An icon to shuffle play all mp3's in the current folder?   
That's an awesome old-school feature that has been lost over time.

we have to generate the m3u file via script pulled from macro item-modifed.

somehow we would have to tell a flash player or other html video player the contents of a file folder via URL.

mby look into jplayer

https://stackoverflow.com/questions/14854271/jplayer-create-dynamic-playlist-based-on-files-in-folder
« Last Edit: June 10, 2019, 04:07:38 AM by bmartino1 »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline dj

  • Tireless poster
  • ****
  • Posts: 153
  • 👣 🐾
    • View Profile
    • PWAs
add latest audioplayer_addon
add querystringparameter ?shuffle (I have added this (undocumented) feature)
click on play (for nexttrack longtouch on play)
« Last Edit: June 10, 2019, 07:38:17 AM by dj »

Offline danny

  • Tireless poster
  • ****
  • Posts: 192
    • View Profile
    • Startfetch
add latest audioplayer_addon
add querystringparameter ?shuffle (I have added this (undocumented) feature)
click on play (for nexttrack longtouch on play)
I put the script, efficiently after the /body tag so that the page is drawn before the huge script is sent to client.
I didn't manage to minify the verbose script yet, and it does cause a notably larger file size (it needs a diet).
I did add location.search=shuffle to the editable vars.

Next, I added a play icon ▶ with link to call the script, a href="javascript:addon()". 

Results: No music.

So, the non-working attempt is attached. 
I probably don't have the skill to edit that script so that it will shuffle play current folder .mp3, .m4a, .wma, .flac, .ogg, file types with just one convenient click on a play button.  If navigation to a different folder doesn't stop playback, then it would also need a stop function.  But first, can we make it play?

File has moved.  Keep scrolling...
« Last Edit: June 13, 2019, 07:27:52 PM by danny »

Offline dj

  • Tireless poster
  • ****
  • Posts: 153
  • 👣 🐾
    • View Profile
    • PWAs
you need to learn to use the web-console
SyntaxError: unexpected token: '.' audio:72:13
you can't  add location.search=shuffle to the editable vars (it's read only)

I have added shuffle to the editable vars. Set it to true. I hope, this helps.


update: Have you seen the play button (at the end of body)?
You can add id='menu-bar' to the element the play button should appear.

Set var dur(ation)=0 to avoid preload
« Last Edit: June 14, 2019, 03:34:44 AM by dj »

Offline danny

  • Tireless poster
  • ****
  • Posts: 192
    • View Profile
    • Startfetch
Thanks.  But, there's no sound.  What form of clickable link allows the end user to achieve playback with your script? 

It immediately caused 5 Gigabytes of traffic, but it didn't play any of them.

Need to avoid downloads unless the play button is clicked.
After the play button is clicked then it would be nice to download/play one at a time (not all at once). 
« Last Edit: June 11, 2019, 01:36:19 PM by danny »