mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 12:07:09 +03:00
Display plugin update
This commit is contained in:
25
plugin/SqueezeESP32/Graphics.pm
Normal file
25
plugin/SqueezeESP32/Graphics.pm
Normal file
@@ -0,0 +1,25 @@
|
||||
package Plugins::SqueezeESP32::Graphics;
|
||||
|
||||
use strict;
|
||||
|
||||
use base qw(Slim::Display::Squeezebox2);
|
||||
|
||||
=comment
|
||||
sub bytesPerColumn {
|
||||
return 4;
|
||||
}
|
||||
=cut
|
||||
|
||||
sub displayHeight {
|
||||
return 32;
|
||||
}
|
||||
|
||||
sub displayWidth {
|
||||
return shift->widthOverride(@_) || 128;
|
||||
}
|
||||
|
||||
sub vfdmodel {
|
||||
return 'graphic-128x32';
|
||||
}
|
||||
|
||||
1;
|
||||
Reference in New Issue
Block a user