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

⌈⌋ ⎇ branch:  streamtuner2


Diff

Differences From Artifact [a8e2e93dda]:

To Artifact [f92686b376]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# api: streamtuner2
# title: File browser
# description: Displays mp3/oggs or m3u/pls files from local media file directories.
# type: channel
# category: media
# version: 0.0
# priority: optional
# depends: mutagen, kiwi
#
#
# Local file browser.
#
#










|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# api: streamtuner2
# title: File browser
# description: Displays mp3/oggs or m3u/pls files from local media file directories.
# type: channel
# category: media
# version: 0.0
# priority: optional
# depends: mutagen
#
#
# Local file browser.
#
#


176
177
178
179
180
181
182


183
184
185
    def update_categories(self):
        self.scan_dirs()

        
    # same as init
    def update_streams(self, cat, x=0):
        self.scan_dirs()


        return self.streams.get(os.path.basename(cat))









>
>



176
177
178
179
180
181
182
183
184
185
186
187
    def update_categories(self):
        self.scan_dirs()

        
    # same as init
    def update_streams(self, cat, x=0):
        self.scan_dirs()
        print(self.streams)
        print(self.categories)
        return self.streams.get(os.path.basename(cat))