Wakey Wakey

Sometimes my tired old MacBook won’t wake from sleep.

Lets be honest, there are lots of things it won’t do anymore, including ‘staying switched on’, sometimes.

But one of those things is that if it’s left open and goes into sleep mode, sometimes it won’t wake up. It clearly starts to, the fan kicks in, the screen flickers briefly, then it just sits. I’ve tried leaving it – sometimes it’ll stay like that for a very long period (at which point I usually power cycle it), sometimes it crashes and reboots itself. It does appear on the network, but SSH et al. don’t seem to be up at the point at which it stops. So it seemed, until today, rebooting or waiting for a crash were the only options.

But yesterday I had a brief dink with a network app on my phone – when for some inexplicable in the reason the router decided to tell everyone it was connected to the internet, but not actually be connected. Or at least, not sharing the internet-love with the devices in the house. And I wasn’t sure, initially, if it was my flakey laptop, or the router. Things were generally being odd. So I used the networking tools app on the phone. And lo, it was the router, and lo, it was rebooted. Everything was good.

But it clearly stuck in my head that I could send ‘Wake on Lan’ signals via the app, because when the MacBook wouldn’t come on, I remembered that I could send it a wake-up from the phone.

And lo, it worked.

And I was stunned.

So yay for small victories.

Damn evil technology

So – years ago I bought a TV capture box. A relatively nice one. A Miglia Evolution TV. All brushed aluminium and shiny. They went bust, and so software support was discontinued with OS X 10.4.

…which means that for all its shiny shiny, it doesn’t work. At all. Current versions of OS X don’t know how to talk to it and won’t let you even install the drivers.

Which is upsetting.

So I bought a cheap USB capture device from t’internet.

Because, y’see, back in days of yore when this was all fields, and so on, there was an actual incompatibility between videos sold in the US and those sold in the UK. UK VHS videos were PAL – 625 glorious interlaced lines at 25 frames per second, and US ones were a somewhat lower res 525 lines, but a slightly faster frame rate of 30 frames per second.

Now, in the grand scheme of things, I largely don’t give a monkeys. At this point in history nearly all video cassettes have been consigned to landfill or plastic recycling. However, I’ve four cassettes – and actually a fifth containing a film that shows no signs of coming out on DVD – that I’d like to capture.

So I found a spare old tape to test it with and after freeing the motors off a little cerchunky-whirry:

Then I had to find the video cables for it. Because it uses SCART, which is a wildly convenient standard if you’ve got a SCART cable going into another SCART device. Less so if not. But, today I located (in the bucket of wires) my SCART to S-Video adaptor cable.

Hurrah!

Only not.

Because I can’t get the tracking good enough for the crappy cheap USB capture stick. If I plug the video into the telly it’s VHSarrific. A bit wobbly, in the way that VHS sometimes was, but not unwatchably so. And fuzzy, in the way that I’d forgotten how bad VHS was. But otherwise… it works.

Plug it in to the capture card and it is unwatchable. 2005 Video for Granada TV

Imagine that high quality image flickering about all over the shop. It’s dreadful.

Now, the question is, is this something that possibly a better video recorder (like lovely John has) might fix, or is it something that is a sign of such a flawed USB capture stick that it won’t work even then.

Hopefully we shall find a solution. Not, of course, that I’m sharing this wonderful Promo that Nikki and I made for Granada. Oh no. Although, it’s quite entertainingly bad.

Okay google

So, on my OnePlus One, “OK Google” is a bit flakey. It seems to work best if I sound slightly exasperated (which may relate to how I sounded by the time I’d trained it), and is waaay more reliable if the phone is unlocked. “OK OnePlus” which is meant to unlock it is hilariously useless, incidentally. I’ve never, ever, ever got it to work and it took so many goes to ‘train’ it that I’ve basically given up. I keep hoping it’ll get fixed, but since they delayed shipping the OS for *ages* for a feature which essentially doesn’t work at all, I’m not overly optimistic.

However. Okay Google works with enough effectiveness that I do use it – more through enjoyment of the fact I can do it, and wilful determination to make use of the feature. It’s handy for setting timers when I’m cooking or finding out if it’ll rain as I’m heading out.

But I really struggle with not saying please.

You watch all these videos, and people are talking to Echo or Siri or Google and they don’t say please. I rarely say please to it, because I’ve usually taken several goes to persuade it to work and don’t want to throw out the request with giving it extra speech to recognise, but each time I don’t I feel atrociously rude.

I wonder if that’s just me though.

Suck it up

So, I like Plex. I like it a lot; it does a lot of things very well. Unfortunately, one of the things it doesn’t do is allow you to limit data usage on audio tracks. This is ‘unfortunate’ – and somewhat of an oddity, at least as far as I’m concerned.

Data use...

This is a problem because I don’t have unlimited data. I’ve got what I thought was fairly generous 5 Gb allowance, but over the month Plex has sucked up over 2.5Gb of that on just a few hours of use.

Having scoured the forums, lots of people have commented that it’d be nice to have a transcode-to-lower-data-rate function, but there seems to be no enthusiasm to add it – which is odd, because the thing I (and a lot of people, seemingly) do the most is listen to audio. I rarely watch video on my mobile; so the fact it transcodes it down to use a lower data rate is nice, but not desperately important to me. Then, whilst I was poking around looking for an answer I came across Subsonic.

Having installed it this morning I can say a few things:
– It has some really nice features (like handling podcasts) which may mean I can finally completely dump iTunes.
– It’s not nearly so cuddly as Plex.
– It weirdly could find all the tracks but failed to add them properly to the database because I pointed it at the disk with them on, not the (two layers down) subdirectory with the audio-file directories in.*
– It’s installation and FAQ information could do with some Technical Writerly assistance (most of it was fine, but I spent ages trying to work out why it was generating the error “Sorry, you are not authorized to perform the requested operation” when I tried to access any music folders before realising that I hadn’t cleaned the database after scanning them with the wrong file locations.
– It’s also much cheaper than Plex.

However, it does allow me to tweak the audio settings down for Mobile Data separately to WiFi, which means that since usually I’m listening to it in the car, or while walking, and I don’t need my much higher quality audio, I should be able to feel a bit more comfortable about the amount of data I’m using.

Anyhow, we’ll give it a go for the month and see how things go – if they go well, then that’ll be an actual subscription service I’ll need to pay for (but at $1 a month, I think I’ll cope :) ).

* I pointed it at “/media/Delia Derbyshire” which is the disk that houses all the audio files (obviously). However, it wanted to be pointed at “/media/Delia Derbyshire/Audio/…” (…=Clean Rips, or …=Digital Downloads, or …=Dirty Old MP3s).

Just in case any one else is completely flummoxed

So there I was having got to a “Until Ubuntu fix the massive honking great bug, I don’t really need to footle with the media server” place. And I sat down with a book and said to the Squeezebox in the lounge, play this album.

It went “Of course….No”.

Not that it did it in a useful way, oh no.

Not in a providing me with debugging output that I could use way, no.

It said “Can’t find file for:”. Which initially I thought might be a permissions problem. Then after some research I thought it might be a transcoding problem. Then I tweaked the debug logging settings and all it said was that it found the file I asked it to play. No error actually recorded. Then I upgraded having discovered there’s now versions released that are not Logitech’s own. That didn’t help either. Then eventually I was writing a long ‘help me please’ post on the slimbox forums when I thought “what the hell, I’ll try the ‘nightly’ build of the server software”.

And lo, it worketh.

So:
Logitech Media Server 7.7.x Doesn’t work properly on Ubuntu 14.04 (Trusty Tahr) with early Squeezeboxes.
Logitech Media Server 7.8.0 Also doesn’t work properly on Ubuntu 14.04 with early Squeezeboxes.

The nightly build of Logitech Media Server (as of today 7.9.0~1423739099) seems to bring back FLAC (and I’d guess other transcoded formats) on early Squeezeboxes on Trusty Tahr. At least it has on my install. At this moment. I’m crossing my fingers for the future.

Whilst the new media server is all shades of awesome, and having access to all my music as I travel places is pretty damn cool, this upgrade has not been an epitome of smoothness.

Meeeedia Server, why do you hurt me so?

Bdr-bdr-bDRRRRR-bdr-bdr-drrrr-drrr-bdr-bdr-drrrr-drrr-bdr-bdr-drrrr-drrr-bDRRRRR….

I’ve been sat here on and off through the day tweaking the server. I’m not sure why it’s randomly, occasionally rebooting. Seems to happen only under heavy loads, but weirdly more under heavy graphical loads than anything else, and it’s not like it’s a really umphy graphics card.

One day I'll have a fully installed media server... It may not be today.

Nothing in the logs, because it literally seems to be a DROP EVERYTHING NOW reboot. No errors recorded, just ‘la la la REBOOT la la la”. I’m trying to be a bit more gentle with it, I was asking it to simultanously scan the audio directory into Logitech Media Server and the film directory into Plex. This may have been a trifle harsh.

I’m slightly wondering if the powersupply is flaking out, it’s meant to be 700 watts, according to its packaging, but it wasn’t exactly a pricey supply.

Anyhow, it’s chugging along. I’d like to get it scanning the TV Series rips, but Plex’s having a complete hissy fit about that, refusing to even acknowledge that there are files on the drive. I’m hoping it’s a bug that’ll be gone when I upgrade it. Which I’d do…except it’s in the middle of scanning the audio directory. Which may take the rest of my life. Despite the 4 cores and 6 Gig of memory. Irritatingly, unlike LMS which does a quick scan of the number of files, then gives you a percentage, Plex (at least this version) seems to just give you the current file it’s scanning. Which is fine for ‘normal’ people who don’t ridiculous music libraries that have terrabyte drives all to themselves. Every so often it pauses and I think it’s done.

But then…

Bdr-bdr-bDRRRRR-bdr-bdr-drrrr-drrr-bdr-bdr-drrrr-drrr-bdr-bdr-drrrr-drrr-bDRRRRR….

All I can do is hope that I work out why it’s rebooting randomly occasionally. Because that’s not the kind of behaviour I want to encourage.

An ‘unfortunate’ quirk

So having installed the much updated Ubuntu 14.04 I’ve run into an interesting bug. Using the graphical filer window to copy large amounts of data (by which I mean, the smallest amount I was copying when the bug appeared was around 20Gig – or the amount of data I generated doing Dead Bug Jumping (which I really hope to get back to at some point))…

It’ll be copying and copying and then *FZT* the machine reboots. No warning, no errors generated. Just suddenly reboots.

I’ve no idea why.

I’ve even less idea why because if I stick ‘cp -r ….’ on the command line it’ll happily do the job.

Other than that I’ve done a lot of data shuffling, and I’m thinking we’re most of the way towards an install. I just wish I knew what this rebooting nonsense was about.

Failure is a dish best served…err…on rapidly spinning platters?

I failed to check one teensy tiny thing. The old install was still running as 32 bit. Because, well, the processor it ran on, with its single core, was a 32 bit processor.

The new one? 64 bit. Should be running a 64 bit OS.

Also, Ubuntu doesn’t seem to like the upgrade very much. It’s working, but there’s random errors, and various bits seem to have failed.

…so tomorrow I’ll be upgrading the upgrade. Well, nuking the site from orbit (it’s the only way to be sure). On the plus side, it means I can yank the 1Tb drive that’s just sitting there at the bottom of the case.

’tis the season for stupidity

I spent quite a while trying to work out what was up with Logitech Media Server trying to work out why it wasn’t adding the files…

…and then I realised all the permissions were wrong. LMS didn’t have access to read the files. Which explains why it didn’t add them.

I am, it turns out, a moron.