which_chick: (Default)
[personal profile] which_chick
So, how's that whole linux thing going, then? You haven't mentioned it for a whole day now... did it break?



I found a music thing I like. It's called... uhm. It's... Banshee. Right. It imported my music (some 5500 items, which is fifteen *days* of music) without even flinching. It was like Bring it ON! Yeah. Boo-Yah.

Also, when playing, it has "recommended artists" that kind of are like what you are listening to, which is a nice way to find new things. It also lists the top tracks and top albums by the artist you are listening to. This is pretty damn neat.

And the interface, she is clean and sensible. I can turn off all the things I don't want to have visible. I can turn off most anything. F33R MAH POWERZ! MUHAHAHA!

ALSO? I R FUCKING SMRT. My Logjam now pulls my music from my music player via (get this -- I am so totally fucking cool) a shell script that I wrote by myself. Go me! This begs the question "Have you been typing in your music by hand lo these many years? Yes. Yes, I have. But no longer, damn it all. Now it is automagical and I have made it that way by myself.

See, where a doze box would have music/lj editors that either "work" or "don't work" together, this thing has a middle ground of "Well, we've provided hooks for some common music thingies but we don't cover all the bases, so if you have a different music thing, here's a spot for *custom command* where you can put in what you need to make it work." HOW THE FUCK COOL IS THAT? R0xx0r. (It does not TELL you what to put in the box. You have to do that part yourself. Some assembly required.)

Script in its entirety:

#!/bin/bash

banshee  --query-title --query-artist | sed s/Artist:// | sed s/Title:/--/ | sed '$!N;s/\n/ /'


To be fair, I had to read a fair amount of documentation to manage this because I don't know shit for sed. (I did start out knowing that sed could be used in bash to edit lines and that it was capable of pattern matching and stuff. This is a sed-sized job, this is.) However, I can read directions and I can test-drive the command in a terminal window until the results look OK. After I got that straightened out, I crashed Banshee about six times trying to get that big banshee/sed line to run as the "custom command" -- for some reason I thought I could dump the whole line in the "custom command" blank without killing something. Wrong.

After a fair amount of stupid, I took the big line and made it a bash script that I saved in my home directory and made executable (There's a gui for that, clicky-da-boxy). Then I went into the music thingie and put the shell script in the custom-command blank. Then, everything was fine.

Date: 2008-03-21 03:29 am (UTC)
From: [identity profile] not-your-real.livejournal.com
This is fun to watch. I am totally not up to speed with the world of Unix LJ clients, Unix music players, Unix GUI anything - but sed scripts, that's where I live... so it's a neat juxtaposition.

Date: 2008-03-21 01:53 pm (UTC)
From: [identity profile] which-chick.livejournal.com
I'm sorry -- I'd been operating under the impression that you had a fully GUI BSD thing going there, had had one for simply *ages*. You don't?

How do you listen to music? How do you watch youtube?
Edited Date: 2008-03-21 01:54 pm (UTC)

Date: 2008-03-23 04:37 am (UTC)
From: [identity profile] not-your-real.livejournal.com
Nah, the BSD machine was/is awkward, and while it is probably happy enough so as I could get X working on it now, I don't actually sit down at it so there is no point. (I did sit down at it when I first met you, but at that time, with much earlier versions of FreeBSD, I found getting X to work right too frustrating. I just xhosted onto the Solaris box set up next to it. The Solaris box was slow and feeble but it Just Worked, graphically.)

Music? I didn't need no stinkin' graphics to play music! Command-line mp3 player for my .mp3 files which I burned or downloaded and put in various directories :) I even had a cron job to start playing streaming mp3 from a URL, as a wakeup alarm :)

Youtube? That way postdates my getting the Windoze machine. The Windoze machine is the current (since 2002) graphical terminal from which to get to the BSD box. Under its influence, I have gradually started viewing more and more graphical content, compared to the days when I preferentially used Lynx and turned off image-loading in Netscape when I used it. Eventually I even accepted a Flash plugin.

Profile

which_chick: (Default)
which_chick

July 2025

S M T W T F S
  12345
6789101112
131415 16171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 28th, 2025 06:18 pm
Powered by Dreamwidth Studios