mpris.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:cozy 作者: geigi 项目源码 文件源码
def __get_media_id(self, track_id):
        """
            TrackId's must be unique even up to
            the point that if you repeat a song
            it must have a different TrackId.
        """
        track_id = track_id + randint(10000000, 90000000)
        return GLib.Variant("o", "/de/geigi/Cozy/TrackId/%s" % track_id)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号