FrancescoCeruti / linux-show-player

Linux Show Player - Cue player designed for stage productions
https://linux-show-player.org
GNU General Public License v3.0
205 stars 49 forks source link

Drag'n drop files from file manager (issue #137) #193

Closed frederic-peters closed 4 years ago

frederic-peters commented 4 years ago

Hi, I was looking to use linux-show-player in our local radio and missing the ability to drop files from the file manager was a noted sore point, hence this pull request. It's made of two commits, one for the list view (this was our primary demand) and one for the card layout. I only tested it with Nautilus but I don't think it has anything specific and it should work as is with other file managers. (also I never used PyQt before)

frederic-peters commented 4 years ago

This needs to be redone over the develop branch.

frederic-peters commented 4 years ago

It has now been rebased over the develop branch; I also factorized some common code to gst_backend.

FrancescoCeruti commented 4 years ago

Nice :-) At a first look the code is good to me, I'm going to test it, probably tomorrow.

Thanks!

frederic-peters commented 4 years ago

Thanks for the review, I made the suggested changes to my branch; I also did the return → else change onto lisp/plugins/list_layout/list_view.py.