Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
umbighouse
Visitor

Re: My Music-Stream your local media collection to your Roku DVP

So following this theory, try another .mp3 file in that same path and see if it plays...
0 Kudos
renojim
Community Streaming Expert

Side poster art

el.wubo,

I'm trying to figure out how all of this stuff works so I can contribute. As a first little test that I can change something and update the client properly, I changed the "screen.SetListStyle" from flat-episodic to flat-category and the side poster art now displays.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
renojim
Community Streaming Expert

Re: My Music-Stream your local media collection to your Roku DVP

"umbighouse" wrote:
So following this theory, try another .mp3 file in that same path and see if it plays...


Yep, I have two mp3's in there now and they both play.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
umbighouse
Visitor

Re: My Music-Stream your local media collection to your Roku DVP

Sorry renojim, i meant dellsweig should test that...
0 Kudos
renojim
Community Streaming Expert

Re: My Music-Stream your local media collection to your Roku DVP

Oops! Sorry!

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
brunson
Visitor

Re:

"scrager" wrote:
A shuffle feature will require either
A) Server reads multiple directories to get a list of all files, randomizes them, sends list to roku.
B) database that maintains list of all files that can be queried and return a random order list.

A will cause a heavy load on the server and will not scale well at all.
B will be more complex and require more setup and some way to maintain the database. B would probably not be suitable for mass distribution in the way that this simple channel is.

For those looking for a search feature, you'll have the same sort of complexities. There is no central list of media to search on, so search will either require a database (complex) or require a lot of local reads (not scalable).

B) Shouldn't be that difficult.

If you use something like sqlite you get around any sort of complicated setup for a "real" RDBMS. Maintaining the database would be a matter of scanning the collection on startup (small downside for a large collection, but it could be done in a background thread), then monitoring for filesystem changes while the server is running (inotify in Linux, FSEvents API in OSX, I will assume Windows has something similar, but I don't care about Windows).
0 Kudos
el_wubo
Visitor

Re: My Music-Stream your local media collection to your Roku DVP

hebertj0194:

hammerpocket was successful getting this working on OS X. His notes are in this thread.

renojim:

Excellent! So good to have others interested in adding code. I'm a bit overwhelmed by the success and feature requests (to be perfectly honest) so a little load balancing is definitely welcome.

brunson:

Getting on the inotify bus and all the equivalents on other OS's is definitely the right answer for keeping any caching scheme consistent. Want to write the code for linux and/or OSX? I'd welcome the contribution. Python has a great FFI if you need to call out to any native libs.

All:

It's really cool that everyone seems eager to help other out with troubleshooting and debugging. As a developer I must also say that your bug reports are of very high quality -- which helps me and other developers and troubleshooters out a lot. I'm very thankful for the quality community that has developed here.
0 Kudos
dellsweig
Visitor

Re: My Music-Stream your local media collection to your Roku DVP

"el.wubo" wrote:
hebertj0194:

hammerpocket was successful getting this working on OS X. His notes are in this thread.

renojim:

Excellent! So good to have others interested in adding code. I'm a bit overwhelmed by the success and feature requests (to be perfectly honest) so a little load balancing is definitely welcome.

brunson:

Getting on the inotify bus and all the equivalents on other OS's is definitely the right answer for keeping any caching scheme consistent. Want to write the code for linux and/or OSX? I'd welcome the contribution. Python has a great FFI if you need to call out to any native libs.

All:

It's really cool that everyone seems eager to help other out with troubleshooting and debugging. As a developer I must also say that your bug reports are of very high quality -- which helps me and other developers and troubleshooters out a lot. I'm very thankful for the quality community that has developed here.



Ok an update..

I downloaded the partition version, cleaned out the Roku and cleaned any old python stuff. Loaded the client and started the server.

I can navigate and play folders I could not play before - deeper in the nest. BUT now I cannot navigate into folders that have dates as the folder names - they dont even display.

Here is what the directory that will not display looks like, followed by the next level down - different file name formats

K:\Media Files\Grateful Dead>cd Live Dead*

K:\Media Files\Grateful Dead\Live Dead Shows>dir
Volume in drive K is media
Volume Serial Number is 953A-91E7

Directory of K:\Media Files\Grateful Dead\Live Dead Shows

04/13/2009 01:53 PM <DIR> .
04/13/2009 01:53 PM <DIR> ..
02/02/2009 02:53 PM <DIR> 1966
02/02/2009 01:23 PM <DIR> 1967
03/15/2009 06:22 PM <DIR> 1968
09/01/2009 11:49 AM <DIR> 1969
01/17/2010 10:29 AM <DIR> 1970
02/02/2009 02:16 PM <DIR> 1971
11/09/2009 09:10 PM <DIR> 1972
02/25/2009 11:28 AM <DIR> 1973
11/03/2009 07:16 PM <DIR> 1974
03/13/2009 11:03 AM <DIR> 1975
02/08/2009 09:34 AM <DIR> 1976
02/11/2009 02:09 PM <DIR> 1977
01/17/2010 11:09 AM <DIR> 1978
06/24/2009 07:36 AM <DIR> 1979
03/18/2009 09:40 AM <DIR> 1980
04/22/2009 11:50 AM <DIR> 1981
03/23/2009 07:10 AM <DIR> 1982
04/26/2009 07:52 AM <DIR> 1983
04/03/2009 02:26 PM <DIR> 1984
03/07/2009 02:07 PM <DIR> 1985
04/08/2009 01:06 PM <DIR> 1986
02/03/2009 06:41 PM <DIR> 1987
03/15/2009 05:40 PM <DIR> 1988
11/21/2009 08:01 AM <DIR> 1989
05/27/2009 02:59 PM <DIR> 1990
02/02/2009 02:11 PM <DIR> 1991
03/04/2009 01:44 PM <DIR> 1992
02/02/2009 02:12 PM <DIR> 1993
02/02/2009 02:12 PM <DIR> 1994
02/02/2009 01:08 PM <DIR> 1995
02/02/2009 02:53 PM <DIR> 2008
05/19/2009 08:02 PM <DIR> 2009
0 File(s) 0 bytes
34 Dir(s) 186,014,388,224 bytes free

K:\Media Files\Grateful Dead\Live Dead Shows>




K:\Media Files\Grateful Dead\Live Dead Shows>cd 1972

K:\Media Files\Grateful Dead\Live Dead Shows\1972>dir
Volume in drive K is media
Volume Serial Number is 953A-91E7

Directory of K:\Media Files\Grateful Dead\Live Dead Shows\1972

11/09/2009 09:10 PM <DIR> .
11/09/2009 09:10 PM <DIR> ..
11/01/2009 07:12 PM <DIR> 5.16.73 Luxembourg
11/02/2009 06:39 PM <DIR> 9.26.72 Stanley Theater
11/09/2009 09:11 PM <DIR> 9.28.72 Stanley Theater
11/02/2009 07:22 PM <DIR> 9.30.72 American University
11/13/2008 07:21 PM <DIR> Grateful Dead Live Academy of Music 3.21
72
11/13/2008 07:23 PM <DIR> Grateful Dead Live Amsterdam Concertgebo
w 5.10.72
11/13/2008 07:24 PM <DIR> Grateful Dead Live Austin Tx 11.22.72
11/13/2008 07:25 PM <DIR> Grateful Dead Live Berkeley 8.21.72
11/13/2008 07:25 PM <DIR> Grateful Dead Live Berkeley Community Th
r 8.22.72
12/25/2008 09:20 AM <DIR> Grateful Dead Live Berkeley Community Th
r 8.25.72
11/13/2008 07:33 PM <DIR> Grateful Dead Live Denmark Copenhagen 4.
4.72
11/13/2008 07:42 PM <DIR> Grateful Dead Live Hollywood Palladium 9
10.72
11/13/2008 07:45 PM <DIR> Grateful Dead Live Lille Fiargrounds Fra
ce 5.13.72
12/29/2008 12:21 PM <DIR> Grateful Dead Live Music Hall 10.26.72
11/13/2008 07:58 PM <DIR> Grateful Dead Live Paramount Thtr 7.26.7

11/13/2008 07:58 PM <DIR> Grateful Dead Live Paris France 5.3.72
11/13/2008 07:58 PM <DIR> Grateful Dead Live Paris France 5.4.72
11/13/2008 08:03 PM <DIR> Grateful Dead Live Roosevelt Stadium 7.1
.72
11/13/2008 08:04 PM <DIR> Grateful Dead Live Rotterdam Civic Hall
.11.72
11/13/2008 08:11 PM <DIR> Grateful Dead Live Strand Lyceum 5.25.72
03/15/2009 05:36 PM <DIR> Grateful Dead Live Ventura Or 8.27.72
01/02/2009 08:39 PM <DIR> Grateful Dead Live Winterland 1.2.72
01/09/2009 05:12 PM <DIR> Grateful Dead Live Winterland 12.31.72
0 File(s) 0 bytes
25 Dir(s) 186,014,388,224 bytes free

K:\Media Files\Grateful Dead\Live Dead Shows\1972>
Going where the wind don't blow so strange
0 Kudos
el_wubo
Visitor

Re: My Music-Stream your local media collection to your Roku DVP

Dellsweig:

The problem with folders starting with numbers is a known bug in the partition version. Folders starting with special characters or numbers will not be displayed by the partition version. Once this bug is fixed the partition code will be merged into the main version and that separate version will go away entirely.
0 Kudos
dellsweig
Visitor

Re: My Music-Stream your local media collection to your Roku DVP

"el.wubo" wrote:
Dellsweig:

The problem with folders starting with numbers is a known bug in the partition version. Folders starting with special characters or numbers will not be displayed by the partition version. Once this bug is fixed the partition code will be merged into the main version and that separate version will go away entirely.


Any ETA on this??
Going where the wind don't blow so strange
0 Kudos