All This Jazz

All posts tagged All This Jazz


The new Plex beta addon for Kodi as seen on our 65″ TV. (Click to enlarge.)

Plex is a great free way to deliver local music/TV/movie content from your computer(s) to your TVs, smartphones, tablets, and browsers.

There are free official Plex apps on several of our media devices: Roku boxes, smartphones, and TiVo.

I have been using the unofficial PleXBMC addon with my $35 Raspberry Pi/OSMC-Kodi computer.

Now there is an official Plex for Kodi addon. It is still in beta, and is currently available only to PlexPass holders.

Preview it in the following series of screenshots.

They also show how I have organized for Plex my Windows-automated online recordings of the locally-produced weekend KWGS music shows (see the previous Cord-Cutting post). Details after the screenshots…


My Christmas recording of “The Folk Sampler”. I added the pix from KWGS’ and Mike Flynn’s websites.


Christmas “Folk Salad”. That is my own simple naming convention for the recordings.


Christmas Eve “All This Jazz”. The AAC+ format provides the best sound for the 56Kbps bandwidth.


Christmas Eve “Swing On This”. Grabbed the nice background shot from the internet.

How to organize home-recorded radio shows for Plex:

I will demonstrate by adding my KWGS recordings of “Jazz Night in America” to Plex.

They are on my Windows Desktop in a folder called 1JazzNightInAmerica, with names like JNIA20150704.mp3.

For Plex, each .mp3 needs to be in a separate folder, so that Plex will see them as “albums”. We will name each folder the same as the .mp3 name. My simple naming convention allows them to be put in order by date.

Right-click an .mp3 in Windows Explorer, select “Rename” from the context menu, and use Ctrl-C to copy the show name. Then right-click on the leftmost space within the right pane of Explorer, create a New Folder, then do Ctrl-V to paste in the name of the show. Finally, move the .mp3 into the new folder of the same name. Do this for all the .mp3s.


I created a new folder in Windows Explorer under “Music” called “Jazz Night in America (KWGS)” to be consistent with the naming of the other KWGS shows. (I configured Plex to look for new music in the Music folder when I installed it on this PC.)

Now I move one of the folders from 1JazzNightInAmerica into it.

Plex will detect it eventually, but to snap it up, I tell Plex to Update Libraries. Now I see an [Unknown Artist]/[Unknown Album] under “Recently Added Music”. I ignore it for now and go to my Music Library on Plex where I see a list of artists. Scroll down and find “Unknown Artist”. This will now be renamed.

Click the pencil icon for the [Unknown Artist] to edit. Type “Jazz Night in America (KWGS)” into the Artist slot. I copy and paste that same text into the “Sort Artist” field as well. You may, if you wish, add genre Tags (I selected “Jazz” and “Contemporary Jazz”).

You may also add a Poster image and a Background image for this artist. I usually look for official images associated with the show. You need only enter the URL of an image and it will be imported into Plex (but go ahead and save them to your PC as well for future use). I found a photo of host Christian McBride with his bass, and the JNIA logo to use as the background.

I now have a new “Artist” listed as “Jazz Night in America (KWGS)”. Click that artist icon. This artist has one [Unknown Album] so far. Edit the album by clicking the pencil icon on it.

The path to the .mp3 is visible under the Info tab. Copy the intended album name from the path, in this case, “JNIA20150704”. Paste it into both the Album and Sort Album slots under the General tab.

Click to enlarge.

(Optionally, you may also wish to add the same image you used for the artist Poster above; it must already be saved on your PC to do this. Plex uses it for display in some views if it is there. I found that if I added the image to this first album, Plex added it to the rest of the albums I added later.)

I now have a new Artist with one properly named Album to his credit.

At this point, I cut and paste the remaining folders from the Desktop folder into Music/Jazz Night in America (KWGS) folder.

I then tell Plex to Update the Music Library again. When complete, Recently Added Music shows a bunch of new [Unknown Artist]/[Unknown Albums].

You must edit each one, but it is easier this time. For Artist, just type in “Ja”, which will be sufficient to bring up a small list of matching artists from your library. Select “Jazz Night in America (KWGS)”. Click the Info tab and copy the name of this album (e.g., JNIA20150711) from the path, and paste it into Album and Sort Album under the General tab. Save Changes.

The latter process was a bit laborious, since I had so many shows already recorded. It’s not so much work if you are just beginning to record a weekly show.

Here is Mr. McBride and his shows. Now I can go to any of my devices with Plex and listen!

I hope this is helpful to someone, somewhere.


Browser view of “Jazz Night in America (KWGS)” in Plex, with all the shows (“albums”) I previously recorded. All are now available to my Plex apps on Roku, smartphone, TiVo, Chromecast, Raspberry Pi. (Click to enlarge)

(This is an update and upgrade of a previous post, Free DIY internet radio recorder, due to KWGS changing the hosting of their streams in October 2016.)

KWGS’ engineer advised in email: “I’d recommend our listeners use our new AAC-format stereo stream for best fidelity. It’s the ‘Public Radio 89.5 (stereo)’ option found on our Listen Live page:”

KWGS streaming on VLC Player

KWGS streaming on VLC media player. Click to enlarge.

The popular and versatile freeware multimedia player VLC can serve as a recorder as well as a player.

I pasted the URL from “Public Radio 89.5 HD1  (stereo)” on KWGS’ Listen Live page into VLC, enabling me to record their stereo stream as an .mp4 file. This tutorial shows how to do it, just name your test file ‘radio.mp4’ instead of ‘radio.mp3’.

Also, on the VLC player menu, go to View and click ‘Advanced Controls’ to add a record button.

Once you are a bit familiar with VLC as a radio recorder, you need a way to make it automatically record your station at a scheduled time.

This I did by first creating a Windows batch file that uses command-line VLC to record 3 hours of KWGS whenever the file is run.

Then I used the built-in Windows Task Scheduler to run the batch file every week at 9 pm when “All This Jazz” is on.

The result each week is a 74 MB .mp4 file of the show. The file name includes the current date, e.g., last night’s “ATJ20161217.mp4”.

The batch file can be easily duplicated then modified to record other KWGS shows as well.

Here’s how to do it.

I recommend using free Notepad++ to copy, edit and save the text from my own ATJrecord.bat file. It will save you headaches over special characters and spacing. Standard Notepad is more trouble than it is worth for this purpose. Word and WordPad are worse.

Copy all the following code, paste it into NotePad++ and save as ATJrecord.bat. Some of the code runs off the side of this web page, but you will pick it up in your copy/paste operation:

“C:\Program Files\VideoLAN\VLC\vlc.exe” –sout=”#std{access=file,mux=mp4,dst=C:\Users\TulsaTV\Music\1AllThisJazzM4A\ATJ%DATE:~10,4%%DATE:~4,2%%DATE:~7,2%.mp4″} –run-time=10800 –stop-time=10800 vlc://quit

  • Double-check the path to vlc.exe (in green) on your computer after installing VLC, and correct if necessary.
  • Alter in the path (in orange above) to your own AllThisJazz folder.
  • (The text colors won’t be copied; they are here for clarity.)
  • Make sure the four double-quote marks are the straight up-and-down kind, not the slanted ones (it happens sometimes when you copy text from a web page like this).
  • Replace the apparent dashes immediately in front of sout, run-time and stop-time with double hyphens from your keyboard if needed (another copy weirdness).

There should be only one space between each string of characters. I count 6 strings and 5 spaces between them. The 3rd string is a long one, starting with –sout and ending with .mp4}”. If you have it right in Notepad++, you will see solid shading around the whole “paragraph”.

FYI, 10800 is the number of seconds in three hours. You can change it to adapt the .bat file to record other KWGS shows such as “Swing on This”, “Folk Salad”, and “Folk Sampler”, all one-hour (3600 second) programs. I am enjoying all of them.

Test your ATJrecord.bat file by double-clicking on it. A black command prompt window will pop up to execute it, and then a VLC Player will pop up and start recording KWGS. (You may want to temporarily change 10800 in both places in the file to 20 for testing so you can see that both windows disappear when the recording is complete.)

Once you have your batch file working, add a task to Windows’ Task Scheduler to run it every Saturday at 9 pm. Here is a useful tutorial for creating a basic task. (Type “Task Scheduler” in the Run box to access it.)

Suggestions for creating and modifying your basic task:

General Tab:
Name: Use .bat file name, minus the “.bat”.
User account: Your own, rather than Admin.
Run whether user is logged on or not.
Run with highest privileges.
Configure for: whichever Windows version you are using, e.g., Windows 7, or 10.

Triggers Tab:
Weekly at 9 pm every Saturday of every week, starting on your next Saturday.
Enabled (be sure it is enabled!)

Actions Tab:
Browse for path to your .bat file

Conditions Tab:
The actions in parentheses are optional:

(Start the task only if the computer is on AC power.)
(Stop if the computer switches to battery power.)
(Wake the computer to run this task.)

Settings Tab:
(Allow task to be run on demand.)
(Run task as soon as possible after a scheduled start is missed.)
Stop the task if it runs longer than 4 hours (for this 3 hour show).
If the running task does not end when requested, force it to stop.

You can play the recordings on your computer with VLC.

I like to download the .mp4 files directly onto my smartphone for listening while exercising.

Running the free Filezilla FTP server on my Win 10 laptop lets me use the free FtpCafe app on the phone to grab the recorded files. (I have a 64GB microSD card in the phone for media file storage.)

I added the free VLC media player app to my phone. The app handles the AAC+ format, so you get stereo and the full sound spectrum. It lets you easily jump to the spot you want to start listening from by dragging the pointer on the seekbar. I keep a memo of where my listening left off on a Notepad-type phone app.

Additional technical note:

In the batch file code above, you will see this URL:
[12/15/2017: changed 18103 in the code above to 17993. See explanation in box below.]

The URL comes from the KWGSFMAAC.pls file you can download when you click “Public Radio 89.5 HD1  (stereo)” on the KWGS Listen Live page.

The .pls (playlist) file is just a text file that looks like this currently:


I used the first URL for my batch file. I’m not sure why the others are listed. Could be as alternate URLs, or for load balancing. Maybe someone can enlighten me. But the batch file works only if you pick just one of them.

If the batch file should stop working at some time in the future, download and edit the then-current KWGSFMAAC.pls file from, and see if you need to use a different URL in the batch file.

12/15/2017: ATJrecord.bat stopped working today for just this reason!

Here is what the relevant section of the .pls file looks like now:


So I picked out “17993” out of the new one and replaced “18103” in the URL in the full code text above. The ATJrecord.bat file works again.

As you can see, it doesn’t change very often, but best to be prepared if it does!

Additional notes:

These KWGS files use the AAC+ (aka AAC+ v1, aka HE-AAC v1) advanced audio coding format. The format packs in the maximum quality for the bandwidth. I believe Apple devices will render the files correctly, since they can handle .m4a, their version of .mp4 audio files with AAC encoding. Feel free to correct me if I’m wrong. 🙂

Currently, the Plex channel on Roku boxes chokes on these AAC+ sound files. But, the Plex smartphone app handles them, and can ‘cast the shows to Chromecast for playback.

I also use PleXBMC (later note: now Plex for Kodi) on my Raspberry Pi/OSMC. A phone app ($5 Yatse or free Kore) is the best way to control the Pi for this purpose, since you can jump directly to the time you want to start at (needed with a 3-hour long show!)

I finally got down to business and properly rebuilt my Plex music database, having stumbled into various pitfalls. The setup I now have for these KWGS music shows is a wonder to behold, and will be the topic of a future post.

Background: Clark Gibson TCC Jazz Festival 3/25/2016

Background art: Program for Clark Gibson’s appearance at the TCC Jazz Festival, 3/25/2016

I’d been hearing tunes from this CD, “Bird with Strings: The Lost Arrangements” by Clark Gibson + Orchestra, for months on “All This Jazz” (KWGS 89.5, 9 pm-midnight Saturdays).

The host, Scott Gregory, announced a few weeks ago that Clark would be playing a concert at TCC Southeast campus.

Great job by Clark, director Reid Bennett, and the TCC Orchestra and Band. Clark is such a nuanced, unbounded player. I bet Charlie Parker (the “Bird” of the CD title, one of the progenitors of bebop music in the 1940s) would have loved it, too.

Of course I bought the CD. (Onstage, he mentioned it has been in the top 50 nationwide.)

These days, I regard the physical CD as a backup copy with liner notes, and a souvenir when autographed, like this one. Seems like way too much work to actually put in CDs(!)

Windows Media Player automatically ripped it into mp3 tracks (320 kbps for maximum quality).  In my setup, it is then added to Plex when you update the media library.

Above is a screenshot of our theater room TV. The album art was retrieved by Plex automatically. But there was no background art in the database. Luckily, I had the concert program.

I scanned it, but it was in vertical rather than horizontal format, as needed for a Plex background. I used free image software IrfanView to halve the vertical dimension, and allow the image to be compressed (unchecked the “Preserve aspect ratio” box when resizing).

You can see the result after I added this image as the background. A nice reminder of the show every time I play the album.

New Year's Eve in New York

New Year’s Eve in New York

(This post isn’t directly about cord-cutting or home theater per se, but about a side benefit of Plex, which itself is a very good cord-cutting/home theater move.)

New Year’s Day, I signed up at Planet Fitness in south Tulsa.

At home, we have a Diamondback 860Rb stationary recumbent bike, and a Schwinn Bowflex Comp machine. Both my wife and I have used them regularly.

The bike was originally for her, but I liked it as an rainy-day alternative to running, and have used it much more often in recent years. I can get a pretty good workout from the Bowflex, so much so that I let my All American Fitness membership lapse years ago.

But after using the Life Fitness brand machines on the ship during our cruise last month, I thought I might like to be in a gym again for all the muscle-specific machines that demand constant force throughout the range of motion with inertial resistance. It would also be an impetus to get out of the house more often.

Planet Fitness has Life Fitness machines, plus a nice setup in their huge aerobic area with 18 TV screens, set on 9 different cable channels. You plug your own headphones into the machine’s console, then select the sound for the screen you want to watch.

The 2 shows I missed while cruising.

On my smartphone.

Arnold on my smartphone.

PF also has free wifi, so while exercising, I can stream any of our Plex content (e.g., my recordings of KWGS’ “All This Jazz” radio show, or any movie, TV show or music album from our Plex library) from home to my wifi smartphone in the gym. (Also see this summer’s post Poolside fun with Plex remote access)

Of course, I can use any of the other phone apps, such as Netflix, YouTube, TuneIn Radio, etc.

Plex has another feature which would be useful if there were poor or no wifi. You can sync any movie, TV show, or album to a specific device (like my phone), then watch or listen when not connected to a network.

This has always been possible, but used to be a huge hassle, due to the need to convert to a device-friendly size and format, then load the media to a phone or tablet.

But with Plex handling the transcoding and downloading, it’s easy.

Most of the movies in our Plex library are ripped from standard DVD (480p resolution, 1.5 Mbps bandwidth). When selecting for download in Plex, I typically cut the bandwidth in half (to 720 Kbps), since it makes little difference on a small screen, and creates a smaller, faster processing and loading media file.

I just added a 64 GB microSD card to my phone, so I imagine I could get most of our video library on it if I so desired.

Right now, I have two of my favorite movies (“The Terminator” and “Dr. Strangelove”) and two “All This Jazz” shows downloaded to the phone.

The other day at the gym, I tried streaming “Diamonds Are Forever” from one of our home Plex servers. During the 30 minutes I pedaled, there were a couple of momentary freezes, but they weren’t a significant viewing problem. If I didn’t care for that, or if wifi bandwidth were a problem, I could have just downloaded the movie before heading out the door.

Which I need to do in about 15 minutes.

Happy Plexing and Flexing New Year!

iHome portable speaker and wifi-only smartphone with Plex app running.

iHome portable speaker and wifi-only smartphone with Plex app running.

Yesterday, I visited a friend with a swimming pool at his house. To provide musical entertainment, I took along my wifi-only Samsung Galaxy Note II smartphone (formerly my wife’s), and a portable iHome rechargeable speaker.

All my music content is currently stored on my laptop at home.

As described previously, the laptop and a couple of other household computers are running the Plex server software. That allows stored music, TV shows and movies to be played by devices running Plex client software. Up until recently for me, those devices were the Roku boxes and the Raspberry Pi running PleXBMC software.

But other devices can be Plex clients, too, such as a browser, a smartphone or a tablet.

With the free Android Plex app on my smartphone, the phone can play my music in the workout room or out on the patio via our private wifi network.

However, it can also work at remote locations, like my friend’s pool.

To achieve this, you must enable remote access on the Plex server. Here are the directions: Enabling Remote Access for a Server, and if needed, Troubleshooting Remote Access. This can be tricky, depending on your router. With my old warhorse Linksys WRT54G, I had to do Manual Port Forwarding as described in the second link to make it work.

The result was delightful. My phone had internet access via my friend’s wifi. I had used my DIY radio recorder to capture “All This Jazz” from KWGS the night before (I could have selected any of my music content). At poolside, I started the show and it streamed from the laptop in our house, 3 miles away. It played until it was time to go.

Just for kicks, I kept the music going in the car to see how long it would last after losing wifi access. I got to 61st & Memorial, still going. 71st & Memorial, still going. Got home, still going! Checked the phone, and it had reestablished access to our wifi and continued to play on.

Evidently Plex buffered at least 10 minutes of the show. You may recall that I chop the three-hour program into twelve 15-minute segments for convenience with Roku, where you can’t “rewind”. (Reminds me of an 8-track player when it switches to the next track.) Did Plex buffer an entire segment, or more? I don’t know.

But it is a lot of fun to use. All of this fits into a sandwich bag for safe and cheap transport to and from poolside.