Recommended Posts

 GOAL:

The very reason of this project is to make Your life easy for a little bit thanks to efficient automation of daily routine.

FUNCTIONS:

For now, TAM makes possible to find files in whatever directory and run them with chosen viewers. hmmm.. yea, looks rather boring ain't it??? :)) well, let's look on some examples & details will show You how this "boring" feature can make Your life better.

Examples:

So, actually we have hella number of files & we (in many cases) need to use regex to make searching through that endless damn heap efficient, but the most of us have no time to learn such stuff + regex software have some differences. 2nd moment, we need not just run files, but run them with different options. So, let's deal w/ example..

 python3 ./tam.py -path0 "/tst"  -find_files -tmp_file "/tmp/tst02" -in_name ".mp3" -view_w "vlc --sout-x264-b-bias=-15" -view_w "smplayer"  -cols 2 -rows 15 -col_w 100 -in_name "some"

 -path0 sets folder to search stuff.

 -find_files activates function to search.

 -tmp_file sets tmp files (actually, the're two tmp files: in our case, /tmp/norm_tst02 & /tmp/err_tst02).

 -in_name sets keyword.

 -view_w sets viewer w/ options.

 -cols sets number of columns.

 -rows sets number of rows.

 -col_w sets width of column.

 ===========

 This command forms table of found files, each file gets a number + we see list of viewers (each viewer has own key number too)..

 To run file, we write "<key number of viewer>  <key number of file>", then press Enter. for instance, "0 2" runs file (key number "2") w/ viewer (key number "0").

 Command "np" shows next page/table.

 "pp" - previous page.

 "go2  <number of page/table>"

 "0p" - 1st page.

 "lp" - last one.

 "fp  <key number of file>" shows full path to chosen file.

 ctrl + c to exit.

 Supported Platforms:

  So far, TAM has been tested only for Linux. However, theoretically this variant must work on FreeBSD, NetBSD & MacOS quite smoothly (but i don't guarantee it).

https://github.com/SarK0Y/TAM

Link to comment
https://www.neowin.net/forum/topic/1430114-tam/
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...
  • 1 month later...
  • 4 weeks later...
  • 4 months later...

i've run moderately huge reconstruction to add new functionality..

MAKE CONSOLE GREAT AGAIN :)

Tip of the day: «tam.rst -rilocan "sudo standby" -sleep "10m" -now» - this command allows to standby pc, if it was accidentally waken up + time of event gets on display.. other cmds can be run in the same way.

remark: "rilocan" stands for "Run it later or cancel now".

https://github.com/SarK0Y/TAM_RUSTy/tree/not_tested_func

 

Link to comment
https://www.neowin.net/forum/topic/1430114-tam/#findComment-598891925
Share on other sites

So.. Shols. :)

Shol stands for "short link" & it's the damn One of Corner Stones to breathe new life into CLI. For now, TAM has gotten three types of shols..

  • ##{file's index}{hit Space} ==>> shol unwraps into full path immediately.
  • @@{file's indx}{press Space} ==>> shol keeps its compact form.
  • /write/path/to/Your/file {type "<<<"} ==> full path turns into shol.

Alt+- to switch betwixt shol/full paths. Please, Turn each manually written path to shol form, otherwise program fails to process paths.

E.g. ==>> term ls -lah 0##file1 1@@file2 @2@file3

https://github.com/SarK0Y/TAM_RUSTy/tree/b0c81febe1d688eeb216a10c66cb1fefb7f85501

https://github.com/SarK0Y/TAM_RUSTy/tree/not_tested_func

Link to comment
https://www.neowin.net/forum/topic/1430114-tam/#findComment-598893164
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Posts

    • Well I've done a grand total of nothing, and it now clocks between 2010mhz and 1995mhz (stock is 1710mhz) and hovers around 80c, warmer than it used to, but tolerable clocks seem to have returned. Thanks for all the advice on this thread. Will review the evidence and make a choice.
    • Audacious 4.6.1 by Razvan Serea Audacious is a lightweight, open-source audio player that emphasizes simplicity, performance, and sound quality. Designed for Linux, Windows, and macOS, it supports a wide range of audio formats, internet radio streaming, and playlist management. Users can customize the interface with Winamp-style skins or modern themes, making it flexible for different preferences. Audacious also includes an equalizer, advanced audio effects, and a plugin system for extending functionality. Its low resource usage makes it especially suitable for older computers or users who value efficiency without sacrificing playback quality. Audacious key features: High audio quality – delivers clean, gapless playback with minimal distortion. Wide format support – plays MP3, FLAC, Ogg Vorbis, AAC, WAV, WMA, and more. Internet radio streaming – supports Shoutcast, Icecast, and other online streams. Winamp skin support – classic, nostalgic look for users who prefer the old-school style. Modern GTK-based interface – clean, simple UI with a more modern feel. Customizable themes – change appearance through skins and themes. Advanced playlist management – organize, save, and edit playlists with ease. Equalizer – fine-tune audio output with a built-in graphical equalizer. Audio effects – built-in DSP options like crossfade, replay gain, and more. Plugin system – extend functionality with additional components. File metadata support – displays and organizes music based on tags. Drag-and-drop support – quickly add songs or playlists. Global hotkey support – control playback without switching windows. Bit-perfect output modes – bypass system mixers for pure audio output. ReplayGain support – normalizes track loudness automatically. Cue sheet support – play entire albums from a single audio file with .cue. MPRIS2 integration – integrates with Linux desktop environments for media controls. Advanced resampling options – adjust playback quality with different resampler settings. Gapless playback – seamless transition between tracks encoded properly. Crossfade plugin – blend one song into the next smoothly. Last.fm scrobbling plugin – track listening history online. Remote control support – control Audacious via command-line or scripts. Lyrics plugin – display song lyrics if available. Alarm / timer plugin – start or stop playback at set times. SOX resampler plugin – high-quality resampling for audiophiles. Spectrum analyzer / visualization plugins – visual feedback while playing music. Headphone crossfeed effect – simulates speaker listening for headphones. Customizable buffer size – tweak latency and playback smoothness. Audacious 4.6.1 changelog: Use XDG cache dir to store temporary files (#1817) Accept embedded lyrics in more cases (#1818) Bump .so and plugin ABI versions retrospectively (#1819) Include Georgian translation (#1820) Fix build on systems using musl instead of glibc (#1823) Download: Audacious 4.6.1 | 48.2 MB (Open Source) Download: Portable Audacious 4.6.1 | 69.8 MB View: Audacious Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I really wonder if this has to do with the built in VPN or "private DNS" of browsers that trip up legal requirements like cookie consent and Cloudflare (to avoid all the botnet attacks we get). And BTW some botnets still manage to get past Cloudflare, we are constantly having to tweak it to block malicious traffic that ultimately cause a DDoS.
  • Recent Achievements

    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      +Edouard
      197
    3. 3
      PsYcHoKiLLa
      142
    4. 4
      ATLien_0
      89
    5. 5
      Steven P.
      80
  • Tell a friend

    Love Neowin? Tell a friend!