Bug 457186

Summary: Update to grip 3.3.1
Product: [Fedora] Fedora Reporter: Stefan Becker <chemobejk>
Component: gripAssignee: Adrian Reber <adrian>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/project/showfiles.php?group_id=3714&package_id=3673&release_id=337633
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-25 00:12:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Corrected "execute command after encode" patch none

Description Stefan Becker 2008-07-30 05:49:20 UTC
Please consider to upgrade grip to the latest available release.

This would also make it possible to include the "execute command after encode
has een completed" patch that can be found from the SourceForge tracker:

<http://sourceforge.net/tracker/index.php?func=detail&aid=1155884&group_id=3714&atid=303714>

This will enable user to configure grip to run "vorbisgain -a" after the
encoding of the album is completed.

Comment 1 Adrian Reber 2008-08-05 16:49:56 UTC
The problem with grip 3.3.1 is that it is marked as a development version and it (used to) has that annoying warning box when started that it should not be used because it is a development version. So I will not update it to 3.3.1.

Comment 2 Stefan Becker 2008-08-05 18:46:41 UTC
OK, I didn't know that.

Can you at least consider to backport that "execute command after encode has been completed" patch? That would be a very useful addition ontop of 3.2.0.

Comment 3 Adrian Reber 2008-08-09 13:58:18 UTC
I will look at applying the patch you mentioned.

Comment 4 Adrian Reber 2008-08-10 15:21:07 UTC
Patch seems to apply. Can you do some tests if it works like it should if I submit it to Fedora 9 updates-testing?

Comment 5 Stefan Becker 2008-08-10 16:33:17 UTC
Sure, go ahead.

Comment 6 Fedora Update System 2008-08-10 18:32:30 UTC
grip-3.2.0-21.fc9 has been submitted as an update for Fedora 9

Comment 7 Stefan Becker 2008-08-11 08:18:45 UTC
Tested with

 external command: /usr/bin/vorbisgain
 external command options: -a -f -n -s /home/stefanb/ogg/%!A/%!d

(the !'s are necessary to force file name munging)

While it seems to work OK the patch is bogus:

 - "execute after encode" works exactly like "encode filter command", which is *NOT* what is desired

 - the implementation is broken as no waitpid() is called to reap dead child processes, i.e. for each encoded track there will be a zombie process :-(

I'll look into the patch to see what can be done...

Comment 8 Stefan Becker 2008-08-11 09:22:13 UTC
Created attachment 313917 [details]
Corrected "execute command after encode" patch

- command is now executed after last encode finnishes
- use the correct launch function to ensure proper cleanup of child processes

Tested with:

 Execute after encode command: /usr/bin/vorbisgain -a -f -n -s /home/stefanb/ogg/%!A/%!d

Comment 9 Fedora Update System 2008-08-12 18:26:30 UTC
grip-3.2.0-21.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update grip'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7224

Comment 10 Fedora Update System 2008-08-24 22:28:59 UTC
grip-3.2.0-22.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/grip-3.2.0-22.fc9

Comment 11 Fedora Update System 2008-09-10 06:54:55 UTC
grip-3.2.0-22.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update grip'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7703

Comment 12 Fedora Update System 2008-09-25 00:12:43 UTC
grip-3.2.0-22.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.