rshendershot / MythRokuPlayer

mythtv front end for Roku player
tbd
8 stars 2 forks source link

fix for ampersand in video filename #23 #24

Closed rshendershot closed 11 years ago

rshendershot commented 11 years ago

the filename is used to track the position for playback in a variable called contentId. This is stored in the Roku registry. Either the ampersnd is an illegal character there, or some other problem in the UI code, but to maintain compatibility with the production private channel I used PHP crc32 to calculate the contentId from the filename so that only numeric standard characters are ever sent to the Roku. This has the added benefit of reducing our usage of the Roku registry storage. It will cancel existing playback positions though.