oaubert / python-vlc

Python vlc bindings
GNU Lesser General Public License v2.1
393 stars 111 forks source link

Player discrepacies between python and desktop version [Personal Project] #193

Open FranRM opened 3 years ago

FranRM commented 3 years ago

Hi. I am a beginner programmer with a personal project, retrieve the ereased videos from a formated disk. I succesfully got the files, and now I am sorting them for long term storage, at least the readable ones. For the music and video i am using the vlc library for detecting and discarding the corrupt ones. While i was working on it, I detected that in the desktop version of vlc, the player displayed the original title (in the recovery, all of them where renamed to indexes), but not in the python one. I searched all the title related fuctions that i could find, and nothing was successfull. I ask you if you could give me an answer about why this happens and if i can overcome this problem. Thanks for your attention. FranRM.

mrJean1 commented 3 years ago

Which title functions in python-vlc did you search and/or try?

Also, it is unclear which “title” the VLC app is showing. Is that the file name of the video? Or sometimg else?

Which platform/OS are you using? What are the version of VLC and of python-vlc?

FranRM commented 3 years ago

For the first question:

For the second one: I dont know, i some cases, the app shows the old file title, but, in the file browser, the file names are like [02569].

Os and vlc versions: OS: Ubuntu 20.04.3 LTS VLC App: 3.0.9.2 Veterani VLC Python: 3.0.12118

Thanks

mrJean1 commented 3 years ago

Perhaps, the video has no title retrieved by libvlc_media_player_get_title Or that function doesn’t work.

Try setting a title with libvlc_media_player_set_title and then call libvlc_media_player_get_title and compare.