This image be our episode 2,087 tonight and titled, describing how I listen to podcast start one, it is posted by Mr. X, and in about 31 minutes long, and coming next visit flag. The summary is. This episode badly covers the console or the multiplayer mock. This episode of HBR is brought to you by Analysthost.com. Get 15% discount on all shared hosting, with the offer code HBR15, that's HBR15. Bit your web hosting that's honest and fair at Analysthost.com. Hello and welcome hacker public video days. My name is Mr. X, and welcome to this podcast. I'd like to start by thanking the people of HBR for making this service available to us all. It's usually an invaluable service. They go to a great deal of effort to streamline this service and make it as easy as possible to use. Just pick up a microphone, record something, and send it in. You must have something interesting to see. I'm sure. It's really quite easy if I can do it. Anyone can. So this is going to be a series about how I consume podcasts basically. I record the whole pile of stuff before this and I'd pre-visit a cover a lot of it in my old home server episode, that's HPR 2112, so you can always look at that back because it always, basically I started using, I started with podcasts using, I went to the XP machine and then transferred to my home server and running mock in music when the command line player. I covered that briefly, also that time tended to use an MP3 player to listen to shows, as I was a jelly bean type MP3 player with a kind of rubbery outer casing and it was a bit awkward to navigate and the screen was very small, I've still got it, I think, but I think the rubber coatings had to come off and got a bit sticky, so I've stopped using that and I now use the wonderful Sansa clip, which I'm sure you're not all about, it's so very popular player but getting hard to come by these days, there's a picture, there's a charging silly money for them, if you can still get a new one, I'm not even sure if you can, take a hand of a quick spin, if two, but that's by the buy, so my home server now has really been replaced by our Raspberry Pi, but the server still used to download the podcast, but that's actually a bit all it's used for, and my Raspberry Pi runs all the time and is used to play the podcast back, and the audio player I chose was the one that I used in the server, and I'd basically put it on every machine, it's a mock-p music on the command line player, so I recorded a bit about that, I took a bit more detailed overview of mock-p, so I'll, I'll, I'll join this onto the end of this free introduction, and they hopefully all make sense, and doesn't all bore you too much, so that any further to do, here's me earlier on, okay, so I've recorded this a bit out of sync, so I don't know how this will fit into the whole show, but I'll start to talk about the, the music player that I use, it's called mock, and it's one of these commands, one of these sort of programs that that's installed a bit first on every machine I've got in the house, mock, it stands for music on the command line, I think, so if you, uh, put the man page up here in the description says mock is a console audio player with a single incurses interface, so with a simple incurses interface, it supports org, wall, wall, it supports org, wave, MP3, and other formats, just run mock if P, go to some directory using the menu and press enter to start playing the file, the root program will automatically play the rest of the file, rest of the files in the directory, whether the terrible job or did not, isn't that? Yeah, it's a bit confusing, it's called, you know, the command is mock P, but to actually install it, the package name is mock, and we'll see, um, so you know, it's, you know, they've been, uh, type distribution it's, you know, to do that, dash gate, install, uh, mock, you know, and that installs, say, uh, the audio player, um, so as it's for us to say, with no options, I know file argument, the program begins in the current directory or in music directory, um, if the, start in the music door option is, is set in the configuration file, I guess there's the configuration file obviously you can see all sorts of plethora things, it's, it's quite, it's, last time I remember reading it, it's, it's really commented in East understand, but, um, if you give a directory on the command line, what we'll try to go there, if I play list is given then it, then it is loaded, uh, with multiple files, playlist or directories, everything will be added to the playlist recursively, including the current, including the contents of any playlist given. Note that relative paths and playlist are resolved with respect to the directory of the playlist, or of the sim link being used to reference it. And you can, you can actually have multiple, uh, playlists set up, um, the way a mock works is that I want to stand it to work as there's a server, I set a back end, and a front end, uh, and so when you run a few type mock and how to turn, and you start, you set a file as that playing it, if you do, if you type Q to quit, uh, the front end disappears, you get back to the command line, but the, uh, you know, the, the, the file continues to play because there's a mock server running in the background, and there's a command, uh, I think it might be dash p, I'll just let me just check if it is dash p. Yeah, so here we go. So there's, um, you can have multiple playlists set up, uh, using the dash m command. So for example, um, there's a default one that just works when you type mock p, um, but if you run it, the command line is a mock p dash m, and give a different directory, uh, there's a different default directory, so almost like you have two instances of, of mock running, and, um, you can, um, have a playlist set up at each, uh, so for example, I have, um, the default directory was, how I, first I did use a mock, and I use that, uh, to, uh, play, um, podcast, and I've got to mock p dash m, and then I've got a folder for audio books, and I've got to play this set up for that, and the, the, the, the both sitting sitting, loaded at the same time, and I can access either one, either by using the dash m command and the directory or not, and I can do a toggle between them, and control and completely independently. And so that's, that's a really nice feature. Um, there's so much to, to, to mock p, I really don't know, uh, where to begin. Um, I don't, uh, and I just, if, if, if, if time's going to run mock, mock p just now, uh, it loads up, and you, you, by default, if you're not doing it in clever, you just just run it for the first time, you end up with, uh, a split panel, uh, it's a wee bit like, uh, midnight commander, it's simply in the colors as well. Uh, so I'm cursing screen, and, uh, on the left hand side, you've got the, um, directory listing, and currently mine's, uh, you know, I'm a home directory, and I can record directory, and, um, you know, uh, find a file, hit the tournament starts playing. Uh, but on the right hand side, um, there's, uh, a window for a call, without the title called playlist, and there's nothing in it, because there's, there's no playlist, uh, loaded as such. Um, and if you start playing something, I don't think, uh, the playlist actually just happened, a little bit of a ca, uh, something here. So, there you go, that's, um, you're nothing comes up in the playlist, so, uh, that's, that's fine. Uh, but if you want to add things to the playlist, do you just, um, either highlight, without up and then, uh, cursor keys, the directory, or the file you want, and you just hit the, the A key, and that then adds items to the playlist. It'll look where you can delete things by hitting the D key. Uh, you tap between the two panels. Um, and, uh, you can, uh, I have, uh, I think I took the configuration first slightly, so that, um, I can, uh, multiple layouts. So, the default layout has the file directory on one side, and the playlist on the other. If I type the L key, it's all driven by the keyboard, great. Never need to touch a mouse, it's fantastic. Anyway, you type the L key, and it's now jumping to a full-sized, um, in the, in the, in your, um, terminal, a full-sized window that just shows you, uh, files and directories, which was originally, it was in the left hand side. With type L again, um, it jumps back to the split panel. Now actually, I think I've tweaked mine, so that it goes, um, this is, I just a default installation now, I think about it. But, um, most of my machines have it set up so that I type L, and first of all it goes to the file directory, I type L a second time, and it jumps to a full-screen playlist, and that's how it normally sits, on the playlist window, and when I open up again, it just members, uh, where I was. So, for example, if I hit the key command to quit that, uh, it just quits and, uh, the, um, the terminal window comes back with a flashing cursor and whatnot. But, the mock server is starting and if I was playing something, it would continue to play, and so if I type mock, again, the window loads and remembers, the layout, I think, is it? No, there's no, there's always forgets the layout, that's right. But, um, I tend to access it via a screen session, so, you know, if you're reattached to the screen session, to it remembers, it stays put sort of thing. Um, so, yeah, it's, it's, it's, it's, it's very, uh, very, very low resources, it uses very little resources, um, uh, really powerful. Um, and of course, you've got extensive, uh, commander thing, I mean, some of the commands I use, I've got, uh, I use, dash g and capital g toggle, so that can toggle between play and, uh, pause, you can script all this obviously, uh, dash r for previous, this small dash r, small dash f for next, uh, dash, small dash i for info, um, you'll see what sort of, uh, some of the interesting things you've got, you've got, uh, dash is command that runs only the server and exits, so you could just come up bring up the server where they're actually showing the, um, the front, the front end and not, I'll never use that, but you could do it, um, well, here we go, that, that thing I was talking about, but the dash game to have multiple playlists, I'm going to read the, the command it sees, it sees, the capital dash m, it uses a set specified mock directory instead of the default, and this also causes the configuration file from that directory to be used, uh, this can also be specified in the configuration file using the mock der option, um, so, um, if, if you've never, um, I think, I think if you run it for the first time, it generates all these things, so, you know, if you create a directory, like, I got the directory, uh, from what audio books, or if I use a dash m option, and then to the path where that audio books are, then it creates a folder in the dot mock, I think from what I remember, dot dot, um, yes, I've got a folder in the air called audio books, and if I go into that, um, yeah, mock is trying to generate a number of files, I've got a car, so I can figure, I've got, got EQ sets for equalization, so you can, you can set up files for, um, you know, you, you, you, you can, you can, you can, you can, as I can a graphic equalizer, which you can run, uh, with presets in that file, I've, I've added that, uh, last directory, my key maps, I've got a key map that tweak some of the, uh, keyboard bindings and whatnot, playlist.m3u, so if you add files to your playlist, that file gets generated, and files get added to it, you don't need to create it, it does it itself, uh, obviously you can use a playlist from something else, because these dot m3u's are standard, no, it's really nice, obviously, so you could use a playlist from another bit of software, I guess, um, so yeah, that's, that's inside audio books, but if I come out of that and say, mock, then, the same, some of the files that are in the actual base mock directory, um, it's always to have multiple, multiple playlists, uh, so it's quite handy, um, this has been all over the place I haven't, I thought this should have, let's say, when I look off, yeah, so I far away, the A command is the dash of pin further. Oh, as you could, you can use a, uh, you can give a command dash A, and then a directory, and that will append recursively, um, all the files in that directory, to a playlist, I'm going to hand it to add a, um, whole pile of files, uh, and it doesn't, there's a start interface, uh, and that's, I think you can have, like, uh, multiple interfaces running, so, you know, um, you could have a screen session running on one computer, or, uh, it doesn't even need a screen session, it could just be a, uh, a normal terminal, and you can take mock P, and then you go for another terminal, take mock P again, and that will, um, that will, uh, it'll appear, and you can determine whether the two are synchronized or not, I think, maybe by default, they are, so if you move the cursor and one window, it moves in the other, and likewise, if you're um, if you're running mock P on multiple, you know, you know, multiple machines logged into a server, for example, you know, if you're laptop, and, uh, whole whole other different things, all linked into a central server, and, you know, if you move from room to room and you, you move the cursor, then all of windows update with that, uh, information, so it's, it's a very convenient way of, um, of, uh, controlling, uh, the music player sort of thing here, I'm like, from multiple screens you can access that same player, and multiple, um, front, front ends, sort of thing, so it's, it's, it's, it's, it's, it's very flexible, um, um, does she include the playlist, dash P or dash dash play, dash F or dash dash next, dash R or dash dash, dash previous, dash A, so dash dash stop, dash x or dash dash x, that brings down the server, the, the back end sort of thing, dash capital P, I think, in dash dash pose, it obviously, dash U, capital dash U, I should say dash dash, unpose, dash G, capital G, or dash dash toggle pose, that allows you to toggle between play and pose, um, other funny feeling, you know, I haven't really said this, but I think, um, what could be, uh, post-bay and active development, I think, okay, I seem to remember when I first stumbled across, um, it was a bit quiet, there wasn't much going on, but I think other people have gotten involved now, and I think it's a bit more, um, a bit more active development, and I think I'm on version 2.5, I think, there's a latest one, I've got here, um, I think I was going to say there's an option here I use, uh, call if a dash k, a seek forward position or backward negative by n seconds in the file, currently being, currently being played, so I've finally feeling that wasn't originally, that option wasn't originally there, but it's now, so yeah, there's, there's active development going on, uh, dash T, you can theme it, give a theme file, and, all right, I mean, it's just, it's just like changing, and there, there's then courses, say, Windows, so there's only a lot of the things you can do, color wise, but, uh, yeah, you could make it jet black and white if you, if you like it or green and black if you like that, uh, that's, that kind of color, if you like the, um, that sort of thing, um, uh, dash c, or dash dash can fig that, you can specify where the configuration file is, if you like to put it somewhere else apart, uh, uh, as opposed to the default location, the default location, uh, I don't know if I'm made it very clear, but mock stores, it's files by default, and the dot mock directory, and the dot mock directory is stored in your home directory, uh, so, uh, yeah, um, what else? Well, yes, I dash y or dash dash sync, uh, this copy, this, this copy of the interface will synchronize its playlist with other clients, this option is called sync playlist in the configuration file, I'm sure I didn't use that option, and yet they do all synchronize, so maybe that's a default, um, up, that's, what happens in, in default, uh, because there's another one, the option here is dash n or dash dash no sync, this copy of the interface will not synchronize its playlist with other clients, see above, uh, dash a or dash dash asky, uh, use asky characters to draw lines, this helps on some terminals, I see if you've got a, a cacky old terminal, something like that, uh, that allow it to, um, to work properly, but funny feeling, uh, I had an old version of Linux, I don't know, something, I just have to use that at one point, so I can hand it, uh, dash i dash dash info, principle, principle information about the file currently being played, um, dash q, um, dash dash format, principle information about the file currently being played, using a format string, replace string sequences with the actual format, so you've got the, um, so again, I think that's a new, a new option, I think originally you just did dash i and it just blocked it out everything, but if you wanted it a specific piece of information, now you can do dash capital q, space, I think, uh, sepers, see, the percent state and then it'll, it'll return what state marks in another version is it playing, is it paused, what's it doing, you know, or percent file, and it returns the, the file name being played, so that that's quite neat, um, uh, it's also possible to use variables from the format string configuration of our option, uh, dash i or dash dash recursively, alias of dash a for backward compatibility, does that mean dash i was originally what was used on that quite a few, dash a or dash dash help, uh, that's kind of obvious principleist of options with short descriptions and exits, dash capital v, or dash dash version like, if you versions, um, dash v, lower v, and you can, and then with a number, plus or minus, and that just the mixer volume level, that's quite handy, uh, dash j, lower ksj, or dash dash jump, jump to some position in the current file, uh, n is a number of seconds when followed by an s, or percentage of total file time, when followed by a percent, example dash j, 10s, comma dash j, 50 percent, uh, examples, all right, very good, so that's, yeah, that's good, files, um, so you've got files stored in the dot mock directory, um, uh, mock directory for the configuration and file, socket, the PID file and other data, uh, that's near home directory dot mock, uh, for slash config, the configuration file for mock, this format is very simple to, uh, to see how to use it, look at the example configuration file, config dot example, distributed with the program, the example file fully describes all the configuration options, and so is a useful reference, uh, when using the dash, oh option, as this file can specify commands, which invoke other applications, mock will refuse to start, if it is not owned by either route or the current user, or if it is written by any one other than its owner, uh, uh, home directory dot mock for slash themes, that's where you still your themes obviously, uh, slash user slash share slash mock decoder plugins, default directories for audio decoder plugins, um, so it must be plugins available for our program, uh, yeah, I think that's probably about it, um, just see some of the, uh, some of the keyboard commands that I use, I think I want to change that change a little bit, I didn't go that far, with the, with the changes, I did, but I just see if I can see the default team behind the exam, if I can find it, so yes, so if you're in, if you've got mock p, uh, loaded, um, you can, if you hold the shift key down and, and, well, the, the, on my keyboard, the question marking told the shift key down, so I'll do that, I'm going to get the question mark, uh, to activate it, and, um, it's quite a few commands, um, I'm not going to go through them all, but, um, uh, cue, that's hot, lowcase cue, the touch mock from server, such as closing down the program, enter, start playing at the, this file, or goes to this directory, uh, down and up, be jumping down, home and end, or these are kind of obvious, uh, oh, capital cue quits, so that presumably quits the back and then the front end, and it stops playing everything, uh, s, it stops playing everything, uh, end, play next file, b, previous file, p, or space, for pause, um, I use that, these commands quite a bit, uh, tap the tab between the two windows, as I'm only picking the ones that I tend to use, I'm not going to go through them all, because it's far too many, um, else, which between layout, that's quite handy, they say, such between, um, file last, or playlist, or whatever, um, I see it might just set up, so I've got, as I said before, the L, such between the file, uh, last, and on one side in, uh, playlist and the other, or if it, uh, it goes to full screen playlist, or L, a third time, it goes to full screen, um, playlist, and I did to leave it in the playlist, as I said, um, a, add a file, capital A, add a direct, today recursively, um, the, um, greater than sign and less than sign increases and decreases of volume, that's quite handy, um, my 1% or command dot is it by 5% and, uh, left and right, uh, key, six forward and back, um, I think I took that a little bit, so that I can, I've got two levels of, of seek, I've got a slow, seek and a fast seek, but that's probably more detailed than you'd want to know, um, and what else is, uh, what else is, so. Well, in the, the square brackets, opening closed square brackets, uh, square brackets, I, uh, seek forward by 5 seconds, or you actually, you can jump faster, um, if you want, uh, at the, uh, it's, right, okay, what else I tend to use, um, um, you can actually execute commands, uh, I can be quite careful, uh, with function keys, I think I did, I, I played the, I played the boat without a wee bit, but I can't remember, I don't use it these days, like, I had the odd command around, um, what, uh, the, um, the, um, the, um, the, um, the, um, I, I must start, uh, F commands is toggle, toggles, reading, tag options, so that's very handy, so you're, you're, you're in, uh, and either the playlist or the directory list, and if you hit F, it'll, but default, uh, I think it, uh, it reads ID three tag, you know what, the heck, that's a file name, so you hit F, F key, um, and it toggles the, um, uh, reading the tag, it goes, the, the, the, the, the, the, the, it goes to reading the file, I think if the F command is, it's, it's going to file view, but it's not really, it's, it's, it's switching between reading the tags and not reading the tags of the MP3 file, so I was very handy to get, you know, you're, you're, you're playing a track, you know, what's that actually called, what's, what's the file name, just type, hit F, and actually the file, hit F again, and it goes back to the, what the actual ID three tag is, and that's, that's quite handy, um, yeah, so it's also, it's a mock piece, it's a fantastic little audio player, a highly recommend it, and I, I don't actually, I, I think I, I, I, I first I used the, um, interface quite a lot, but I actually, I run it through, um, through scripts and stuff, which I'll cover, I may already, I've covered our cover after this, you know, when I talk about the project that I, I pulled together, um, so yeah, this is completely disjointed, no, over the place, so I must apologize. Anyway, I hope you enjoyed this, and I recommend you give a mocker, I go, it's, it's a, it's a, it's a, it's a smashing we, a, a command line audio player, and, um, a lovely piece of this software, really nice, um, this, my favorite audio player on Linux by far, it's just a joy to use. Well, it's going to say about it, just use it. Okay, hope you enjoyed this, didn't find it too boring, um, if you want to contact me, I can be contacted, contacted at, mrx at hpr at googlemail.com, that's mrxat, hpr, the at symbol googlemail.com, so until next time, thank you, thank you, bye, listen, listen, listen, listen, listen, listen, listen, listen to me. Listen, listen, listen, listen, listen carefully, listen carefully, listen carefully, listen, listen carefully. so he can about, say, a potent sea. This sea, this sea, you'll produce a show for it and be a whole of it. We will produce a show for it and be a whole of it. You will produce a show, you will produce a show... You will produce a show, you will produce a show, you will produce a show. You will produce a show, you will produce a show, you will produce a show, you will produce a show. You've been listening to HECO Public Radio at HECO Public Radio.org. We are a community podcast network that releases shows every weekday Monday through Friday. Today's show, like all our shows, was contributed by a HPR listener like yourself. If you ever thought of recording a podcast, then click on our contributing to find out how easy it really is. HECO Public Radio was found by the digital.com and the InfoNomicon Computer Club, and is part of the binary revolution at binref.com. If you have comments on today's show, please email the host directly, leave a comment on the website or record a follow up episode yourself. Unless otherwise status, today's show is released on the creative comments, attribution, share a like, see you to our live streams.