Spivak won't save lyric setting font
#1
Tongue 
Thank you George for best app!
 
I'd problem is the font lyrics setting not save when config. I'd already add microsoft fonts which support unicode vietnamese language (arial, time new roman, courier,...) and want to change default font of lyric (Piroto Light) to one of them but it not saved. Please help me to config it! 

P/s: I complie and run it in RPI3 (Raspbian Wheezy )
Reply
#2
Indeed. Will fix.
Reply
#3
Should be fixed in b3886d0
Reply
#4
Big Grin 
Thank for all!

 Now i'd found some bug is: 

1) Save setting font and take effect but not load true static on setting font drop bar.
2) "Lines" set to 1 or 2... or 4 seem not working:
    2.1) I play midi file that show 4 lines on screen without i set it to 1 or 2.
    2.2) I play mp3+lrc files that show many lines (16 lines) on screen.
3) If yes, could you add "Font size of lyric"
4) If yes, could you add encoding CP-1285 (support Vietnamese) for midi file.
5) Main problem is: audio output work with HDMI mode but not working with Analog (RCA jack) or Bluetooth speaker. I'd played mp3 file with VLC player, it work on 3 state but Spivak only work on HDMI.

Hope you see it soon!
Have a good day!
Reply
#5
(09-12-2018, 07:11 PM)thegioitrucquan Wrote: Thank for all!

 Now i'd found some bug is: 

1) Save setting font and take effect but not load true static on setting font drop bar.
2) "Lines" set to 1 or 2... or 4 seem not working:
    2.1) I play midi file that show 4 lines on screen without i set it to 1 or 2.
    2.2) I play mp3+lrc files that show many lines (16 lines) on screen.
3) If yes, could you add "Font size of lyric"
4) If yes, could you add encoding CP-1285 (support Vietnamese) for midi file.
5) Main problem is: audio output work with HDMI mode but not working with Analog (RCA jack) or Bluetooth speaker. I'd played mp3 file with VLC player, it work on 3 state but Spivak only work on HDMI.

Hope you see it soon!
Have a good day!

Thank you. Can you please submit those as individual issues on Github? This way it would be easier to track them individually.

I don't understand #1.

#2 - you do not set "lines", it sets "screen should fit AT LEAST n lines - it can fit more. So if you set it to 2, the screen will use the font size which will fit at least 2 lines, but can fit 16 as well.

#3 - I try to use the largest font size which would fit the whole sentence as formatted.

#4 - do you use charset autodetection?

#5 - I use GStreamer, so please check its configuration on your system. Make sure gst-play.1.0 application can play your MP3 on your preferred output device.
Reply
#6
Hi George ,
Here my running command:

root@lun:/home/pi/Downloads/spivak3/src# ./spivak
libEGL warning: DRI2: failed to authenticate
DEBUG Background objects: 5 loaded
DEBUG Background objects: 5 loaded
DEBUG Queue: Adding file 0 /home/pi/Music/999 ĐÓA HỒNG_(828930).mid by  into queue id 2: ready
DEBUG KaraokeWidget::playCurrent /home/pi/Music/999 ĐÓA HỒNG_(828930).mid
DEBUG KaraokeSong: found music file /home/pi/Music/999 ĐÓA HỒNG_(828930).mid and lyric file /home/pi/Music/999 ĐÓA HỒNG_(828930).mid
ERROR MIDISyntheser: MIDI length 263863 msec, matching WAV size 46545433 bytes
DEBUG KaraokeSong: MIDI file is being loaded via built-in MIDI sequencer
DEBUG Automatic lyrics text encoding detection failed; falling back to UTF-8
DEBUG KaraokeSong: lyrics loaded
DEBUG KaraokeWidget: waiting for the song being loaded
DEBUG PluginManager: attempting to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so
ERROR PluginManager: failed to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so: The shared library was not found.
DEBUG GstMediaPlayer: pipeline state changed from NULL to READY, pending PAUSED
DEBUG GstMediaPlayer: received new pad 'src_0' from 'decoder'
DEBUG GstMediaPlayer:  Audio link succeeded (type 'audio/x-raw').
DEBUG GstMediaPlayer: pipeline state changed from READY to PAUSED, pending VOID_PENDING
DEBUG GstMediaPlayer: Media state set to PAUSED, sending loaded event
DEBUG KaraokeWidget: song loaded successfully, starting
DEBUG GstMediaPlayer: pipeline state changed from PAUSED to PLAYING, pending VOID_PENDING
DEBUG GstMediaPlayer: media playback finished naturally, emitting finished()
DEBUG karaokeSongFinished
DEBUG KaraokeWidget:Confusedtop
DEBUG KaraokeWidget:ConfusedtopKaraoke
DEBUG GstMediaPlayer: pipeline state changed from PLAYING to PAUSED, pending READY
DEBUG GstMediaPlayer: pipeline state changed from PAUSED to READY, pending VOID_PENDING
DEBUG KaraokeWidget:ConfusedtopKaraoke finished
DEBUG KaraokeWidget:Confusedtopped
DEBUG ActionHandler: next Karaoke requested
DEBUG KaraokeWidget:Confusedtop
DEBUG KaraokeWidget:Confusedtopped
Reply
#7
DEBUG PluginManager: attempting to load plugin plugin_langdetect from /usr/lib/spivak/plugins/plugin_langdetect.so
ERROR PluginManager: failed to load plugin plugin_langdetect from /usr/lib/spivak/plugins/plugin_langdetect.so: '/usr/lib/spivak/plugins/plugin_langdetect.so' is an invalid ELF object (wrong cpu architecture)
Reply
#8
Langdetect is only used during collection scanning. Do you build Spivak yourself, or you use Appimage or RPM?
Reply
#9
Thks George,

+ i built in ubuntu mate 16.04.
+ my issues:
1) need support encoding midi file for asian language like vietnamese (cp1285), chinese....:
"DEBUG Automatic lyrics text encoding detection failed; falling back to UTF-8"
2) as quote about:
"ERROR PluginManager: failed to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so: The shared library was not found."
3) sometime has error:
"ERROR PluginManager: failed to load plugin plugin_langdetect from /usr/lib/spivak/plugins/plugin_langdetect.so: '/usr/lib/spivak/plugins/plugin_langdetect.so' is an invalid ELF object (wrong cpu architecture)"
4) main player was can not resizable (non-decorated).
5) some file .lrc cannot load so app was suspened like these :

"DEBUG KaraokeWidget::playCurrent /media/lai/Ghost/Softs/Karaoke19/Younger/Bạc trắng tình đời (remix) - Châu Việt Cường.lrc
DEBUG KaraokeSong: found music file Bạc trắng tình đời (remix) - Châu Việt Cường.mp3 and lyric file /media/lai/Ghost/Softs/Karaoke19/Younger/Bạc trắng tình đời (remix) - Châu Việt Cường.lrc
DEBUG KaraokeSong: music file is being loaded
DEBUG PluginManager: attempting to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so
ERROR PluginManager: failed to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so: The shared library was not found.
DEBUG GstMediaPlayer: pipeline state changed from NULL to READY, pending PAUSED
Segmentation fault
lai@lai:~/spivak/src$ ./spivak
libEGL warning: DRI2: failed to authenticate
DEBUG Background objects: 5 loaded
DEBUG LIRC: initializing
QFSFileEngine::open: No file name specified
WARNING: Can't open LIRC mapping file : remote might not work
DEBUG LIRC: error connecting to the socket: QLocalSocket::connectToServer: Invalid name
DEBUG Background objects: 5 loaded
DEBUG WebServer: listening at port 8000
DEBUG KaraokeWidget::playCurrent /media/lai/Ghost/Softs/Karaoke19/Younger/Bạc trắng tình đời (remix) - Châu Việt Cường.lrc
DEBUG KaraokeSong: found music file Bạc trắng tình đời (remix) - Châu Việt Cường.mp3 and lyric file /media/lai/Ghost/Softs/Karaoke19/Younger/Bạc trắng tình đời (remix) - Châu Việt Cường.lrc
DEBUG KaraokeSong: music file is being loaded
Segmentation fault
lai@lai:~/spivak/src$ ./spivak
DEBUG KaraokeWidget::playCurrent /media/lai/Ghost/Softs/Karaoke19/Younger/Chắc ai đó sẽ về - Sơn Tùng M-TP.lrc
DEBUG KaraokeSong: found music file Chắc ai đó sẽ về - Sơn Tùng M-TP.mp3 and lyric file /media/lai/Ghost/Softs/Karaoke19/Younger/Chắc ai đó sẽ về - Sơn Tùng M-TP.lrc
DEBUG KaraokeSong: music file is being loaded
DEBUG PluginManager: attempting to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so
ERROR PluginManager: failed to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so: The shared library was not found.
DEBUG GstMediaPlayer: pipeline state changed from NULL to READY, pending PAUSED
Segmentation fault
lai@lai:~/spivak/src$
lai@lai:~/spivak/src$ ./spivak
libEGL warning: DRI2: failed to authenticate
DEBUG Background objects: 5 loaded
DEBUG LIRC: initializing
QFSFileEngine::open: No file name specified
WARNING: Can't open LIRC mapping file : remote might not work
DEBUG LIRC: error connecting to the socket: QLocalSocket::connectToServer: Invalid name
DEBUG Background objects: 5 loaded
DEBUG WebServer: listening at port 8000
DEBUG KaraokeWidget::playCurrent /media/lai/Ghost/Softs/Karaoke19/Younger/Em của ngày hôm qua - M-TP Sơn Tùng.lrc
DEBUG KaraokeSong: found music file Em của ngày hôm qua - M-TP Sơn Tùng.mp3 and lyric file /media/lai/Ghost/Softs/Karaoke19/Younger/Em của ngày hôm qua - M-TP Sơn Tùng.lrc
DEBUG KaraokeSong: music file is being loaded
Segmentation fault
lai@lai:~/spivak/src$
"
+ mu suggests:
- load lyric with 2 lines only to have more space for seeing video background.
- export songs of database scanned to text with refer number of one of song for convience to calling.
- add feature "youtube karaoke links".
- remove detect placeholder [xx:xx.xx] at the end of row of .lrc file because if hasn't it the first word of next row 'll loading so fast (when the rest of music occur differently)
Reply
#10
(09-20-2018, 10:25 PM)thegioitrucquan Wrote: Thks George,

+ i built in ubuntu mate 16.04.
+ my issues:
1) need support encoding midi file for asian language like vietnamese (cp1285), chinese....:
"DEBUG Automatic lyrics text encoding detection failed; falling back to UTF-8"
2) as quote about:
"ERROR PluginManager: failed to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so: The shared library was not found."
3) sometime has error:
"ERROR PluginManager: failed to load plugin plugin_langdetect from /usr/lib/spivak/plugins/plugin_langdetect.so: '/usr/lib/spivak/plugins/plugin_langdetect.so' is an invalid ELF object (wrong cpu architecture)"
4) main player was can not resizable (non-decorated).
5) some file .lrc cannot load so app was suspened like these :

"DEBUG KaraokeWidget::playCurrent /media/lai/Ghost/Softs/Karaoke19/Younger/Bạc trắng tình đời (remix) - Châu Việt Cường.lrc
DEBUG KaraokeSong: found music file Bạc trắng tình đời (remix) - Châu Việt Cường.mp3 and lyric file /media/lai/Ghost/Softs/Karaoke19/Younger/Bạc trắng tình đời (remix) - Châu Việt Cường.lrc
DEBUG KaraokeSong: music file is being loaded
DEBUG PluginManager: attempting to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so
ERROR PluginManager: failed to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so: The shared library was not found.
DEBUG GstMediaPlayer: pipeline state changed from NULL to READY, pending PAUSED
Segmentation fault
lai@lai:~/spivak/src$ ./spivak
libEGL warning: DRI2: failed to authenticate
DEBUG Background objects: 5 loaded
DEBUG LIRC: initializing
QFSFileEngine::open: No file name specified
WARNING: Can't open LIRC mapping file : remote might not work
DEBUG LIRC: error connecting to the socket: QLocalSocket::connectToServer: Invalid name
DEBUG Background objects: 5 loaded
DEBUG WebServer: listening at port 8000
DEBUG KaraokeWidget::playCurrent /media/lai/Ghost/Softs/Karaoke19/Younger/Bạc trắng tình đời (remix) - Châu Việt Cường.lrc
DEBUG KaraokeSong: found music file Bạc trắng tình đời (remix) - Châu Việt Cường.mp3 and lyric file /media/lai/Ghost/Softs/Karaoke19/Younger/Bạc trắng tình đời (remix) - Châu Việt Cường.lrc
DEBUG KaraokeSong: music file is being loaded
Segmentation fault
lai@lai:~/spivak/src$ ./spivak
DEBUG KaraokeWidget::playCurrent /media/lai/Ghost/Softs/Karaoke19/Younger/Chắc ai đó sẽ về - Sơn Tùng M-TP.lrc
DEBUG KaraokeSong: found music file Chắc ai đó sẽ về - Sơn Tùng M-TP.mp3 and lyric file /media/lai/Ghost/Softs/Karaoke19/Younger/Chắc ai đó sẽ về - Sơn Tùng M-TP.lrc
DEBUG KaraokeSong: music file is being loaded
DEBUG PluginManager: attempting to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so
ERROR PluginManager: failed to load plugin plugin_pitchchanger from /usr/lib/spivak/plugins/plugin_pitchchanger.so: The shared library was not found.
DEBUG GstMediaPlayer: pipeline state changed from NULL to READY, pending PAUSED
Segmentation fault
lai@lai:~/spivak/src$
lai@lai:~/spivak/src$ ./spivak
libEGL warning: DRI2: failed to authenticate
DEBUG Background objects: 5 loaded
DEBUG LIRC: initializing
QFSFileEngine::open: No file name specified
WARNING: Can't open LIRC mapping file : remote might not work
DEBUG LIRC: error connecting to the socket: QLocalSocket::connectToServer: Invalid name
DEBUG Background objects: 5 loaded
DEBUG WebServer: listening at port 8000
DEBUG KaraokeWidget::playCurrent /media/lai/Ghost/Softs/Karaoke19/Younger/Em của ngày hôm qua - M-TP Sơn Tùng.lrc
DEBUG KaraokeSong: found music file Em của ngày hôm qua - M-TP Sơn Tùng.mp3 and lyric file /media/lai/Ghost/Softs/Karaoke19/Younger/Em của ngày hôm qua - M-TP Sơn Tùng.lrc
DEBUG KaraokeSong: music file is being loaded
Segmentation fault
lai@lai:~/spivak/src$
"
+ mu suggests:
- load lyric with 2 lines only to have more space for seeing video background.
- export songs of database scanned to text with refer number of one of song for convience to calling.
- add feature "youtube karaoke links".
- remove detect placeholder [xx:xx.xx] at the end of row of .lrc file because if hasn't it the first word of next row 'll loading so fast (when the rest of music occur differently)

Looking towards the more efficient, updated version of this .. Smile
Reply


Forum Jump: