Setting 2 threads from command line still processes with 8

Bug #1719073 reported by TurboTippy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SoundConverter
Fix Released
High
GautierPortet

Bug Description

Using the '-j' command seems to have no effect on how many threads are used to perform the conversion.

~ $ soundconverter -j 2
SoundConverter 2.9.0-beta1
  using GTK version: 3.0
  using Gstreamer version: 1.8.3.0
  using 2 thread(s)
  using gio
  "faac" gstreamer element not found, disabling AAC output.
/usr/share/soundconverter/python/soundconverter/ui.py:1456: Warning: g_value_type_transformable: assertion 'G_TYPE_IS_VALUE (src_type)' failed
  builder.add_from_file(gladefile)

(python3:27607): Gtk-WARNING **: /build/gtk+3.0-2Ut_nl/gtk+3.0-3.18.9/./gtk/gtkliststore.c:836: Unable to convert from (null) to gchararray

walking: 'file:///2TB_Internal/Music/flac/Aerosmith-Young%20Lust%20Cd%201'
Queue start: 18 tasks, 8 thread(s).
mime type skipped: text/plain
Queue done in 0.126s (18 tasks)
walking: 'file:///2TB_Internal/Music/flac/Ash-Free%20All%20Angels'
Queue start: 14 tasks, 8 thread(s).
mime type skipped: text/plain
Queue done in 0.219s (14 tasks)

Changed in soundconverter:
assignee: nobody → GautierPortet (kassoulet)
importance: Undecided → High
Changed in soundconverter:
status: New → Confirmed
Revision history for this message
GautierPortet (kassoulet) wrote :

Number of jobs setting from command line is not applied as expected:

ui.py:1048
    def update_jobs(self):
        if self.get_int('limit-jobs'):
            settings['jobs'] = self.get_int('number-of-jobs')
        else:
            settings['jobs'] = settings['max-jobs']

Revision history for this message
GautierPortet (kassoulet) wrote :
Changed in soundconverter:
status: Confirmed → Fix Committed
Changed in soundconverter:
milestone: none → 3.0.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.