INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Linux => Topic started by: mwillems on September 15, 2015, 07:01:02 pm

Title: Raspberry Pi 2 + 7" touchscreen + JRiver MC = Cheap Mediacenter Tablet (sort of)
Post by: mwillems on September 15, 2015, 07:01:02 pm
The Raspberry Pi foundation finally released their official touchscreen display (after years of promises).  It's a quite nice 7" multi-touch display that's plug and play with Raspberry Pi's, and it retails for $60 (which is pretty cheap for a nice 7" display).  Put it together with a $35 Pi 2 running JRiver MC, a $8 frame and a $5 SD card, and you get this:

(http://i.imgur.com/z948xhy.jpg)

A little linux "tablet" that will run a full ARM instance of Media Center for about $110 + shipping (some assembly required)...  Well, sort of ;)  There are some significant limitations that will definitely turn some folks off, and I'll get into those below. But first some basics about the configuration.

(http://i.imgur.com/v9LTUwE.jpg?1)

Configuration

As you can see, the Pi bolts right onto the back of the display. The included physical assembly instructions are easy enough to follow with a screwdriver and some patience. The Pi is running the default Raspbian environment and I installed MC on it using the method laid out in my guide.  For the "touch" front-end I'm using webgizmo in chromium running in kiosk mode.  Web gizmo has some definite limitations as a touch interface, but with Pretty Face (http://yabb.jriver.com/interact/index.php?topic=99290.0) on the horizon I hope that webgizmo will only be an intermediate front-end.  

The Good

It works quite nicely as a music player (local or networked), and you can browse your music collection in a way that's similar to Gizmo.  It's not quite as snappy as a modern phone or tablet, but is surprisingly responsive.  If you're using the device as a client to an MC server, you don't need much else besides an ethernet cable/wi-fi dongle and some kind of audio device like a DAC or AV receiver to hook it up to.  

If you want to use it as an all-in-one music player with an external hard drive you can do that too, which is what I'm doing with this one (the hard drive is in the cigar box behind it). The touch screen allows you to control the pi with or without a network connection, and (mostly) without a keyboard.  Once you get it setup, it works pretty well for browsing and playback, but...

(http://i.imgur.com/ETTKhaY.jpg)

The Bad

You can see some of the limitations in the picture above.  Unlike the android version of Gizmo, webgizmo uses paged browsing (see the numbers in the upper right hand corner of the image) instead infinite scrolling. So if your views have a lot of albums in them you might find yourself paging through quite a bit. There's also no easy way to navigate "back" one screen/level because webgizmo is expecting that you'd use the back button in the browser which is hidden in fullscreen mode.  Webgizmo also uses noticeably lower quality thumbnails/thumbnail scaling than Gizmo does.  Someone better at web development than I am could probably easily fix those issues (since webgizmo is completely user editable/customizable), and maybe I'll try my hand at it if pretty face is slow to come to ARM.  But for now, it is what it is.

Additionally there are two more basic problems: the default raspbian desktop environment is not touch optimized, so 1) scrolling requires using a scrollbar and 2) while there is an onscreen keyboard available, it has to be turned on manually each time you use it (no automatic pop up).  You don't need a keyboard for much in webgizmo (except search), but the lack of touch scrolling can definitely spoil the "tablet" feeling.  Those are both bummers, but I expect there may be some development in that direction in the Linux/RaspPi community now, since an affordable high quality display is now available.  In a pinch, you can easily use an actual USB keyboard if you have one lying around, but that really spoils the immersion .

Last, but not least, the display is quite power hungry, such that the Pi can just barely power itself and the display at the same time.  If you want to add a USB harddrive or a USB-powered DAC, you'll need a powered USB hub, or a custom battery solution. Here's my powered hub and harddrive with the lid up on the cigar box.

(http://i.imgur.com/tbZqnZK.jpg?1)

Conclusion

It's probably not sensible to invest in the parts for one of these right now unless: you've already got a Pi and want to add a screen; you just enjoy tinkering and are tickled with the idea of a small homemade tablet; or you have a special use case that this device would fill.  I happen to fall into all three categories  ;D  

I'm enjoying mine quite a bit because it fills a particular gap: I wanted a cheap touch device that could be hooked directly up to a USB harddrive and a USB-Powered DAC/Headphone Amp in an environment where I have no network access.  Conventional android or ios tablets can't typically be hooked up to multiple USB devices, and USB DAC support on android is particularly spotty.  The only devices I could find that I could be sure would work were x86 "convertible" tablets running full-bore windows for several hundred dollars.  So this was a "budget" solution to a very specific problem, and so far so good.  I'll probably work on getting everything into a case together (or a larger cigar box) one of these days, but I kind of like the way it looks in the frame.

If anyone would like a parts list or more specific setup instructions let me know, and I'll write them up (or add them to my how-to guide if there's lots of interest).
Title: Re: Raspberry Pi 2 + 7" touchscreen + JRiver MC = Cheap Mediacenter Tablet (sort of)
Post by: Hilton on September 16, 2015, 03:30:01 am
Thanks mwillems that's awesome.


I have a question, why wouldn't you just use a customised standard view instead of webgizmo.
You can change the magnification and font size. Below as an example.

With font set to 16 and size to 150%, thumb space medium and with a tree-view toggle on the bottom left.
Desktop Panel set to hide when not in use.

(https://farm1.staticflickr.com/725/21449565712_c5eec0e046_b.jpg) (https://flic.kr/p/yFqCAu)pi-screen1 (https://flic.kr/p/yFqCAu) by Hilton (https://www.flickr.com/photos/133784514@N07/), on Flickr


Tree-view toggled off

(https://farm6.staticflickr.com/5693/20839443903_b08c74dc6c_b.jpg) (https://flic.kr/p/xKvACX)pi-screen2 (https://flic.kr/p/xKvACX) by Hilton (https://www.flickr.com/photos/133784514@N07/), on Flickr



Title: Re: Raspberry Pi 2 + 7" touchscreen + JRiver MC = Cheap Mediacenter Tablet (sort of)
Post by: Hilton on September 16, 2015, 03:45:49 am
Or even Display View when its playing.

(https://farm1.staticflickr.com/686/20838160784_8849eecffb_b.jpg) (https://flic.kr/p/xKp2dd)pi-screen3 (https://flic.kr/p/xKp2dd) by Hilton (https://www.flickr.com/photos/133784514@N07/), on Flickr
Title: Re: Raspberry Pi 2 + 7" touchscreen + JRiver MC = Cheap Mediacenter Tablet (sort of)
Post by: Hilton on September 16, 2015, 07:33:18 am
Having a think about this, I still think it's very cool. However...

After having used JRemote on a cheap Android tablet to control MC on Pi2 Im not sure it's worth it now.

A year ago I would have been all over this, and in another year from now, we'll probably have MC natively on Android in some fashion.

I quite like this setup which I use now in the office and at home....

My Pi2 Brick with the FiiO E09K/E17 AMP/DAC and JRemote on Android.  I think this is the best of both worlds.

(https://farm1.staticflickr.com/639/21453707922_54721a34e7_b.jpg) (https://flic.kr/p/yFMRVU)Pi2 JRemote on Android (https://flic.kr/p/yFMRVU) by Hilton (https://www.flickr.com/photos/133784514@N07/), on Flickr

(https://farm6.staticflickr.com/5741/21276638480_f372266904_b.jpg) (https://flic.kr/p/yq9kmu)Pi2 JRemote on Android (https://flic.kr/p/yq9kmu) by Hilton (https://www.flickr.com/photos/133784514@N07/), on Flickr


And on an even cheaper tablet. (JRemote scales and looks better on this one)

(https://farm1.staticflickr.com/735/20843941053_b035651f50_b.jpg) (https://flic.kr/p/xKUDu2)Pi2 JRemote on Android (https://flic.kr/p/xKUDu2) by Hilton (https://www.flickr.com/photos/133784514@N07/), on Flickr






Title: Re: Raspberry Pi 2 + 7" touchscreen + JRiver MC = Cheap Mediacenter Tablet (sort of)
Post by: mwillems on September 16, 2015, 07:55:11 am
Thanks mwillems that's awesome.


I have a question, why wouldn't you just use a customised standard view instead of webgizmo.
You can change the magnification and font size. Below as an example.

With font set to 16 and size to 150%, thumb space medium and with a tree-view toggle on the bottom left.
Desktop Panel set to hide when not in use.

(https://farm1.staticflickr.com/725/21449565712_c5eec0e046_b.jpg) (https://flic.kr/p/yFqCAu)pi-screen1 (https://flic.kr/p/yFqCAu) by Hilton (https://www.flickr.com/photos/133784514@N07/), on Flickr


Tree-view toggled off

(https://farm6.staticflickr.com/5693/20839443903_b08c74dc6c_b.jpg) (https://flic.kr/p/xKvACX)pi-screen2 (https://flic.kr/p/xKvACX) by Hilton (https://www.flickr.com/photos/133784514@N07/), on Flickr


I've thought about that, and I do use standard view to some extent with the touchscreen.  Specifically I thought about using cover view or something like it.  Ultimately it came down to my having large not particularly dextrous fingers and I wanted some "can't miss" targets.  Using standard view even with the font size ratcheted up was just too fiddly.  Maybe I'll try turning up the sizing even more, it would make for a more capable interface.  I'm still holding out for Pretty Face  :)

Like you said though, this isn't really a replacement for a phone or tablet running JRemote, but I'm using it in an environment where I have no network access and constantly rejiggering the settings on my phone to make it a hotspot, etc. was inconvenient.  If I had a dedicated cheap-o android tablet sitting around, I might not have bothered, but this project was a good fit for me.
Title: Re: Raspberry Pi 2 + 7" touchscreen + JRiver MC = Cheap Mediacenter Tablet (sort of)
Post by: Hilton on September 16, 2015, 08:19:17 am
You know what I can still see an opportunity to make a nice case for the back to hide the Pi and connections and a battery and HDD and all the connections.

A wedge style case so it stands on it's own on the table with a taper to the top so it doesn't feel so cumbersome to hold. Maybe a couple hardware buttons on the side and top.
I could see it as a good fully self contained media server/player with touch screen.  Just need "Pretty Face". :)  or.... the same idea for a 7" android tablet that clips in.

Couple interesting product ideas there. :)





Title: Re: Raspberry Pi 2 + 7" touchscreen + JRiver MC = Cheap Mediacenter Tablet (sort of)
Post by: mwillems on September 16, 2015, 08:28:54 am
Actually, given that there are now 200 GB micro sd cards, one might be able to do without an external drive at all if you have a small collection (that's better capacity than an ipod classic, and in a few years I'm sure there will be TB micro sd's).  Then you could have a really "svelte" case (or have more room for a DAC headphone amp).