Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ branch:  streamtuner2


Check-in [caee086b9c]

Overview
Comment:fix Pixbuf has_alpha bug due to redundant typecast prior liststore appending
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | 2.0.9
Files: files | file ages | folders
SHA1: caee086b9c8148d94421a4f1cafba8b9267928dd
User & Date: mario on 2014-01-05 01:23:26
Other Links: manifest | tags
Context
2014-01-05
03:30
fixed channels/timer gtk signal_connect handling, st2main now provides an amendable slot dict check-in: 41405a6488 user: mario tags: trunk
01:23
fix Pixbuf has_alpha bug due to redundant typecast prior liststore appending check-in: caee086b9c user: mario tags: trunk, 2.0.9
2014-01-04
22:37
Live365 fixed by Abhisek Sanyal check-in: 0cf2739b13 user: mario tags: trunk
Changes

Modified README from [2b90d3c380] to [adf6beda9d].

102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
- added [new] button in streamedit window
- prepared remaining print syntax for python3 (still needs 2to3 though)
- fix for https://bugzilla.redhat.com/show_bug.cgi?id=655596 array error
- transitioned glade file to gtk.Builder, just a few things broke
- made configuration window resizable
- locked station list columns, no longer resortable (associatation mismatch)
- applied Vincents fixed for Windows action.run and Shoutcast PQ parsing
- reading of live365 restored, but no .pls location so far


2.0.8
- configuration files use prettified json
- fixed double quotation for %pls players and /local/file handling
- (unused) channel .shutdown function introduced (late saving)
- external plugin: basic file browser, no ID3 editing yet
- allow interpolating of %genre and other fields, streamripper wrapper







|
|







102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
- added [new] button in streamedit window
- prepared remaining print syntax for python3 (still needs 2to3 though)
- fix for https://bugzilla.redhat.com/show_bug.cgi?id=655596 array error
- transitioned glade file to gtk.Builder, just a few things broke
- made configuration window resizable
- locked station list columns, no longer resortable (associatation mismatch)
- applied Vincents fixed for Windows action.run and Shoutcast PQ parsing
- live365 parsing restored by patch from Abhisek Sanyal
- fix Pixbuf typecasing in mygtk liststore appending

2.0.8
- configuration files use prettified json
- fixed double quotation for %pls players and /local/file handling
- (unused) channel .shutdown function introduced (late saving)
- external plugin: basic file browser, no ID3 editing yet
- allow interpolating of %genre and other fields, streamripper wrapper

Modified mygtk.py from [8d9a2e155e] to [29ba27c9de].

29
30
31
32
33
34
35


36
37
38
39
40
41
42
import gtk
import gtk.glade
import gobject
import os.path
import copy





# simplified gtk constructors               ---------------------------------------------
class mygtk:


             
        #-- fill a treeview







>
>







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import gtk
import gtk.glade
import gobject
import os.path
import copy


def __print__(*args):
        print(" ".join([str(a) for a in args]))

# simplified gtk constructors               ---------------------------------------------
class mygtk:


             
        #-- fill a treeview
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165

                    try:
                        # add
                        ls.append(row)   # had to be adapted for real TreeStore (would require additional input for grouping/level/parents)

                    except:
                        # brute-force typecast
                        ls.append(  [ty(va) for va,ty in zip(row,vartypes)]  )

                # apply array to widget
                widget.set_model(ls)
                return ls
                
            pass








|







153
154
155
156
157
158
159
160
161
162
163
164
165
166
167

                    try:
                        # add
                        ls.append(row)   # had to be adapted for real TreeStore (would require additional input for grouping/level/parents)

                    except:
                        # brute-force typecast
                        ls.append(  [va  if ty==gtk.gdk.Pixbuf  else ty(va)   for va,ty in zip(row,vartypes)]  )

                # apply array to widget
                widget.set_model(ls)
                return ls
                
            pass