My Media - Your Music and Video on the Roku DVP

dellsweig:

You backtrace that ended with “SyntaxError: invalid syntax” was caused by the version of python you downloaded. I’ve been coding to the python2.6 syntax. There are some subtle differences in python3.x. It most cases I can write code that supports both (and I’ll target that in the future) but for maximum compatibility I recommend you run what I run and test on (python 2.6.*)

The backtraces ending in “UnicodeDecodeError: …” are surprising. I don’t think python3 is the issue in this case (but it could be some behavior difference with respect to unicode.) This was the error we were getting before I started converting all paths to utf-8 so we could support special characters. You are running the version with those updates so I don’t expect to see this. Can you uninstall python3 and try python2.6 to see if the problem goes away?

Is anyone else experiencing this on the latest release? I’ve tested it under windows and linux with files that have special characters and didn’t have any trouble but your circumstances could be different.

EDIT: I was just able to reproduce your problem under Python2.6. Stand by

EDIT: The problem is with folders whose names contain special characters. I’m still not handling that properly. Your specific case is unicode \xe9 (e with accent mark) so if you find and change that character in whatever folder(s) have it then the version you have should work for you as is. I’m trying to solve the problem more correctly now but it could take a while.

Installed without a hitch and working flawlessly. Thanks el.wubo.

cheers,

Sam

“el.wubo” wrote:
nrao1:

My first guess is that springboard can’t find the files for the client and server in the usual places. Did you extract the entire zip first and then run springboard? It assumes that all the client code will be in a folder called client and that folder at the same level as another folder called server. The server folder must contain all of the python code.

Try extracting the zip again – make sure you extract everything in it and keep it in the same directory layout it is in the zip – and then run springboard again.

Thanks! User error on my part. I don’t how I did it, but I moved the client folder during extraction. Got it working and it’s great!

Okay, thinking big here. IMO, one of the next goals should be to set this up as a “private channel.” The advantages would be that the installation would not require developer mode (lots more testers), and client updates would automatically be pushed to the Roku.

As I understand it, the only real hurdle to setting up private channel is that the client install would have to be identical for each user. Am I correct that right now, the only difference between the client software on my Roku and the client software on every one else’s Roku is the IP address pointing to my server?

So eventually what is needed to make this channel more widely accessible is one is some way to install the client software without the IP address pre-programmed in. A couple of example (I’m sure there are more solutions):

(1) The client searches the local network for the server; or
(2) The client has an after-install set-up screen that allows the user to punch in the correct IP address of the server;
(3) The client always points to (for example) xxx.xxx.xxx.013 and the PC running the server is always assigned a static IP of xxx.xxx.xxx.013 (not ideal but livable).

Thoughts? How doable would this be?

Now, finally, for real this time:

Non-ascii english character support including accents, ligatures, and anything else that unicode has to offer.

dellsweig, this should solve your Unicode problem. The problem I mentioned as being python3 syntax related will remain until you switch to python2.6.

Many others have reported issues with accent marks in their song names. This should solve your problems too. Let me know if you have any more problems.

“el.wubo” wrote:
dellsweig:

You backtrace that ended with “SyntaxError: invalid syntax” was caused by the version of python you downloaded. I’ve been coding to the python2.6 syntax. There are some subtle differences in python3.x. It most cases I can write code that supports both (and I’ll target that in the future) but for maximum compatibility I recommend you run what I run and test on (python 2.6.*)

The backtraces ending in “UnicodeDecodeError: …” are surprising. I don’t think python3 is the issue in this case (but it could be some behavior difference with respect to unicode.) This was the error we were getting before I started converting all paths to utf-8 so we could support special characters. You are running the version with those updates so I don’t expect to see this. Can you uninstall python3 and try python2.6 to see if the problem goes away?

Is anyone else experiencing this on the latest release? I’ve tested it under windows and linux with files that have special characters and didn’t have any trouble but your circumstances could be different.

EDIT: I was just able to reproduce your problem under Python2.6. Stand by

EDIT: The problem is with folders whose names contain special characters. I’m still not handling that properly. Your specific case is unicode \xe9 (e with accent mark) so if you find and change that character in whatever folder(s) have it then the version you have should work for you as is. I’m trying to solve the problem more correctly now but it could take a while.

I appreciate your help!!!

I have over 40K items in my media drive - locating and changing names is not going to be an option.

Yes - I fell back to 2.6 python and cleaned out all the old installes to get things to this point.

Any other suggestions - other than waiting for the next build - to handle the special characters in my media files?? I looked in the first level directories and all the folders are named ok - it must be buried down inan mp3 name somewhere

“el.wubo” wrote:
Now, finally, for real this time:

Non-ascii english character support including accents, ligatures, and anything else that unicode has to offer.

dellsweig, this should solve your Unicode problem. The problem I mentioned as being python3 syntax related will remain until you switch to python2.6.

Many others have reported issues with accent marks in their song names. This should solve your problems too. Let me know if you have any more problems.

Can you give a link to this build??

The latest build is up (see my previous post) and should solve your problem. Please download and give it a try when you get a chance.

Support for unicode is also in the partition branch if you’d prefer to use that to help handle your big collection. Word of warning though: You won’t be able to see folders that don’t start with an ascii letter between a and z… that’s why it’s in a separate branch. The partitioning algorithm needs some more thought and work before it’s ready for the main branch.

EDIT:

Main Release
http://github.com/netguy204/roku_media_ … ves/master

Partition support beta
http://github.com/netguy204/roku_media_ … /partition

Those two links always point at the latest and greatest versions.

“el.wubo” wrote:
The latest build is up (see my previous post) and should solve your problem. Please download and give it a try when you get a chance.

Support for unicode is also in the partition branch if you’d prefer to use that to help handle your big collection. Word of warning though: You won’t be able to see folders that don’t start with an ascii letter between a and z… that’s why it’s in a separate branch. The partitioning algorithm needs some more thought and work before it’s ready for the main branch.

EDIT:

Main Release
http://github.com/netguy204/roku_media_ … ves/master

Partition support beta
http://github.com/netguy204/roku_media_ … /partition

Those two links always point at the latest and greatest versions.

COOOOOOLLLLL

Downloaded latest main relaeas - came right up - BUT

Got high level folders, navigated down to a WMA albu and clicked the first song - it never started playing…

are WMA supported???

“dellsweig” wrote:

“el.wubo” wrote:
The latest build is up (see my previous post) and should solve your problem. Please download and give it a try when you get a chance.

Support for unicode is also in the partition branch if you’d prefer to use that to help handle your big collection. Word of warning though: You won’t be able to see folders that don’t start with an ascii letter between a and z… that’s why it’s in a separate branch. The partitioning algorithm needs some more thought and work before it’s ready for the main branch.

EDIT:

Main Release
http://github.com/netguy204/roku_media_ … ves/master

Partition support beta
http://github.com/netguy204/roku_media_ … /partition

Those two links always point at the latest and greatest versions.

COOOOOOLLLLL

Downloaded latest main relaeas - came right up - BUT

Got high level folders, navigated down to a WMA albu and clicked the first song - it never started playing…

are WMA supported???

Same thing with mp3 as well - no output

Here is the Roku trace

ype = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 0
loading subitems for 58
GetSongListFromFeed
rss@verion=2.0
got media itemCommercial Releases
got media itemDick’s Picks Volume 20_ Capital Centre, Landover MD 9_25_76 _ O
daga County War Memorial, Syracuse, NY 9_28_76
got media itemFurthur
got media itemLive Dead Shows
got media itemPhil Lesh Live
got media itemThe Closing Of Winterland_ December 31, 1978
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 0
loading subitems for 2
GetSongListFromFeed
rss@verion=2.0
got media item12.8.2009 Hammerstein Ballroom
got media item9.18.2009 Fox Theater
got media item9.19.2009 Fox Theater
got media item9.20.2009 Fox Theater
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 0
loading subitems for 0
GetSongListFromFeed
rss@verion=2.0
got media itemjam →
got media itemTruckin’ →
got media itemjam →
got media itemDire Wolf
got media itemDoin’ That Rag
got media itemRamble On Rose
got media itemRubin and Cherise →
got media itemLooks Like Rain
got media itemCosmic Charlie
got media itemsetbreak announce/crowd
got media itemDrums →
got media itemKing Solomon’s Marbles
got media itemHe’s Gone →
got media itemNew Potato Caboose →
got media itemThe Other One →
got media itemThe Days Between →
got media itemScarlet Begonias →
got media itemFire On The Mountain
got media itemCold Rain And Snow
got media itemencore break/Phil organ donor speech
got media itemTouch Of Grey
got media itemcrowd
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 0
getting playable for http://192.168.1.98:8001/song?name=K%3A … a+Files%5C
teful+Dead%5CFurthur%5C12.8.2009+Hammerstein+Ballroom%5Cfurthur2009-12-08s1t0
br.mp3
Truckin’ →
current base song 1
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 0
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent

Reporting success with the latest version (w/ partitions) access and playing songs with special characters. (Bridgett Bardot is now cooing through my Roku.)

Nice work.

“dellsweig” wrote:

“dellsweig” wrote:

“el.wubo” wrote:
The latest build is up (see my previous post) and should solve your problem. Please download and give it a try when you get a chance.

Support for unicode is also in the partition branch if you’d prefer to use that to help handle your big collection. Word of warning though: You won’t be able to see folders that don’t start with an ascii letter between a and z… that’s why it’s in a separate branch. The partitioning algorithm needs some more thought and work before it’s ready for the main branch.

EDIT:

Main Release
http://github.com/netguy204/roku_media_ … ves/master

Partition support beta
http://github.com/netguy204/roku_media_ … /partition

Those two links always point at the latest and greatest versions.

COOOOOOLLLLL

Downloaded latest main relaeas - came right up - BUT

Got high level folders, navigated down to a WMA albu and clicked the first song - it never started playing…

are WMA supported???

Same thing with mp3 as well - no output

Here is the Roku trace

ype = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 0
loading subitems for 58
GetSongListFromFeed
rss@verion=2.0
got media itemCommercial Releases
got media itemDick’s Picks Volume 20_ Capital Centre, Landover MD 9_25_76 _ O
daga County War Memorial, Syracuse, NY 9_28_76
got media itemFurthur
got media itemLive Dead Shows
got media itemPhil Lesh Live
got media itemThe Closing Of Winterland_ December 31, 1978
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 0
loading subitems for 2
GetSongListFromFeed
rss@verion=2.0
got media item12.8.2009 Hammerstein Ballroom
got media item9.18.2009 Fox Theater
got media item9.19.2009 Fox Theater
got media item9.20.2009 Fox Theater
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 0
loading subitems for 0
GetSongListFromFeed
rss@verion=2.0
got media itemjam →
got media itemTruckin’ →
got media itemjam →
got media itemDire Wolf
got media itemDoin’ That Rag
got media itemRamble On Rose
got media itemRubin and Cherise →
got media itemLooks Like Rain
got media itemCosmic Charlie
got media itemsetbreak announce/crowd
got media itemDrums →
got media itemKing Solomon’s Marbles
got media itemHe’s Gone →
got media itemNew Potato Caboose →
got media itemThe Other One →
got media itemThe Days Between →
got media itemScarlet Begonias →
got media itemFire On The Mountain
got media itemCold Rain And Snow
got media itemencore break/Phil organ donor speech
got media itemTouch Of Grey
got media itemcrowd
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 4
mainloop msg = roPosterScreenEvent
type = 0
getting playable for http://192.168.1.98:8001/song?name=K%3A … a+Files%5C
teful+Dead%5CFurthur%5C12.8.2009+Hammerstein+Ballroom%5Cfurthur2009-12-08s1t0
br.mp3
Truckin’ →
current base song 1
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 0
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent
mainloop msg = roAudioPlayerEvent
type = 11
audio status: startup progress
end roAudioPlayerEvent

If I play this link in my browser it plays fine

http://192.168.1.98:8001/song?name=K%3A … 02_vbr.mp3

dellsweig:

Can you run the server in debug mode and let me know if it prints out anything when you try to play a song from your Roku?

The Roku trace looks fine and normal except it’s missing the “audio status: start of play” it emits when it finally has enough of the song to start the audio. My first guess is that the server is having trouble after it sends part of the song.

“el.wubo” wrote:
dellsweig:

Can you run the server in debug mode and let me know if it prints out anything when you try to play a song from your Roku?

The Roku trace looks fine and normal except it’s missing the “audio status: start of play” it emits when it finally has enough of the song to start the audio. My first guess is that the server is having trouble after it sends part of the song.

I restarted and re-loaded and now WMA’s play ok but my MP3’s like the link above with imbedded stuff in them dont play.

There is no info in the debug server trace

C:\Users\Dan\Desktop\rokudev\netguy204-roku_media_server-20856b7>rem Contributed
by umbighouse

C:\Users\Dan\Desktop\rokudev\netguy204-roku_media_server-20856b7>rem copyright 2
010

C:\Users\Dan\Desktop\rokudev\netguy204-roku_media_server-20856b7>cd server

C:\Users\Dan\Desktop\rokudev\netguy204-roku_media_server-20856b7\server>c:\pytho
n26\python.exe rss_server.py
http://0.0.0.0:8001/

Dont know if it because the mp3’s are a couple directory levels deeper than the WMA’s

“el.wubo” wrote:
dellsweig:

Can you run the server in debug mode and let me know if it prints out anything when you try to play a song from your Roku?

The Roku trace looks fine and normal except it’s missing the “audio status: start of play” it emits when it finally has enough of the song to start the audio. My first guess is that the server is having trouble after it sends part of the song.

Ok - it looks like it wont play anything thats too deep in the directory tree

This wont play

K:\Media Files\Grateful Dead\Commercial Releases\Built to Last

This will play

K:\Media Files\Aaron Neville\The Grand Tour

Can you try copying

Grateful Dead\Commercial Releases\Built to Last

down to a lower level in the directory tree to test this theory?

I tested nesting a song down to 8 levels in the latest release and it played without difficulty but I’ll investigate it further if we can show that this specific album works when it’s at a less nested path.

“el.wubo” wrote:
Can you try copying

Grateful Dead\Commercial Releases\Built to Last

down to a lower level in the directory tree to test this theory?

I tested nesting a song down to 8 levels in the latest release and it played without difficulty but I’ll investigate it further if we can show that this specific album works when it’s at a less nested path.

i am using the standard build - should I be using the nested build??

Standard is fine for this.

By “nesting” I meant enclosing a folder within another folder. I’ll use the word “partition” when talking about the beta version for large collections.

Rephrasing my previous post:

Try copying the folder:

K:\Media Files\Grateful Dead\Commercial Releases\Built to Last

to the folder

K:\Media Files\test

“el.wubo” wrote:
Can you try copying

Grateful Dead\Commercial Releases\Built to Last

down to a lower level in the directory tree to test this theory?

I tested nesting a song down to 8 levels in the latest release and it played without difficulty but I’ll investigate it further if we can show that this specific album works when it’s at a less nested path.

Copied the “Built to Last” into the same folder as the Arron Nevel where albums played - guess what - it played fine.

Seems like the nesting is the trick

Copied the “Built to Last” into the same folder as the Arron Nevel where albums played - guess what - it played fine.

I’m stumped. I’ll have to think on this and get back to you. Maybe I can put together a special debug build for you that will give us more clues since I can’t reproduce the problem here. I’ll let you know when I have something new for you to try out.