Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Activities app ( time logger) #259

Open
wants to merge 5 commits into
base: Brick
Choose a base branch
from

Conversation

Nevrdid
Copy link
Contributor

@Nevrdid Nevrdid commented Nov 23, 2024

Time logger for emulators.

Usage:

Can be use after any standalone / ra-core.
example:

./flycast "$1" &
activities add "$1" $! 

It will count the time the rom is running and add it to Apps/Activities/assets/games.db sqlite3 database.
You can then open the app to see all games times, average session time, session_count and last session date.

Games list keybindings:

  • Start: Change sort order ( alphabetically, time, session count, last session)
  • L1/R1: Filter per system
  • Select: filter completed/uncompleted
  • Up/Down: navigate 1 by 1
  • Left/Right: Browse 10 by 10
  • A: Enter game details
  • B: Quit

Game details keybindings:

  • B: Return to list
  • A: Launch Game
  • X: Open manual
  • Y: Open video
  • Select: Switch completed state

Potential future improvements :

  • Acces game details page directly from mainUI holding a key when launching a game.
  • Start a game directly from the app pressing A in game details page.
  • Allow to tag games as finished and so filter them or only display finished.
  • Allow to see games video preview from /mnt/SDCARD/Videos/[system]/[gamename].mp4
  • Add a pdf reader to handle the opening of manuals ( trigger already installed in app)

Code sources:

https://github.com/Nevrdid/TSP_Activities

@Nevrdid Nevrdid marked this pull request as draft November 23, 2024 00:55
@Nevrdid Nevrdid force-pushed the Activities_app branch 2 times, most recently from b6044a2 to 84d6d0e Compare November 29, 2024 04:28
@Nevrdid Nevrdid marked this pull request as ready for review December 4, 2024 20:47
@Nevrdid Nevrdid force-pushed the Activities_app branch 2 times, most recently from 5e6c3c5 to e4a5c5c Compare December 7, 2024 11:17
@Nevrdid Nevrdid changed the base branch from main to Brick December 30, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant