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

🚀 | Support displays on future3 #2364

Open
1 task
s-martin opened this issue May 4, 2024 · 9 comments
Open
1 task

🚀 | Support displays on future3 #2364

s-martin opened this issue May 4, 2024 · 9 comments
Labels
enhancement future3 Relates to future3 development help wanted

Comments

@s-martin
Copy link
Collaborator

s-martin commented May 4, 2024

Feature

Phoniebox V3 should support displays (e.g. Pirate Audio HATs or HD44780 or SH1106).

User perspective

Displays should show information about currently played songs (e.g. album, title, etc), maybe even cover art.

Further information

  • Design decision, if general support for displays (like multiple players) or each display is implemented for itself.
@s-martin s-martin added enhancement help wanted future3 Relates to future3 development labels May 4, 2024
@s-martin s-martin changed the title Support (multiple) Displays 🚀 | Support (multiple) Displays on future3 May 4, 2024
@s-martin s-martin changed the title 🚀 | Support (multiple) Displays on future3 🚀 | Support displays on future3 May 4, 2024
@s-martin
Copy link
Collaborator Author

s-martin commented May 4, 2024

#1112 would be replaced by a new implementation

@Lippsson
Copy link

Lippsson commented May 6, 2024

I'm currently testing whether I can rewrite a script for the small 1.3" displays (128x64 pixels). The script from Splitti still works, but I'm missing things like the battery symbol and the indicators for shuffle and repeat.
If anyone has the time, desire and knowledge, help is welcome and appreciated.

display

@s-martin
Copy link
Collaborator Author

s-martin commented May 7, 2024

👍
I don't know how much the script from splitti relies on the Phoniebox implementation (V2).

This issue should target the V3 implementation.

@s-martin
Copy link
Collaborator Author

s-martin commented May 7, 2024

I envision the implementation in two parts:

Access/control of the display hardware ("backend", if you will)

This should be specific to the used display hardware, but every backend should provide a show() method, which is called by the frontend to show stuff on the display.

In addition methods like reload, clear, etc.

Generic, configurable display ("frontend")

The user should be able to configure the information to be displayed, e.g. artist, song name, cover art, maybe meta info (such as battery status or Phoniebox version, etc.).

This is of course dependent of the used backend/hardware, e.g. resolution etc.

This part should handle the RPC to retrieve information to be displayed.

@s-martin
Copy link
Collaborator Author

s-martin commented May 7, 2024

#1710

@s-martin
Copy link
Collaborator Author

@Lippsson
Copy link

Some more ideas for display integration:
display

@Lippsson
Copy link

Lippsson commented May 16, 2024

This is just a first test to see what is possible.

photo_2024-05-16_11-25-12

display2

@gschnitzler
Copy link

Have a look at this implementation.
Its sort of a drop in replacement for splittis script. Just follow splittis install script, then install any missing python dependencies.
This might provide a better starting point for your own implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement future3 Relates to future3 development help wanted
Projects
None yet
Development

No branches or pull requests

3 participants