Sign up here and you can log into the forum!

*Updated 4/27/12* Plugin: VideoScreensaver

The WDTVExt plugin depot. Plugins/libraries/code only

Re: *Updated 4/27/12* Plugin: VideoScreensaver   

Postby leetwanker » Thu Nov 21, 2013 12:46 am

Issue [SOLVED]:

Turns out it had nothing to do with libraries.

All the files in the zip have End Of Line (EOL) markers at the end of each line and it was interfering with the operation of the files. (This was with versions 1.3 & 1.4. I'd expect v1.5 soon.)

What should have been:
#!/usr/bin/bash
was actually
#!/usr/bin/bash^M

To remove these with Notepad++ do the following:

Open the file in Notepad++

[Edit > EOL Conversion > Old Mac Format] to remove all the End Of Line characters. Save file.

Then: [Edit > EOL Conversion > UNIX/OSX Format] Saved the file again.

All the ^M's should be gone. Open the file with vi to confirm that they're clean.

VideoScreensaver is working perfectly now. Thanks so much for all the time you've spent with me on these couple of issues!
1.02.21_V.WDLXTV_LIVE-0.5.2.0
leetwanker
DLX'er
 
Posts: 101
Joined: Sat Dec 08, 2012 7:52 am

Re: *Updated 4/27/12* Plugin: VideoScreensaver   

Postby KAD » Thu Nov 21, 2013 8:15 am

it must be something on your end

took a quick look
using nano directly on WD
line breaks are correct

then I donwloaded 1.4 just to double check
unzipped
ftp to WD
used nano to check line breaks
line breaks are correct
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: *Updated 4/27/12* Plugin: VideoScreensaver   

Postby leetwanker » Thu Nov 21, 2013 11:32 am

KAD wrote:it must be something on your end

took a quick look
using nano directly on WD
line breaks are correct

then I donwloaded 1.4 just to double check
unzipped
ftp to WD
used nano to check line breaks
line breaks are correct


Try using vi. See if they're there. I unzipped the archive with 7zip and sent it directly to the thumbdrive over the network and opened them in vi.

edit: Yeah, I just checked and nano doesn't display the EOL characters.
1.02.21_V.WDLXTV_LIVE-0.5.2.0
leetwanker
DLX'er
 
Posts: 101
Joined: Sat Dec 08, 2012 7:52 am

Re: *Updated 4/27/12* Plugin: VideoScreensaver   

Postby recliq » Thu Nov 21, 2013 11:43 am

­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: *Updated 4/27/12* Plugin: VideoScreensaver   

Postby leetwanker » Thu Nov 21, 2013 11:49 am



Yeah. dos2unix would've worked too. I didn't bother to check it being I already had everything open in Noptepad++.
1.02.21_V.WDLXTV_LIVE-0.5.2.0
leetwanker
DLX'er
 
Posts: 101
Joined: Sat Dec 08, 2012 7:52 am

Re: *Updated 4/27/12* Plugin: VideoScreensaver   

Postby KAD » Thu Nov 21, 2013 12:35 pm

I'm willing to check it again tonight with vi or other

but I get no errors on my end, scripts run just fine
no dos2unix or other edits needed
if the line endings were ^M on my end as well, the scripts would not run
I would have seen a lot of the same errors as you've posted

but regardless I'll check, and then thanks again to recliq, he's setting up some svn access, so this can be uploaded WD -> SVN -> to WD

I'm sure it might take a couple of days though, noticed a few reports of svn dns errors today
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: *Updated 4/27/12* Plugin: VideoScreensaver   

Postby leetwanker » Thu Nov 21, 2013 12:39 pm

KAD wrote:I'm willing to check it again tonight with vi or other

but I get no errors on my end, scripts run just fine
no dos2unix or other edits needed
if the line endings were ^M on my end as well, the scripts would not run
I would have seen a lot of the same errors as you've posted

but regardless I'll check, and then thanks again to recliq, he's setting up some svn access, so this can be uploaded WD -> SVN -> to WD

I'm sure it might take a couple of days though, noticed a few reports of svn dns errors today


Yeah I don't really get it either. Pretty weird. I'm very happy with your creation here though. I've put together a few HD videos and stripped the audio from them for people who like a quiet screensaver. I'm creating a torrent now to share with the community here. Hopefully some people use it.
1.02.21_V.WDLXTV_LIVE-0.5.2.0
leetwanker
DLX'er
 
Posts: 101
Joined: Sat Dec 08, 2012 7:52 am

Re: *Updated 4/27/12* Plugin: VideoScreensaver   

Postby leetwanker » Thu Nov 21, 2013 1:01 pm

VideoScreensaver HD Video Collection:

VideoScreensaver HD Videos [NO AUDIO] [HD 720p] [HD1080p]

http://thepiratebay.sx/torrent/9231168

Videos Included:
earth.from.above.1080.mp4
wonderful.planet.earth.1080.mp4
Angel.Falls.1080p.mp4
Amazing.Insects.1080p.mp4
Amazing.Migrations.1080p.mp4
amazing.nature.scenery.1080.mp4
coolest.nature.video.720p.mp4
DigiFish.Aqua.Real.2.1080p.mp4
Earth.in.HD.1080p.mp4
Entering.The.Stronghold.720p.mp4
earth.from.space.720.mp4
Planet.Earth.Compilation.1080p.mp4
The.Invisible.World.720p.mp4
planet.earth.1080.mp4


Some really great visuals included! Check them out if you use a video screensaver on your WDTV!
1.02.21_V.WDLXTV_LIVE-0.5.2.0
leetwanker
DLX'er
 
Posts: 101
Joined: Sat Dec 08, 2012 7:52 am

Re: *Updated 4/27/12* Plugin: VideoScreensaver   

Postby leetwanker » Thu Nov 21, 2013 9:43 pm

Something I installed turned off the screensaver so this stopped working. If it happens to anyone else here's the fix:

Turn screensaver on:
Code: Select all
config_tool -c DMA_ENABLE_SCREENSAVER=1



If your config looks like this the screensaver is turned off:
Code: Select all
DMA_ENABLE_SCREENSAVER='0'



Bonus: Change Screensaver delay:
Code: Select all
config_tool -c DMA_ENABLE_SCREENSAVER=5

5 is the number of minutes to delay. Adjust to suit your preferences. Minimum is 1
1.02.21_V.WDLXTV_LIVE-0.5.2.0
leetwanker
DLX'er
 
Posts: 101
Joined: Sat Dec 08, 2012 7:52 am

Re: *Updated 4/27/12* Plugin: VideoScreensaver   

Postby KAD » Mon Nov 25, 2013 8:27 pm

plugin uploaded to svn

and is now downloadable on 1.02.21 or 1.05.04-dev via WDTVext menu on screen
config should still be done on webend via WEC

on a side note
I wonder if any body has seen this error
Code: Select all
# svn mkdir https://svn.wdlxtv.com/svn/wdtvext-plugins/VideoScreensaver --username=KAD --password=xxxxxxx
svn: error while loading shared libraries: libserf-0.so.0: cannot open shared object file: No such file or directory


recliq had not seen this error, svn doesn't seem to be working for me directly on WD
but works just fine from ubuntu desktop
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

PreviousNext

Return to WDTVExt plugins

Who is online

Users browsing this forum: No registered users and 1 guest