How do I query for data in Rhythmbox

故事扮演 提交于 2019-12-07 18:04:32

and the answer is...

Well, this issue is indeed a bug - but to answer my own question,

yes the syntax to query for data in Rhythmbox is as correctly stated in the question.

and there is a however...

Querying for data only works for 64bit linux.

Yes really - I have been testing 32bit live-cd's of Fedora 17 as well as LMDE. Both exhibit the same segmentation fault issue as Ubuntu 12.04.

The common factor is that I was testing Ubuntu 12.04/Fedora 17 and LMDE in their 32bit incarnations.

Testing all three in their 64bit variants works as expected.

The 32bit issue is a bug - and has been reported on bugzilla - but the question as posed has been answered.

Thanks.

I ran into this too. I managed to work around it by iterating through the library manually:

    for row in self.shell.props.library_source.props.base_query_model:
        entry = row[0]
        artist = entry.get_string(RB.RhythmDBPropType.ARTIST)
        if self.sanitize(artist) in similar_artists_map:
            self.qm.add_entry(entry, -1)
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!