Home of the Squeezebox™ & Transporter® network music players.
Page 8 of 12 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 120
  1. #71
    Senior Member
    Join Date
    Jun 2007
    Location
    England
    Posts
    382
    I have now tried with my real server but on the local netowork rather than connecting remotely.

    The first issue is that I can enter a username but once I have finished entering the password nothing happens - a bit like when I was entering the IP address for the remote server.

    After removing password protection from my real server I was able to connect and this time I still had the "Choose Player" menu item - my real server is v7.4 rather than v.7.5 so this may be the reason.

    Unfortunately, although I can see the list of all the players I own it does not include my WM SqueezePlay even though I have enabled beta audio playback. I'll continue to play with it though.

  2. #72
    Senior Member lrossouw's Avatar
    Join Date
    Jan 2006
    Location
    Cape Town, South Africa
    Posts
    974
    SqueezePlay on the PC does not support password protected servers. I assume the same problem carries over to the compiled version for WM.

    Vote for this bug:https://bugs.slimdevices.com/show_bug.cgi?id=14477
    Louis
    Last.fm

  3. #73
    Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    30
    Hi,

    thats exactly the Problem I've got. I tried to connect to my local running SqueezeboxServer 7.4 and got all the Players running. The WM Squeeze isn't in the list. I choose a Player and got the Screen which tolds me all is ready now to browse my libary and then nothing happen. I tried all Hardware Keys for short and long press but nothing.

    I played yesterday evening a little bit with it and got another issue. If the sceensaver is active and i press the "Enter" hardware Button i've got the Playlist. If i run things on the Visual Studio Emulator i've got the same function on the right Hardware Key. So perhaps the Button mapping doesn't function well?

    The issue with the "assistend finish" screen appears also in the emulator.

    Greets Phil

  4. #74
    Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    30
    Hi

    i checkedout an older Rev(8175) cause its from the date you had written it worked. But same Problem with this Rev. So i tried the 8202 from today morning. Same Problem. Here is the Debug Log from Visual Studio until the Point where the issue appears. Allways i press the finish Button i've got the same Message
    Code:
    1260383388.000 INFO   squeezeplay.applets - :709 store settings: SetupWelcome
    P (\Storage Card\run8202\lua\jive\AppletManager.lua:711: remove old file: The operation completed successfully.
    And here the full Log:
    Code:
    1260383246.000 INFO   squeezeplay.ui.draw - jiveL_initSDL:180 240,320 16 bits/pixel 2 bytes/pixel [R<<11 G<<5 B<<0]
    1260383246.000 INFO   squeezeplay.ui.draw - jiveL_initSDL:181 Hardware acceleration is not available
    1260383247.000 INFO   squeezeplay.applets - :91 User Path: \temp\SqueezePlay/userpath
    1260383257.000 INFO   squeezeplay.applets - :317 Registering: DesktopJive
    1260383257.000 INFO   squeezeplay.applets - :709 store settings: DesktopJive
    P (\Storage Card\run8202\lua\jive\AppletManager.lua:711: remove old file: The operation completed successfully.
    
    )
    1260383257.000 INFO   squeezeplay.applets - :317 Registering: SetupSoundEffects
    1260383258.000 INFO   squeezeplay.applets - :317 Registering: Shortcuts
    1260383258.000 INFO   squeezeplay.applets - :317 Registering: AboutJive
    1260383258.000 INFO   squeezeplay.applets - :317 Registering: AlarmSnooze
    1260383258.000 INFO   squeezeplay.applets - :317 Registering: BlankScreen
    1260383258.000 INFO   squeezeplay.applets - :317 Registering: Bounce
    1260383259.000 INFO   squeezeplay.applets - :317 Registering: ChooseMusicSource
    1260383260.000 INFO   squeezeplay.applets - :317 Registering: Clock
    1260383260.000 INFO   squeezeplay.applets - :317 Registering: CustomizeHomeMenu
    1260383260.000 INFO   squeezeplay.applets - :317 Registering: DebugSkin
    1260383260.000 INFO   squeezeplay.applets - :317 Registering: DebugTouch
    1260383260.000 INFO   squeezeplay.applets - :317 Registering: Experiments
    1260383260.000 INFO   squeezeplay.applets - :317 Registering: FullscreenSkin
    1260383261.000 INFO   squeezeplay.applets - :317 Registering: HttpAuth
    1260383263.000 INFO   squeezeplay.applets - :317 Registering: ImageViewer
    1260383263.000 INFO   squeezeplay.applets - :317 Registering: InfoBrowser
    1260383263.000 INFO   squeezeplay.applets - :317 Registering: Invaders
    1260383263.000 INFO   squeezeplay.applets - :317 Registering: LogSettings
    1260383263.000 INFO   squeezeplay.applets - :317 Registering: MacroPlay
    1260383264.000 INFO   squeezeplay.applets - :317 Registering: NowPlaying
    1260383264.000 INFO   squeezeplay.applets - :317 Registering: Playback
    1260383264.000 INFO   squeezeplay.applets - :317 Registering: QVGAbaseSkin
    1260383264.000 INFO   squeezeplay.applets - :317 Registering: QVGAlandscapeSkin
    1260383265.000 INFO   squeezeplay.applets - :317 Registering: QVGAportraitSkin
    1260383265.000 INFO   squeezeplay.applets - :317 Registering: Quit
    1260383266.000 INFO   squeezeplay.applets - :317 Registering: ScreenSavers
    1260383266.000 INFO   squeezeplay.applets - :317 Registering: Screenshot
    1260383266.000 INFO   squeezeplay.applets - :317 Registering: SelectPlayer
    '
    	no file '\Storage Card\run8202\sqjive.dll'
    	no file '\Storage Card\run8202\../share/jive\sqjive.dll')
    '
    	no file '\Storage Card\run8202\sqjive.dll'
    	no file '\Storage Card\run8202\../share/jive\sqjive.dll')
    1260383267.000 INFO   squeezeplay.applets - :317 Registering: SelectSkin
    1260383268.000 INFO   squeezeplay.applets - :317 Registering: SetupAppletInstaller
    1260383268.000 INFO   squeezeplay.applets - :317 Registering: SetupDateTime
    1260383268.000 INFO   squeezeplay.applets - :317 Registering: SetupLanguage
    1260383269.000 INFO   squeezeplay.applets - :317 Registering: SetupNetTest
    1260383270.000 INFO   squeezeplay.applets - :317 Registering: SetupSqueezebox
    1260383270.000 INFO   squeezeplay.applets - :317 Registering: SetupWallpaper
    1260383270.000 INFO   squeezeplay.applets - :317 Registering: SetupWelcome
    1260383271.000 INFO   squeezeplay.applets - :317 Registering: SlimBrowser
    1260383275.000 INFO   squeezeplay.applets - :317 Registering: SlimDiscovery
    1260383276.000 INFO   squeezeplay.applets - :317 Registering: SlimMenus
    '
    	no file '\Storage Card\run8202\sqjive.dll'
    	no file '\Storage Card\run8202\../share/jive\sqjive.dll')
    1260383277.000 INFO   squeezeplay.applets - :317 Registering: Snake
    1260383277.000 INFO   squeezeplay.applets - :317 Registering: SqueezeNetworkPIN
    1260383277.000 INFO   squeezeplay.applets - :317 Registering: Test
    1260383277.000 INFO   squeezeplay.applets - :317 Registering: TestSpectrumMeter
    1260383277.000 INFO   squeezeplay.applets - :317 Registering: TestTones
    1260383277.000 INFO   squeezeplay.applets - :317 Registering: TestVUMeter
    1260383277.000 INFO   squeezeplay.applets - :317 Registering: TestVUMeterAnalog
    1260383277.000 INFO   squeezeplay.applets - :317 Registering: UdapControl
    1260383278.000 INFO   squeezeplay.applets - :317 Registering: WQVGAlargeSkin
    1260383278.000 INFO   squeezeplay.applets - :317 Registering: WQVGAsmallSkin
    1260383278.000 INFO   squeezeplay.applets - :317 Registering: Demo
    '
    	no file '\Storage Card\run8202\sqjive.dll'
    	no file '\Storage Card\run8202\../share/jive\sqjive.dll')
    1260383281.000 INFO   squeezeplay - :605 select skin: QVGAportraitSkin
    Prefetch Abort: Thread=9ebb8d64 Proc=80096e50 'squeezeplay.exe'
    AKY=00002001 PC=00000000(???+0x00000000) RA=0007a2c4(squeezeplay.exe+0x0006a2c4) BVA=00000000 FSR=00000407
    Video properties:
    display bpp: 16
    display width: 240
    display height: 320
    x pitch: 2
    y pitch: 480
    gapi flags: 0xa0
    video memory: 0x57100000
    need update: 1
    hi-res fix: 0
    VGA is available on the device: 1
    use raw framebuffer: 0
    video surface bpp: 16
    video surface width: 240
    video surface height: 320
    1260383292.000 INFO   applet.SetupLanguage - SetupLanguageApplet.lua:65 locale currently is EN
    1260383293.000 INFO   squeezebox.server - :691 connected w1it56m
    1260383300.000 INFO   applet.SetupLanguage - SetupLanguageApplet.lua:195 Locale choice set to DE
    1260383315.000 INFO   squeezeplay.applets - :709 store settings: SetupLanguage
    P (\Storage Card\run8202\lua\jive\AppletManager.lua:711: remove old file: The operation completed successfully.
    
    )
    1260383321.000 INFO   applet.SelectPlayer - SelectPlayerApplet.lua:248 select player item: Player {Work}
    1260383321.000 INFO   applet.SlimDiscovery - SlimDiscoveryApplet.lua:623 selected Work
    1260383321.000 INFO   squeezeplay.applets - :709 store settings: SlimDiscovery
    P (\Storage Card\run8202\lua\jive\AppletManager.lua:711: remove old file: The operation completed successfully.
    
    )
    1260383327.000 INFO   applet.SelectPlayer - SelectPlayerApplet.lua:248 select player item: Player {Work}
    1260383327.000 INFO   applet.SlimDiscovery - SlimDiscoveryApplet.lua:623 selected Work
    1260383327.000 INFO   applet.SlimMenus - SlimMenusApplet.lua:1028 SlimMenusApplet:notify_playerCurrent(Player {Work})
    1260383327.000 INFO   applet.SlimMenus - SlimMenusApplet.lua:1090 No server, Fetching initial server, SlimServer {w1it56m}
    1260383327.000 INFO   applet.SlimMenus - SlimMenusApplet.lua:1105 player changed from:false to Player {Work} for server: SlimServer {w1it56m} from server: SlimServer {w1it56m}
    1260383327.000 INFO   applet.SlimMenus - SlimMenusApplet.lua:1113 
    Subscribing to /slim/menustatus/
    00:00:00:00:00:01
    1260383327.000 INFO   applet.SelectPlayer - SelectPlayerApplet.lua:250 going to setupnext: : function: 00ED0B70
    1260383328.000 INFO   applet.SlimMenus - SlimMenusApplet.lua:420 _menuSink(46) SlimServer {w1it56m} menuDirective: nil isCurrentServer:true
    1260383328.000 INFO   applet.SlimMenus - SlimMenusApplet.lua:535 Eliminated myMusic node from server, since now handled locally
    1260383329.000 INFO   applet.SlimMenus - SlimMenusApplet.lua:692 hiding any 'connecting to server' popup after menu response from current server, SlimServer {w1it56m}
    1260383330.000 INFO   applet.ChooseMusicSource - ChooseMusicSourceApplet.lua:540 Hiding popup, exists?: nil
    1260383334.000 INFO   squeezeplay.applets - :709 store settings: SetupWelcome
    P (\Storage Card\run8202\lua\jive\AppletManager.lua:711: remove old file: The operation completed successfully.
    
    )
    1260383335.000 INFO   squeezeplay.applets - :709 store settings: SetupWelcome
    P (\Storage Card\run8202\lua\jive\AppletManager.lua:711: remove old file: The operation completed successfully.
    
    )
    1260383338.000 INFO   squeezeplay.applets - :709 store settings: SetupWelcome
    P (\Storage Card\run8202\lua\jive\AppletManager.lua:711: remove old file: The operation completed successfully.
    
    )
    1260383345.000 INFO   squeezeplay.applets - :709 store settings: SetupWelcome
    P (\Storage Card\run8202\lua\jive\AppletManager.lua:711: remove old file: The operation completed successfully.
    
    )
    1260383388.000 INFO   squeezeplay.applets - :709 store settings: SetupWelcome
    P (\Storage Card\run8202\lua\jive\AppletManager.lua:711: remove old file: The operation completed successfully.
    
    )
    1260383390.000 INFO   squeezeplay.applets - :709 store settings: SetupWelcome
    P (\Storage Card\run8202\lua\jive\AppletManager.lua:711: remove old file: The operation completed successfully.
    
    )
    1260383391.000 WARN   net.thread - :146 network thread timeout for Task(SocketHttp {w1it56m_Request}(R))
    1260383442.000 WARN   net.thread - :146 network thread timeout for Task(SocketHttpQueue {w1it56m2}(R))

  5. #75
    Quote Originally Posted by Philro View Post
    Hi

    i checkedout an older Rev(8175) cause its from the date you had written it worked. But same Problem with this Rev. So i tried the 8202 from today morning. Same Problem. Here is the Debug Log from Visual Studio until the Point where the issue appears. Allways i press the finish Button i've got the same Message
    This was new code for 7.5 that I simply rewrote without testing (I still
    used my old config files from the last version, so I never went through the
    setup). You might try to step through the method below(this is from squeezeplay/src/system.c), to see what is wrong. It could be, that just the return code of remove is wrong, or it might be incorrectly implemented in some other way.

    Rudolf
    Code:
    /*
     * 
     */
    static int system_atomic_write(lua_State *L)
    {
    	const char *fname, *fdata;
    	char *tname;
    	size_t n, len;
    	FILE *fp;
    #if HAVE_FSYNC && !defined(FSYNC_WORKAROUND_ENABLED)
    	DIR *dp;
    #endif
    	fname = lua_tostring(L, 2);
    	fdata = lua_tolstring(L, 3, &len);
    
    	tname = alloca(strlen(fname) + 5);
    	strcpy(tname, fname);
    	strcat(tname, ".new");
    	
    	if (!(fp = fopen(tname, "w"))) {
    		return luaL_error(L, "fopen: %s", strerror(errno));
    	}
    
    	n = 0;
    	while (n < len) {
    		n += fwrite(fdata + n, 1, len - n, fp);
    
    		if (ferror(fp)) {
    			fclose(fp);
    			return luaL_error(L, "fwrite: %s", strerror(errno));
    		}
    	}
    
    	if (fflush(fp) != 0) {
    		fclose(fp);
    		return luaL_error(L, "fflush: %s", strerror(errno));
    	}
    #if HAVE_FSYNC && !defined(FSYNC_WORKAROUND_ENABLED)
    	if (fsync(fileno(fp)) != 0) {
    		fclose(fp);
    		return luaL_error(L, "fsync: %s", strerror(errno));
    	}
    #endif
    	if (fclose(fp) != 0) {
    		return luaL_error(L, "fclose: %s", strerror(errno));
    	}
    
    #if defined(WIN32)
    	/* windows systems must delete old file first */
    #ifndef _WIN32_WCE
    	if (_access_s(fname, 0) == 0)
    #else 
    	if (wceex_access(fname, 0) == 0)
    #endif	
    	{
    ***************** HERE
    		if (remove(fname) != 0) {
    			return luaL_error(L, "remove old file: %s", strerror(errno));
    		}
    	}
    #endif
    	if (rename(tname, fname) != 0) {
    		return luaL_error(L, "rename: %s", strerror(errno));
    	}
    
    #ifdef FSYNC_WORKAROUND_ENABLED
    	/* sync filesystem if fsync is broken */
    	sync();
    #elif HAVE_FSYNC
    	if (!(dp = opendir(dirname(tname)))) {
    		return luaL_error(L, "opendir: %s", strerror(errno));
    	}
    	
    	if (fsync(dirfd(dp)) != 0) {
    		closedir(dp);
    		return luaL_error(L, "fsync: %s", strerror(errno));
    	}
    
    	if (closedir(dp) != 0) {
    		return luaL_error(L, "closedir: %s", strerror(errno));
    	}
    #endif
    
    	return 0;
    }
    Last edited by rudolf_j; 2009-12-09 at 11:15.

  6. #76
    Quote Originally Posted by Philro View Post
    Hi,

    thats exactly the Problem I've got. I tried to connect to my local running SqueezeboxServer 7.4 and got all the Players running. The WM Squeeze isn't in the list. I choose a Player and got the Screen which tolds me all is ready now to browse my libary and then nothing happen. I tried all Hardware Keys for short and long press but nothing.

    I played yesterday evening a little bit with it and got another issue. If the sceensaver is active and i press the "Enter" hardware Button i've got the Playlist. If i run things on the Visual Studio Emulator i've got the same function on the right Hardware Key. So perhaps the Button mapping doesn't function well?
    The mappings are definitely wrong, I worked mostly on my Touch HD, which has no hardware keys. You might have to look in SDL_dibevents.c, I tried to debug key events once on the emulator, but did not understand the translation.

    Rudolf
    Last edited by rudolf_j; 2009-12-09 at 11:15.

  7. #77
    Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    30
    Quote Originally Posted by rudolf_j View Post
    The mappings are definitely wrong, I worked mostly on my Touch HD, which has no hardware keys. You might have to look in SDL_dibevents.c, I tried to debug key events once on the emulator, but did not understand the translation.

    Lyf

    i will have a look on it tomorrow. In the Emulator the hardware buttons work as they should but not on my Ipaq.

    Any Ideas on the Problem with the finish screen? Or did you mean is that one and the same Problem?

  8. #78
    Quote Originally Posted by Philro View Post
    Any Ideas on the Problem with the finish screen? Or did you mean is that one and the same Problem?
    I answered that two posts above. Probably a problem in atomic_write. I tried running setup, after deleting the old config files, but the only option I was offered was to setup receiver, weird.
    Regards,
    Rudolf

  9. #79
    Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    30
    Hi

    Sorry, i've overseen your first post. I've got a eye on this and found the Problem.
    Code:
    if (remove(fname) != 0) {
    			return luaL_error(L, "remove old file: %s", strerror(errno));
    		}
    It tries to remove a file that doesn't exist and get an error. i commented this out and now it runs fine

    What Skin do you use? My Device got a Resolution of 240x320 so the QVGAPortrait Skin fits best but i don't have any Controll Buttons. An i don't cant type for example in the search fields. So it would be the best Solution to customize the QVGA_SMALL_Skin. Any other ideas?

    Greets Phil

  10. #80
    Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    30
    Hi,

    to comment this out does solve the Problem but generates a new one. You can't save settings any more. So i rewrite the function to this:
    Code:
    /*
     * 
     */
    static int system_atomic_write(lua_State *L)
    {
    	const char *fname, *fdata;
    	char *tname;
    	size_t n, len;
    	FILE *fp;
    #if HAVE_FSYNC && !defined(FSYNC_WORKAROUND_ENABLED)
    	DIR *dp;
    #endif
    	fname = lua_tostring(L, 2);
    	fdata = lua_tolstring(L, 3, &len);
    
    	tname = alloca(strlen(fname) + 5);
    	strcpy(tname, fname);
    	strcat(tname, ".new");
    	
    	if (!(fp = fopen(tname, "w"))) {
    		return luaL_error(L, "fopen: %s", strerror(errno));
    	}
    
    	n = 0;
    	while (n < len) {
    		n += fwrite(fdata + n, 1, len - n, fp);
    
    		if (ferror(fp)) {
    			fclose(fp);
    			return luaL_error(L, "fwrite: %s", strerror(errno));
    		}
    	}
    
    	if (fflush(fp) != 0) {
    		fclose(fp);
    		return luaL_error(L, "fflush: %s", strerror(errno));
    	}
    #if HAVE_FSYNC && !defined(FSYNC_WORKAROUND_ENABLED)
    	if (fsync(fileno(fp)) != 0) {
    		fclose(fp);
    		return luaL_error(L, "fsync: %s", strerror(errno));
    	}
    #endif
    	if (fclose(fp) != 0) {
    		return luaL_error(L, "fclose: %s", strerror(errno));
    	}
    
    #if defined(WIN32)
    	/* windows systems must delete old file first */
    #ifndef _WIN32_WCE
    	if (_access_s(fname, 0) == 0)
    #else 
    	if (wceex_access(fname, 0) == 0)
    #endif	
    	/*{
    		 if (remove(fname) != 0) {
    			return luaL_error(L, "remove old file: %s", strerror(errno));
    		}
    	}*/
    #endif
    	remove(fname);
    	if (rename(tname, fname) != 0) {
    		return luaL_error(L, "rename: %s", strerror(errno));
    	}
    
    #ifdef FSYNC_WORKAROUND_ENABLED
    	/* sync filesystem if fsync is broken */
    	sync();
    #elif HAVE_FSYNC
    	if (!(dp = opendir(dirname(tname)))) {
    		return luaL_error(L, "opendir: %s", strerror(errno));
    	}
    	
    	if (fsync(dirfd(dp)) != 0) {
    		closedir(dp);
    		return luaL_error(L, "fsync: %s", strerror(errno));
    	}
    
    	if (closedir(dp) != 0) {
    		return luaL_error(L, "closedir: %s", strerror(errno));
    	}
    #endif
    
    	return 0;
    }
    i tested it the last hours and it works nice!

    I rewrite the WQVGA_SMALL_Skin. It works now in 320x240 Resolution. I decided to go to landscape view. Later i will post some Screenshots and the Patch Files. Thanks for help.

    Greets Phil

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •