Skip to content

Commit 2a58add

Browse files
author
Alain M
committed
Release 0.2.0
1 parent ac30dc3 commit 2a58add

File tree

5 files changed

+36
-14
lines changed

5 files changed

+36
-14
lines changed

README.md

+11-7
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,18 @@ You'll need the following dependencies:
3737

3838
## Building
3939

40-
```
41-
meson build && cd build
42-
meson configure -Dprefix=/usr
43-
sudo ninja install
44-
com.github.alainm23.byte
45-
```
40+
Run `meson build` to configure the build environment. Change to the build directory and run `ninja` to build
41+
42+
meson build --prefix=/usr
43+
cd build
44+
ninja
45+
46+
To install, use `ninja install`, then execute with `com.github.alainm23.byte`
47+
48+
sudo ninja install
49+
com.github.alainm23.byte
4650

4751
## Support
48-
If you like Byte and you want to support its development,consider supporting via [Patreon](https://www.patreon.com/alainm23)
52+
If you like Byte and you want to support its development,consider supporting via [Patreon](https://www.patreon.com/alainm23) or [PayPal](https://www.paypal.me/alainm23)
4953

5054
Made with 💗 in Perú

data/com.github.alainm23.byte.appdata.xml.in

+13
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,19 @@
2323
<binary>com.github.alainm23.byte</binary>
2424
</provides>
2525
​<releases>
26+
<release version="0.2.2" date="2019-12-11">
27+
<description>
28+
<p>This update brings some new features and bug fixes:</p>
29+
<ul>
30+
<li>Byte now starts faster 🚀️.</li>
31+
<li>An indicator was added that records all the playback radio station history.</li>
32+
<li>Fixed a bug by not showing the default covers (Flathub).</li>
33+
<li>Fixed a bug that blocks the application at startup.</li>
34+
<li>Update French translation @NathanBnm</li>
35+
<li>Update Spanish translation @alainm23</li>
36+
</ul>
37+
</description>
38+
</release>
2639
<release version="0.2" date="2019-12-06">
2740
<description>
2841
<p>This update brings some new features and bug fixes:</p>

debian/rules

100755100644
File mode changed.

src/Services/Scan.vala

+8-4
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,16 @@ public class Services.Scan : GLib.Object {
7171
}
7272

7373
public void found_music_file (string uri) {
74-
//print ("URI: %s\n".printf (uri));
74+
print ("URI: %s\n".printf (uri));
7575

7676
new Thread<void*> ("found_local_music_file", () => {
77-
if (Byte.database.music_file_exists (uri) == false && Byte.database.music_blacklist_exists (uri) == false) {
78-
Byte.tg_manager.add_discover_uri (uri);
79-
}
77+
Idle.add (() => {
78+
if (Byte.database.music_file_exists (uri) == false && Byte.database.music_blacklist_exists (uri) == false) {
79+
Byte.tg_manager.add_discover_uri (uri);
80+
}
81+
82+
return false;
83+
});
8084

8185
return null;
8286
});

src/Services/TagManager.vala

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class Services.TagManager : GLib.Object {
1414
}
1515

1616
private void discovered (Gst.PbUtils.DiscovererInfo info, Error? err) {
17-
new Thread<void*> (null, () => {
17+
Idle.add (() => {
1818
string uri = info.get_uri ();
1919

2020
if (info.get_result () != Gst.PbUtils.DiscovererResult.OK) {
@@ -79,7 +79,7 @@ public class Services.TagManager : GLib.Object {
7979
if (tags.get_double (Gst.Tags.BEATS_PER_MINUTE, out dou)) {
8080
track.bpm = (int) dou.clamp (0, dou);
8181
}
82-
82+
8383
// ALBUM OBJECT
8484
var album = new Objects.Album ();
8585
if (tags.get_string (Gst.Tags.ALBUM, out o)) {
@@ -135,7 +135,8 @@ public class Services.TagManager : GLib.Object {
135135
}
136136

137137
info.dispose ();
138-
return null;
138+
139+
return false;
139140
});
140141
}
141142

0 commit comments

Comments
 (0)