Project

General

Profile

Actions

Bug #1750

closed

Некорректное отображение тегов трека при автопереходе на трек без тегов

Added by Mellon about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Plugins: LMP
Target version:
Start date:
10/05/2014
Due date:
% Done:

100%

Estimated time:
3:00 h
Reported in:
master

Description

Допустим, есть плейлист. В нем за одним из треков с тегами следует трек без тегов. Тогда при автоматическом переходе на такой трек, в cуб-виджете now playing не будет осуществлена смена отображения данных прежнего трека на "Неизвестная песня...."
Вот, например, логи:

########### автопереход на трек с тегами #############
==> /tmp/lc_home/.leechcraft/debug.log <==
[05.10.2014 21:25:08.057] [0x7fd0f727e450] [053] void LeechCraft::LMP::Player::handleStateChanged(LeechCraft::LMP::SourceState, LeechCraft::LMP::SourceState) 4 2 
[05.10.2014 21:25:52.093] [0x7fd0d00c18d0] [054] void LeechCraft::LMP::SourceObject::HandleAboutToFinish() 
[05.10.2014 21:25:52.098] [0x7fd0f727e450] [055] void LeechCraft::LMP::SourceObject::PrepareNextSource(const LeechCraft::LMP::AudioSource&)  QUrl( "file:///var/lib/mpd/music/Music/naruto/Naruto OST/Naruto_Ondo/04 - OH!ENKA (Original Karaoke).MP3" )  
[05.10.2014 21:25:52.098] [0x7fd0d00c18d0] [056] wait finished; next source:  QUrl( "file:///var/lib/mpd/music/Music/naruto/Naruto OST/Naruto_Ondo/04 - OH!ENKA (Original Karaoke).MP3" )  ; current source:  QUrl( "file:///var/lib/mpd/music/Music/naruto/Naruto OST/Naruto_Ondo/03 - NARUTO Ondo (Original Karaoke).MP3" )  
[05.10.2014 21:25:53.164] [0x7fd0f727e450] [057] void LeechCraft::LMP::SourceObject::HandleElementMsg(GstMessage*) file:///var/lib/mpd/music/Music/naruto/Naruto%20OST/Naruto_Ondo/04%20-%20OH!ENKA%20(Original%20Karaoke).MP3 

==> /tmp/lc_home/.leechcraft/warning.log <==
[05.10.2014 21:25:53.174] [0x7fd0f727e450] [058] int LeechCraft::LMP::LocalCollection::FindAlbum(const QString&, const QString&) const artist not found: "Uzumaki Naruto" "NARUTO Ondo" 

########### автопереход на трек без тегов #############
==> /tmp/lc_home/.leechcraft/debug.log <==
[05.10.2014 21:26:37.047] [0x7fd0cc2944b0] [059] void LeechCraft::LMP::SourceObject::HandleAboutToFinish() 
[05.10.2014 21:26:37.052] [0x7fd0f727e450] [060] void LeechCraft::LMP::SourceObject::PrepareNextSource(const LeechCraft::LMP::AudioSource&)  QUrl( "file:///var/lib/mpd/music/Music/naruto/Naruto OST/Naruto_SD.ED01_Single.Twinkle_Twinkle/02 - Twinkle Twinkle [TV-SIZE].mp3" )  
[05.10.2014 21:26:37.053] [0x7fd0cc2944b0] [061] wait finished; next source:  QUrl( "file:///var/lib/mpd/music/Music/naruto/Naruto OST/Naruto_SD.ED01_Single.Twinkle_Twinkle/02 - Twinkle Twinkle [TV-SIZE].mp3" )  ; current source:  QUrl( "file:///var/lib/mpd/music/Music/naruto/Naruto OST/Naruto_Ondo/04 - OH!ENKA (Original Karaoke).MP3" )  
[05.10.2014 21:26:38.070] [0x7fd0f727e450] [062] void LeechCraft::LMP::SourceObject::HandleElementMsg(GstMessage*) file:///var/lib/mpd/music/Music/naruto/Naruto%20OST/Naruto_SD.ED01_Single.Twinkle_Twinkle/02%20-%20Twinkle%20Twinkle%20%5BTV-SIZE%5D.mp3 

==> /tmp/lc_home/.leechcraft/warning.log <==
[05.10.2014 21:26:38.071] [0x7fd0f727e450] [063] int LeechCraft::LMP::LocalCollection::FindAlbum(const QString&, const QString&) const artist not found: "" "" 

########### ручной переход на трек без тегов #############
[05.10.2014 21:38:03.845] [0x7fd0f727e450] [097] void LeechCraft::LMP::Player::handleStateChanged(LeechCraft::LMP::SourceState, LeechCraft::LMP::SourceState) 2 4 
[05.10.2014 21:38:03.848] [0x7fd0f727e450] [098] void LeechCraft::LMP::Player::handleStateChanged(LeechCraft::LMP::SourceState, LeechCraft::LMP::SourceState) 1 2 

==> /tmp/lc_home/.leechcraft/warning.log <==
[05.10.2014 21:38:03.849] [0x7fd0f727e450] [099] int LeechCraft::LMP::LocalCollection::FindAlbum(const QString&, const QString&) const artist not found: "Uzumaki Naruto" "NARUTO Ondo" 

==> /tmp/lc_home/.leechcraft/debug.log <==
[05.10.2014 21:38:03.905] [0x7fd0f727e450] [100] void LeechCraft::LMP::Player::handleStateChanged(LeechCraft::LMP::SourceState, LeechCraft::LMP::SourceState) 2 1 
[05.10.2014 21:38:03.910] [0x7fd0f727e450] [101] void LeechCraft::LMP::SourceObject::HandleElementMsg(GstMessage*) file:///var/lib/mpd/music/Music/naruto/Naruto%20OST/Naruto_SD.ED01_Single.Twinkle_Twinkle/02%20-%20Twinkle%20Twinkle%20%5BTV-SIZE%5D.mp3 

==> /tmp/lc_home/.leechcraft/warning.log <==
[05.10.2014 21:38:03.913] [0x7fd0f727e450] [102] int LeechCraft::LMP::LocalCollection::FindAlbum(const QString&, const QString&) const artist not found: "" "" 

==> /tmp/lc_home/.leechcraft/debug.log <==
[05.10.2014 21:38:03.932] [0x7fd0f727e450] [103] void LeechCraft::LMP::Player::handleStateChanged(LeechCraft::LMP::SourceState, LeechCraft::LMP::SourceState) 4 2 

STR:

Expected result:

Actual result:

System information:
LeechCraft 0.6.70-1022-gc3f9537
Built with Qt 4.8.5, running with Qt 4.8.5
Running on: Gentoo/Linux x86_64 3.16.3-gentoo #1 SMP PREEMPT Sun Oct 5 05:12:41 MSK 2014

Actions #1

Updated by 0xd34df00d about 10 years ago

  • Status changed from New to Assigned
  • Target version set to 0.6.75
  • Estimated time set to 3:00 h
Actions #2

Updated by 0xd34df00d about 10 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Mellon about 10 years ago

  • Status changed from Resolved to Closed

Отлично, спасибо.

Actions

Also available in: Atom PDF