Channel Issues & Questions

Help & troubleshooting for channels on your Roku device, including adding/removing channels, logging in to, authenticating, or activating a channel, channel-specific playback issues, assistance contacting channel publishers to report issues, and adjusting channel-specific settings.
cancel
Showing results for 
Search instead for 
Did you mean: 
farside847
Level 7

Re: [Pvt Channel] What's On: New Feature - 3-hr TV Grid List

Jump to solution
Crazy question. .. would you be willing to contribute to the media browser project? They now support live tv, but are in desperate need of a grid guide.

If you have never heard of it, media browser is a free server program and roku app that allows you to stream local movies, TV shows, and now even live TV in hd.
http://mediabrowser.tv/

Here is another thread where the developers are wondering if anyone knows how to implement a grid
http://mediabrowser.tv/community/index. ... -requests/

It's pretty cool, and has a ton of momentum with frequent updates. Smiley Happy
0 Kudos
belltown
Level 7

Re: [Pvt Channel] What's On: New Feature - 3-hr TV Grid List

Jump to solution
"farside847" wrote:
Crazy question. .. would you be willing to contribute to the media browser project? They now support live tv, but are in desperate need of a grid guide.

If you have never heard of it, media browser is a free server program and roku app that allows you to stream local movies, TV shows, and now even live TV in hd.
http://mediabrowser.tv/

Here is another thread where the developers are wondering if anyone knows how to implement a grid
http://mediabrowser.tv/community/index. ... -requests/

It's pretty cool, and has a ton of momentum with frequent updates. Smiley Happy

I'll look into it.
https://github.com/belltown/
0 Kudos
luke823
Level 7

Re: [Pvt Channel] What's On: New Feature - 3-hr TV Grid List

Jump to solution
Thanks. I'm the Media Browser project lead. Our server supports streaming Live Tv and there is a lot of demand for a presentation like this within our Roku app.
0 Kudos
belltown
Level 7

Re: [Pvt Channel] What's On: New Feature - 3-hr TV Grid List

Jump to solution
"luke823" wrote:
Thanks. I'm the Media Browser project lead. Our server supports streaming Live Tv and there is a lot of demand for a presentation like this within our Roku app.

Send me a PM with your email address and I'll send you my code for the TV listings display. It wasn't really written to be a reusable component; however, you should be able to adapt it to work with your own data.
https://github.com/belltown/
0 Kudos
Danzatranz
Level 7

Re: [Private Channel] What's On: TV & Movie Listings

Jump to solution
This is a great App and service, huge thanks as this is what I envisioned when I planned to cut the cord and move to a OTA/Roku/SlingTv setup. The movie segment is cool but I the power of this app is in the TV guide Favorites segment. As more options are offered for streaming channels this is the only way to consolidate your personal setup. I use 20 OTA channels, 20 SlingTV channels, HBO_OD(slingtv) and FxNow. So I select my local cable provider and personalize my list to cover all 4 sets of channel inputs into one guide.

Would you consider swapping the layout priority to emphasize the TV guide? I think as it being the focus it would bring a log more users into the fold to utilize this App, or allow for customization presentation like the Roku home channel? It could even be preset as Movies first or TV first so its just the choice of 2 layouts.

Thanks for the considerations, and for all the work into this great App.
0 Kudos
belltown
Level 7

Re: [Private Channel] What's On: TV & Movie Listings

Jump to solution
"Danzatranz" wrote:
... Would you consider swapping the layout priority to emphasize the TV guide? I think as it being the focus it would bring a log more users into the fold to utilize this App, or allow for customization presentation like the Roku home channel? It could even be preset as Movies first or TV first so its just the choice of 2 layouts ...

The latest What's On Channel build (2.5/01) now sets the focus on the main menu to the item that was last selected the previous time the channel was used. So if you select the TV listings, for example, then the next time you run the channel the TV listing menu item will have focus, thus avoiding the need to scroll over from the movie listings menu item.
https://github.com/belltown/
0 Kudos
kbd48
Level 7

Re: [Private Channel] What's On: TV & Movie Listings

Jump to solution
Nice.
Thank you!
0 Kudos
ttown253
Level 7

Re: [Private Channel] What's On: TV & Movie Listings

Jump to solution
Belltown,

Great channel! I'm working on a project that could use something exactly like this.

I saw you mentioned you used the Image Canvas component to build the grid.

How did you handle text wrapping and knowing when to put in "..." to truncate a string? If a line does have to be wrapped, are you outputting multiple substrings of the original string at multiple locations or just using some built-in wrapping feature?

I've been playing with using the "GetOneLineWidth" function but it doesn't always work correctly to determine if the line should be truncated.

If you don't mind, I would love to see how you got this work behind-the-scenes.
0 Kudos
belltown
Level 7

Re: [Private Channel] What's On: TV & Movie Listings

Jump to solution
"ttown253" wrote:
Belltown,

Great channel! I'm working on a project that could use something exactly like this.

I saw you mentioned you used the Image Canvas component to build the grid.

How did you handle text wrapping and knowing when to put in "..." to truncate a string? If a line does have to be wrapped, are you outputting multiple substrings of the original string at multiple locations or just using some built-in wrapping feature?

I've been playing with using the "GetOneLineWidth" function but it doesn't always work correctly to determine if the line should be truncated.

If you don't mind, I would love to see how you got this work behind-the-scenes.

I have some example code that I just uploaded to GitHub that includes the code used to implement the TV grid listings. Feel free to use it in your own project.

Here it is: https://github.com/belltown/TVGridExample

Note that the original code is almost 4 years old. If I were to do this today, I'd probably use the 2D API or the EPGGrid Component of the new Scene Graph API to implement the grid.
https://github.com/belltown/
0 Kudos
ttown253
Level 7

Re: [Private Channel] What's On: TV & Movie Listings

Jump to solution
Thank you belltown for your insight into this problem. I did not know about that EPGGrid component. It looks great for implementing a TV listings grid. I had looked at the 2D API as well, but it looked like reinventing the wheel to make a simple grid.
0 Kudos