You are not logged in.
hi guys,
I recently wrote a small mp3 player. Because I am more the commandline-guy, this player aims commandline-enthusiasts too. I wrote it because I pretty much disliked every other player out there (including cmus, although it was the best imho).
So, there is whistle now:
https://github.com/ap0calypse/whistle
And because no one likes to have it difficult, there is a PKGBUILD and an AUR-package:
https://aur.archlinux.org/packages/whistle-git/
How does it look?
Like this:
http://ap0calypse.agitatio.org/uni/screen_whistle.png
If anyone would like to test it, I would love to hear the reviews. ![]()
Thanks for reading!
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
Last edited by ap0calypse (2014-07-08 11:04:48)
Offline
Recommandation use source()
Arch Linux + i3wm (amd64)
Offline
just upload <pkg name>-<your ver>.tar.gz to your git
and then go to github.com/<username>
click on the tar.gz file
and then right click copy link on the raw button
now paste that link in your source=()
Arch Linux + i3wm (amd64)
Offline
There is no need for all that. You *should* use the source variable, but you can keep this as a git package. Just remove all the git cloning code from the build function. This PKGBUILD seems to be based on the pre-4.0 template. As of pacman 4.0 (or around there) makepkg can handle all the git footwork itself. See the new PKGBUILD formats for a template.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Offline
ap0calypse https://aur.archlinux.org/packages/sn/s … e/PKGBUILD you can use this as a template if you want
it uses source variable
Arch Linux + i3wm (amd64)
Offline
Thank you very much ![]()
UPDATE:
@ ioan: sorry, but do I have to upload the pkg to the repo all the time I push a commit? seems pretty annoying...
Last edited by ap0calypse (2014-05-03 19:09:17)
Offline
Np don't forget to change the depends ![]()
Also give me a vote ![]()
https://aur.archlinux.org/packages/snakegame/
Last edited by ioanm (2014-05-03 19:08:45)
Arch Linux + i3wm (amd64)
Offline
Thanks, I used an old template from an old project
I'll recycle the PKGBUILD.
Do you have a specific link?
For an example git PKGBUILD look here: https://wiki.archlinux.org/index.php/VC … Guidelines
Last edited by progandy (2014-05-03 19:32:08)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
thanks progandy!
I created a PKGBUILD based on that template. I'll upload it in a minute ![]()
UPDATE:
Duh! .... didn't work ... I guess I really suck at making PKGBUILDs
....
UPDATE 2:
Thanks folks. I have it now ![]()
Last edited by ap0calypse (2014-05-03 19:50:25)
Offline
Just wanted to inform you, that I pushed some updates and fixes to the github repo.
Unfortunately, you have to remake your playlists if you make an update. That's because of the remake of the data structure.
rm ~/.whistle.datAfter that, please add your music directories again.
The updated AUR package can be found here:
https://aur.archlinux.org/packages/whistle-git/
Offline
Nice app ![]()
Can I filter tracks and play only one band, for example? Without manually creating a playlist, just based on mp3 tags?
Offline
hi smiszym
,
thanks for testing!
currently, there is no such feature. but maybe I implement an additional toggle-switch, which let's you choose between 'toggle shuffle for all' and 'toggle shuffle for $ARTIST'. Would that be in your interest?
At this point, there is only a kind-of-boolean switch, where 0 represents no shuffle and 1 meaning to shuffle the tracks. Maybe if I implement '2' as 'shuffle between same artist', it should work.
Offline
Yes, that would be great. I think this is the only missing feature for me at the time. I use shuflle almost always, and it is sometimes good to stick to one artist a day ![]()
I also noticed that the info "( S: $SHUFFLE )" does not change immediately after pressing t, but when starting playing next song.
Oh, and as a bonus, could Whistle remember shuffle state between runs? Not so much important, however ![]()
Keep up good work and let us know about updates!
Offline
Hi ap0calypse,
I am struggling to find a simple player too and your program looks very nice. I just need a software that can play mp3 and flac formats and sort files based on embedded ratings and I am wondering if you intend to add such features or not. By "sort files based on ratings" I mean that the play order follows the rating so if I want to hear some Oscar Peterson for example, I browse to the folder, press play and the songs I like the least will be played last.
In any cases, thanks for sharing your program!
Offline
hi guys
another day with MANY updates! ![]()
@smiszym: I know about that. I will tell you about the reason, it's a little bit tricky
:
my girllfriend uses this player too, and she has a collection of more than 6000 mp3s which takes FOREVER to scan/rescan. It also takes a bit of time to even DISPLAY the contents without scanning on the screen, so if I update the playlist->title, I have to redraw the list. Unless I find a solution for that, we have to stick with this 'shuffle-shows-after-next' issue
But I'm working on it
Remembering the shuffle state would be easy, but I'm not sure if all users would want that ![]()
@kiiroitori:
thanks ![]()
You maybe want to have a look at the latest version. Unfortunately, currently only ogg and mp3 are supported. Flac will come, promised (others will come as well) ![]()
Your idea is interesting, but do mp3 files have such a tag-field? The obvious other solution would be to save the 'ratings' as a 1-5 value for every song. This is very possible and would be a nice feature. This way I wouldn't have to read/write more meta-data than needed.
Anyway: Thanks again. Here a screenshot of the current state:
Screenshot ![]()
Last edited by ap0calypse (2014-07-03 18:11:45)
Offline
snip
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code --
All the best,
-HG
Offline
Your idea is interesting, but do mp3 files have such a tag-field? The obvious other solution would be to save the 'ratings' as a 1-5 value for every song. This is very possible and would be a nice feature. This way I wouldn't have to read/write more meta-data than needed.
I think the ratings are in id3v2 tags.
I see you added FLAC support, great! Thank you!
Offline
ap0calypse wrote:Your idea is interesting, but do mp3 files have such a tag-field? The obvious other solution would be to save the 'ratings' as a 1-5 value for every song. This is very possible and would be a nice feature. This way I wouldn't have to read/write more meta-data than needed.
I think the ratings are in id3v2 tags.
Here: http://id3.org/id3v2.3.0#Popularimeter
If you want to have 5 ratings, maybe map it this way: 0 is undefined, 1-51 is 1 star, 52-102 is 2 star, 103-153 is 3 star, 154-204 is 4 star, 205-255 is 5 star.
stars = (rating>0)*(rating+25)/51
rating = stars*51-25
Last edited by progandy (2014-07-07 12:04:24)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
hi again ![]()
ok, well than mp3 ratings could be fetched from id3v2 tags, but what about ratings in ogg-vobis? flac? are there any?
I just think it would be easier to use a simplified own way to store this metadata just for whistle only.
I don't want to mess with the tags too much, maybe some day a random player crashes because of my adaptions ![]()
There is a lot to do .... let's go to work ![]()
Offline