EvilLyrics forum
May 26, 2013, 04:13:10 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1
  Print  
Author Topic: Offline detection  (Read 2292 times)
Anonymous
Guest
« on: April 02, 2004, 05:56:47 PM »

After I installed the latest EL dev. build and launched it, it connected to the net to update filters or smth...(?!?)

If it's possible, I'd really like it not to do so when I'm not already connected. I was hoping that such behaviour would occour only if I'm trying to d/l a song that's not on my cache.
EL could, for example, show all lyrics from the cache, and when a new song get played, it can show a message "offline - press redownload to connect" on it's status line or window.

The offline detection should be transparent, like PopPeeper or EmailNotification programs, that do not pop up the connection dialog when trying to retrieve data from the net, but first use a quiet method to see if there's a dial-up currently active.

Thank you!
Logged
EvilLyrics forum
« on: April 02, 2004, 05:56:47 PM »

 Logged
Marek
Administrator
Hero Member
*****

Karma: 8
Posts: 795


« Reply #1 on: April 02, 2004, 06:30:21 PM »

EvilLyrics was downloading filter file on its start since version 4 or so. now we only show that it happens, nothing else. Does is start dialing your modem when you are offline?

if no, is it a problem?


"filter file" is filters.txt file stored in your main directory, it's about 8-10 kb only and is updated only when new version was uploaded (every 1-2 weeks)
Logged

EvilLyrics Developer
Anonymous
Guest
« Reply #2 on: April 02, 2004, 08:22:57 PM »

Quote
Does is start diai8-m@Offline detection   Anonymous192.117.244.150
Quote
if no, is it a problem?

actually, it's a problem since it DOES call when I'm offline... cheesy

If EL could connect to its site(s) only when there's an active connection already, it would be much nicer.
Of course, when it needs to d/l a song that's not in the cache, it can use the "connect on pressing re-download" as I suggested above.

I'd really much appreciate the idea of listening to music and enjoying the lyrics I have previously d/l'ed, by loading EL also when offline, and won't being greeted with the windows connection dialog...

Thank you, Marek - Your great application is matched only by its support!
Logged
Marek
Administrator
Hero Member
*****

Karma: 8
Posts: 795


« Reply #3 on: April 02, 2004, 09:38:31 PM »

[quote="Anonymous&qo?-7m@Offline detectionMarekevillabs@zoznam.sk 217.75.73.34 />yes.

Quote
if no, is it a problem?

actually, it's a problem since it DOES call when I'm offline... cheesy

If EL could connect to its site(s) only when there's an active connection already, it would be much nicer.
Of course, when it needs to d/l a song that's not in the cache, it can use the "connect on pressing re-download" as I suggested above.

I'd really much appreciate the idea of listening to music and enjoying the lyrics I have previously d/l'ed, by loading EL also when offline, and won't being greeted with the windows connection dialog...

Thank you, Marek - Your great application is matched only by its support![/quote]


i reintroduced net detection on evillyrics start. it was there before but i removed it because it didn't work for some people (at least that's what i thought was reason for some misfunctionality for some people)

it checks if connection is avaliable and if not, it disables basic online functions.

let me know if it works .. or i should remove it again a do it properly

thanks
Logged

EvilLyrics Developer
Anonymous
Guest
« Reply #4 on: April 03, 2004, 01:57:47 PM »

Downloading build 0.1.6.2J-n@Offline detection   Anonymous192.117.250.236I was trying to make a CLEAN check of your program from scratch, so I've used a partition image that had never seen EL in its entire life.
Trying to install and launch, greeted me with an error that "ms...ocx" file is missing or invalid. I checked my hard drive and it was damn sure invalid - 0kb.
I deleted the file and tried to reinstall, and EL dialed my connection to d/l some ms...pac file!!! - I thought this behaviour was long gone in the course of developement?!?

Anyway, to the point of this thread - EL immidiately launches the connection dialog, no questions asked, before it even shows its main form... cry

I have found smth u might find useful:
http://www.codeproject.com/internet/rasconnection.asp

And to prevent confusion, I'll try to repeat my suggestion clearly: EL should try and found current songs on its internal cache, and just show "offline mode" or smth on its status line.

Whenever there's no song in the background, or its lyrics are not in cache, EL could show a large message on the main window, offering the user to connect by a link, say, "press here to update filters", or when an unknown song is played: "no lyrics found on your harddrive, press here to search online".
This method might SOUND cumbersome, but it's not - once the user chooses to connect, he does it only once, and next unknown lyrics will be retrieved transparently. I think many users will appreciate that EL won't dial-up on its own behalf.
Regardless of song in cache or not, EL could force connection automatically when pressing any of the obvious online buttons are pressed, especially the "re-download", because in such case it is normal that EL should connect, and no user will complain, nor need to "confirm".
Actually, I don't think there's a special code to "force connection" - you just try to retrieve online data, and windows dials automatically if offline. It's the offline detection that's really need to be done! wink

I appreciate your constant help very much - THANK YOU smiley
Logged
Marek
Administrator
Hero Member
*****

Karma: 8
Posts: 795


« Reply #5 on: April 04, 2004, 06:08:59 PM »

[quote="Anonymous&qoT-3p@Offline detectionMarekevillabs@zoznam.sk 217.75.73.34o

I was trying to make a CLEAN check of your program from scratch, so I've used a partition image that had never seen EL in its entire life.
Trying to install and launch, greeted me with an error that "ms...ocx" file is missing or invalid. I checked my hard drive and it was damn sure invalid - 0kb.
I deleted the file and tried to reinstall, and EL dialed my connection to d/l some ms...pac file!!! - I thought this behaviour was long gone in the course of developement?!?[/quote]

this was only a bug. but yes, installer still downloads required components if you don't have them (it should happen only if you install EL for the first time, basically it's only 2 ocx files)

Quote
Anyway, to the point of this thread - EL immidiately launches the connection dialog, no questions asked, before it even shows its main form... cry

I have found smth u might find useful:
http://www.codeproject.com/internet/rasconnection.asp

And to prevent confusion, I'll try to repeat my suggestion clearly: EL should try and found current songs on its internal cache, and just show "offline mode" or smth on its status line.

Whenever there's no song in the background, or its lyrics are not in cache, EL could show a large message on the main window, offering the user to connect by a link, say, "press here to update filters", or when an unknown song is played: "no lyrics found on your harddrive, press here to search online".
This method might SOUND cumbersome, but it's not - once the user chooses to connect, he does it only once, and next unknown lyrics will be retrieved transparently. I think many users will appreciate that EL won't dial-up on its own behalf.
Regardless of song in cache or not, EL could force connection automatically when pressing any of the obvious online buttons are pressed, especially the "re-download", because in such case it is normal that EL should connect, and no user will complain, nor need to "confirm".
Actually, I don't think there's a special code to "force connection" - you just try to retrieve online data, and windows dials automatically if offline. It's the offline detection that's really need to be done! wink

I appreciate your constant help very much - THANK YOU smiley
[/quote]

well, so if the new version (121) caused problems when installing are you now referring to 121 or 120? 121 (and so current 122) was supposed to check if connection is available at program start and if it's not it should resume working in offline mode. if you need to download any lyrics, you can dial a connection and restart evillyrics, than it should work in onone mode. i can add a icon to the statusbar indicating if it's in online or offile mode.

the method you described is only good for modems, i use something similar to 3rd described method from this page
http://www.vbcity.com/forums/faq.asp?fid=10&cat=Networking&

i tried to simuate what you described but i was unable to set up my modem to automatically dial a connection so i'm not sure if it works.

i'm constantly connected via our LAN so it's even difficult to test it.
Logged

EvilLyrics Developer
Anonymous
Guest
« Reply #6 on: April 04, 2004, 09:45:11 PM »

the 3rd method uses a direct ping, which on a dial-up, automatically tries to connect, if not already - probably what happend to me (tried build 121).

I've openned a thread here, let's hope someone answers:
http://www.poppeeper.com/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1081107815;start=0#0
Logged
EvilLyrics forum
   

 Logged
Pages: 1
  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines EvilLyrics