#31 Accent in playlist name break the Youtube playlist feature

Kapalı
LecygneNoir tarafından 5 yıl önce açıldı · 1 yorum
LecygneNoir 5 yıl önce yorum yaptı
Sahibi

Hello,

I have noticed that having an accent in playlist name break Youtube playlist creation as the check to verify existence failed:

/root/prismedia_bin/lib/yt_upload.py:171: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if playlist["snippet"]['title'] == playlist_name:
2019-01-28 09:55:22,647 Youtube: Playlist Théa 2 the Shattering does not exist, creating it.

Thus the playlist is considered non-existent and prismedia creates it. In results we can have many playlist with the same name, with one video inside each.

This is probably related to the same problem we had with video name with unicode (windows/linux), need to check the comparaison.

Note: the same problem does not occurs when testing playlist name for peertube, it could be related to youtube libs?

Hello, I have noticed that having an accent in playlist name break Youtube playlist creation as the check to verify existence failed: ``` /root/prismedia_bin/lib/yt_upload.py:171: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if playlist["snippet"]['title'] == playlist_name: 2019-01-28 09:55:22,647 Youtube: Playlist Théa 2 the Shattering does not exist, creating it. ``` Thus the playlist is considered non-existent and prismedia creates it. In results we can have many playlist with the same name, with one video inside each. This is probably related to the same problem we had with video name with unicode (windows/linux), need to check the comparaison. Note: the same problem does not occurs when testing playlist name for peertube, it could be related to youtube libs?
LecygneNoir
bug
5 yıl önce etiketini ekledi
LecygneNoir 4 yıl önce yorum yaptı
Poster
Sahibi

This bug seems to have totally disappeared with the transition to python3

If someone encountered it again, feel free to reopen :-)

This bug seems to have totally disappeared with the transition to python3 If someone encountered it again, feel free to reopen :-)
LecygneNoir 4 yıl önce konusunu kapattı
Bu konuşmaya katılmak için oturum aç.
Kilometre Taşı Yok
Atanan Kişi Yok
1 Katılımcı
Bildirimler
Bitiş Tarihi

Bitiş tarihi atanmadı.

Bağımlılıklar

Bu konu henüz bir bağımlılık içermiyor.

Yükleniyor…
Henüz bir içerik yok.