~ubuntu-branches/ubuntu/hardy/gtkpod-aac/hardy

« back to all changes in this revision

Viewing changes to src/tools.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-07-17 18:25:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070717182525-rhl5w4pk8lbk6pna
Tags: 0.99.10-2ubuntu1
* Resynchronise with gtkpod 0.9.10-2.
* Hack in dpatch support, since it was removed.
* Rename debian/patches/03-configure.dpatch to
  debian/patches/aac-configure.dpatch.
* Update debian/gtkpod-aac.diff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Time-stamp: <2006-06-24 01:38:20 jcs>
 
1
/* Time-stamp: <2007-05-09 22:23:27 jcs>
2
2
|
3
3
|  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
4
4
|  Part of the gtkpod project.
24
24
|
25
25
|  This product is not supported/written/published by Apple!
26
26
|
27
 
|  $Id: tools.c,v 1.49 2006/06/23 16:46:12 jcsjcs Exp $
 
27
|  $Id: tools.c 1596 2007-06-26 14:33:01Z dforsi $
28
28
*/
29
29
 
30
30
#ifdef HAVE_CONFIG_H
80
80
 * added at the end.
81
81
 *
82
82
 * Return value: TRUE if the command ran successfully, FALSE if any
83
 
 * error occured.
 
83
 * error occurred.
84
84
 */
85
85
static gboolean run_exec_on_track (const gchar *commandline,
86
86
                                   const gchar *track_path)
116
116
 
117
117
    if (!command_full_path)
118
118
    {
119
 
        gtkpod_warning (_("Could not find '%s'\n. Please specifiy the exact path in the Tools section of the preference dialog or install the programm if it is not installed on your system.\n\n"), command);
 
119
        gtkpod_warning (_("Could not find '%s'.\nPlease specifiy the exact path in the Tools section of the preference dialog or install the program if it is not installed on your system.\n\n"), command);
120
120
        goto cleanup;
121
121
    }
122
122
 
260
260
            }
261
261
            break;
262
262
        case FILE_TYPE_WAV: /* FIXME */
 
263
        case FILE_TYPE_OGG: /* FIXME */
 
264
        case FILE_TYPE_FLAC: /* FIXME */
263
265
        case FILE_TYPE_M4V:
264
266
        case FILE_TYPE_MP4:
265
267
        case FILE_TYPE_MOV:
560
562
 
561
563
    if (!itdb) return;
562
564
 
563
 
    ipod_mount = get_itdb_prefs_string (itdb, "mountpoint");
 
565
    ipod_mount = get_itdb_prefs_string (itdb, KEY_MOUNTPOINT);
564
566
 
565
567
    if (!ipod_mount) ipod_mount = g_strdup ("");
566
568
 
656
658
 
657
659
    /*create the pipe*/
658
660
    pipe(fdpipe);
659
 
    /*than fork*/
 
661
    /*then fork*/
660
662
    pid=fork();
661
663
 
662
664
    /*and cast mp3gain*/