[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - [PATCH] Removing files using playlist

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

[PATCH] Removing files using playlist

Forum to talk about the development of SMPlayer (code, patches...).

[PATCH] Removing files using playlist

Postby capt.d. » Mon Dec 09, 2013 12:41 pm

capt.d.
 
Posts: 9
Joined: Sun Dec 08, 2013 7:02 pm

Re: [PATCH] Removing files using playlist

Postby rhill » Fri Apr 11, 2014 5:37 am

I can't tell you how long I've wanted this feature. I've been using this patch for a couple of months now and it works great. Thanks.
Now, if you could make this work without having to open the playlist it'd be perfect. :D

One small bug: src/playlist.cpp calls unlink() so you'll need to #include <unistd.h>. Otherwise it'll fail to build on >= GCC 4.7.
rhill
 
Posts: 5
Joined: Fri Apr 11, 2014 5:17 am

Re: [PATCH] Removing files using playlist

Postby capt.d. » Sun Apr 27, 2014 9:03 am

capt.d.
 
Posts: 9
Joined: Sun Dec 08, 2013 7:02 pm

Re: [PATCH] Removing files using playlist

Postby rhill » Tue May 06, 2014 7:23 am

Thanks, that's great. I tweaked it to play the next file after deleting (the first patch did this but it would skip over one). I'll put it up here so people don't have to cut and paste:

http://dev.gentoo.org/~rhill/pkgs/smpla ... lete.patch
rhill
 
Posts: 5
Joined: Fri Apr 11, 2014 5:17 am

Re: [PATCH] Removing files using playlist

Postby capt.d. » Wed May 07, 2014 6:52 pm

Aloha
You're welcome. Do you think somebody else is using those patches? I don't ;)

---
Live long and prosper.
capt.d.
capt.d.
 
Posts: 9
Joined: Sun Dec 08, 2013 7:02 pm

Re: [PATCH] Removing files using playlist

Postby holly14 » Wed Jan 28, 2015 5:56 pm

Thanks. you could make this work without having to open the playlist it'd be perfect. :D
**SignaturE**
holly14
 
Posts: 1
Joined: Wed Jan 28, 2015 5:48 pm

Re: [PATCH] Removing files using playlist

Postby rhill » Thu Jan 29, 2015 12:26 am

The one I linked to does just that.
rhill
 
Posts: 5
Joined: Fri Apr 11, 2014 5:17 am

PATCH Removing files using playlist

Postby HaroldBaics » Fri Mar 13, 2015 12:16 pm

Its been almost 18 months since I posted this patch, which seems to me essential for encoding software, and you dont have included it.
Why ?
HaroldBaics
 
Posts: 1
Joined: Thu Dec 18, 2014 4:22 am

Re: [PATCH] Removing files using playlist

Postby rvm » Fri Mar 13, 2015 11:54 pm

I've just added the patch with some modifications (svn r6779).
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: [PATCH] Removing files using playlist

Postby rhill » Sat Mar 14, 2015 8:53 am

Woohoo! Thanks.
rhill
 
Posts: 5
Joined: Fri Apr 11, 2014 5:17 am

Next

Return to Development

Who is online

Users browsing this forum: No registered users and 11 guests