Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alain M committed Dec 11, 2019
1 parent ac30dc3 commit 2a58add
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 14 deletions.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,18 @@ You'll need the following dependencies:

## Building

```
meson build && cd build
meson configure -Dprefix=/usr
sudo ninja install
com.github.alainm23.byte
```
Run `meson build` to configure the build environment. Change to the build directory and run `ninja` to build

meson build --prefix=/usr
cd build
ninja

To install, use `ninja install`, then execute with `com.github.alainm23.byte`

sudo ninja install
com.github.alainm23.byte

## Support
If you like Byte and you want to support its development,consider supporting via [Patreon](https://www.patreon.com/alainm23)
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)

Made with 💗 in Perú
13 changes: 13 additions & 0 deletions data/com.github.alainm23.byte.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@
<binary>com.github.alainm23.byte</binary>
</provides>
​<releases>
<release version="0.2.2" date="2019-12-11">
<description>
<p>This update brings some new features and bug fixes:</p>
<ul>
<li>Byte now starts faster 🚀️.</li>
<li>An indicator was added that records all the playback radio station history.</li>
<li>Fixed a bug by not showing the default covers (Flathub).</li>
<li>Fixed a bug that blocks the application at startup.</li>
<li>Update French translation @NathanBnm</li>
<li>Update Spanish translation @alainm23</li>
</ul>
</description>
</release>
<release version="0.2" date="2019-12-06">
<description>
<p>This update brings some new features and bug fixes:</p>
Expand Down
Empty file modified debian/rules
100755 → 100644
Empty file.
12 changes: 8 additions & 4 deletions src/Services/Scan.vala
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,16 @@ public class Services.Scan : GLib.Object {
}

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

new Thread<void*> ("found_local_music_file", () => {
if (Byte.database.music_file_exists (uri) == false && Byte.database.music_blacklist_exists (uri) == false) {
Byte.tg_manager.add_discover_uri (uri);
}
Idle.add (() => {
if (Byte.database.music_file_exists (uri) == false && Byte.database.music_blacklist_exists (uri) == false) {
Byte.tg_manager.add_discover_uri (uri);
}

return false;
});

return null;
});
Expand Down
7 changes: 4 additions & 3 deletions src/Services/TagManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class Services.TagManager : GLib.Object {
}

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

if (info.get_result () != Gst.PbUtils.DiscovererResult.OK) {
Expand Down Expand Up @@ -79,7 +79,7 @@ public class Services.TagManager : GLib.Object {
if (tags.get_double (Gst.Tags.BEATS_PER_MINUTE, out dou)) {
track.bpm = (int) dou.clamp (0, dou);
}

// ALBUM OBJECT
var album = new Objects.Album ();
if (tags.get_string (Gst.Tags.ALBUM, out o)) {
Expand Down Expand Up @@ -135,7 +135,8 @@ public class Services.TagManager : GLib.Object {
}

info.dispose ();
return null;

return false;
});
}

Expand Down

0 comments on commit 2a58add

Please sign in to comment.