The plugin doesn't seem to be able to detect my username correctly.
Error: Invalid - username.
I double checked with my profile. checked with caps and without and still having the same issue. Please help thanks.
Forum Index > SC2 General |
Marksman
Malaysia523 Posts
The plugin doesn't seem to be able to detect my username correctly. Error: Invalid - username. I double checked with my profile. checked with caps and without and still having the same issue. Please help thanks. | ||
Alum
United States16 Posts
On November 01 2012 14:08 Marksman wrote: I'm trying it now and I'm finding a problem. The plugin doesn't seem to be able to detect my username correctly. Error: Invalid - username. I double checked with my profile. checked with caps and without and still having the same issue. Please help thanks. This happened to me. I closed the program. Reopened it. Entered my username. Hit SET username. This fixed it for me. | ||
Marksman
Malaysia523 Posts
On November 01 2012 15:44 Alum wrote: Show nested quote + On November 01 2012 14:08 Marksman wrote: I'm trying it now and I'm finding a problem. The plugin doesn't seem to be able to detect my username correctly. Error: Invalid - username. I double checked with my profile. checked with caps and without and still having the same issue. Please help thanks. This happened to me. I closed the program. Reopened it. Entered my username. Hit SET username. This fixed it for me. I tried that multiple times. Restarted computer as well but it didn't work sadly ;( | ||
InfCereal
Canada1759 Posts
On November 01 2012 16:03 Marksman wrote: Show nested quote + On November 01 2012 15:44 Alum wrote: On November 01 2012 14:08 Marksman wrote: I'm trying it now and I'm finding a problem. The plugin doesn't seem to be able to detect my username correctly. Error: Invalid - username. I double checked with my profile. checked with caps and without and still having the same issue. Please help thanks. This happened to me. I closed the program. Reopened it. Entered my username. Hit SET username. This fixed it for me. I tried that multiple times. Restarted computer as well but it didn't work sadly ;( Can you send me your last.fm username, please? The only reason I can think of would be not having any recently played tracks on your profile. I can probably do a check for that to display the appropriate error. Will make hitting enter submit the username too... | ||
InfCereal
Canada1759 Posts
On November 01 2012 16:03 Marksman wrote: Show nested quote + On November 01 2012 15:44 Alum wrote: On November 01 2012 14:08 Marksman wrote: I'm trying it now and I'm finding a problem. The plugin doesn't seem to be able to detect my username correctly. Error: Invalid - username. I double checked with my profile. checked with caps and without and still having the same issue. Please help thanks. This happened to me. I closed the program. Reopened it. Entered my username. Hit SET username. This fixed it for me. I tried that multiple times. Restarted computer as well but it didn't work sadly ;( I added some better error messages, can you try it again? | ||
Marksman
Malaysia523 Posts
I tried again with the new update. Error: User "Johncrawfordz" not found. Profile Link: http://www.last.fm/user/Johncrawfordz | ||
InfCereal
Canada1759 Posts
On November 01 2012 21:50 Marksman wrote: It's Johncrawfordz I tried again with the new update. Error: User "Johncrawfordz" not found. Profile Link: http://www.last.fm/user/Johncrawfordz Well, I can't see any abnormalities in your profile, and it's working for me. ![]() Did you allow the java applet access the the internet? (Would have been a popup when you started it for the first time) If you didn't, that would prompt the not found error. | ||
Marksman
Malaysia523 Posts
EDIT: Yes. It's working and its a firewall issue as it works when I disabled the firewall. The security level for the firewall was too high. Thanks for the help. | ||
InfCereal
Canada1759 Posts
On November 01 2012 22:17 Marksman wrote: I'll try and recheck the firewalls then. Will edit any changes. EDIT: Yes. It's working and its a firewall issue as it works when I disabled the firewall. The security level for the firewall was too high. Thanks for the help. No problem, thanks for using the app. | ||
Cantro
Canada117 Posts
| ||
InfCereal
Canada1759 Posts
On November 02 2012 02:09 Cantro wrote: We be using this on my stream from now on :D Hey, thanks! I wouldn't be totally opposed to a stream link either. I like seeing my work get used. | ||
KazeHydra
Japan2788 Posts
| ||
darkware
Austria12 Posts
I don't know for XSplit but for OBS it won't show the text you generate because the RRS feed you are retrieving from is using a strange version of the hyphen and that will cause OBS to not show the whole text at all. I just replaced the hyphen in your Plugin.writeToFile() method to this and it works without a problem: + Show Spoiler + public void writeToFile(String string) { String fullArtistAndSong; if (string.contains("–")) { String[] artistAndSong = string .split("[\u002D\u058A\u05BE\u1400\u1806\u2010-\u2015\u2053\u207B\u208B\u2212\u2E17\u2E1A\u2E3A-\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D]"); char delimiter = '-'; String artist = artistAndSong[0].trim(); String song = artistAndSong[1].trim(); fullArtistAndSong = artist + " " + delimiter + " " + song; } else { fullArtistAndSong = string; } try { FileWriter fs = new FileWriter("currentsong.txt"); BufferedWriter out = new BufferedWriter(fs); out.write(fullArtistAndSong); out.close(); } catch (Exception e) { } } I hope I could help and thanks for the awesome software ![]() Edit: Sorry I have no idea to format the text properly... Edit2: If OP is okay with it I could upload a working version of this for OBS | ||
InfCereal
Canada1759 Posts
On November 09 2012 01:42 darkware wrote: I have found one problem, looked at the source code and found the solution as well. I don't know for XSplit but for OBS it won't show the text you generate because the RRS feed you are retrieving from is using a strange version of the hyphen and that will cause OBS to not show the whole text at all. I just replaced the hyphen in your Plugin.writeToFile() method to this and it works without a problem: + Show Spoiler + public void writeToFile(String string) { String fullArtistAndSong; if (string.contains("–")) { String[] artistAndSong = string .split("[\u002D\u058A\u05BE\u1400\u1806\u2010-\u2015\u2053\u207B\u208B\u2212\u2E17\u2E1A\u2E3A-\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D]"); char delimiter = '-'; String artist = artistAndSong[0].trim(); String song = artistAndSong[1].trim(); fullArtistAndSong = artist + " " + delimiter + " " + song; } else { fullArtistAndSong = string; } try { FileWriter fs = new FileWriter("currentsong.txt"); BufferedWriter out = new BufferedWriter(fs); out.write(fullArtistAndSong); out.close(); } catch (Exception e) { } } I hope I could help and thanks for the awesome software ![]() Edit: Sorry I have no idea to format the text properly... Edit2: If OP is okay with it I could upload a working version of this for OBS I noticed the weird version of the hyphen when I made it, didn't think it would break OBS. I need to fix some other things in the output as well, so I'll implement your fix while I'm in there, thanks. EDIT: I fixed both the encoding issue, and the hyphen issue. Thanks for the reports/help. EDIT2: seems to be working fine with OBS. ![]() | ||
KazeHydra
Japan2788 Posts
I suspect this is the result of the hyphen fix (or whatever else you may have changed) as it was being displayed perfectly fine in notepad previously, and I don't see why merely encoding it differently would cut text off (it would more likely display unrecognizable characters, at worst). Personally, I wouldn't mind if you just gave me a version that excluded the output coding changes but retained the encoding fix, assuming that solves my problem. | ||
InfCereal
Canada1759 Posts
On November 10 2012 02:42 KazeHydra wrote: Okay so this works pretty much perfectly except I can only assume I'm cursed and the program hates me as the only word it does not work with is 水樹奈々 who comprises like half or more of my playlist. Apparently the program doesn't like the character 々 and gets confused and just cuts everything off so it only writes out "水樹奈 -" in the notepad file, which is sacrilege as far as I'm concerned. I tested this with other variations, and sure enough, if 々 is written, it and everything after it gets cut off completely. Any text that does not contain 々 will work fine =/ I suspect this is the result of the hyphen fix (or whatever else you may have changed) as it was being displayed perfectly fine in notepad previously, and I don't see why merely encoding it differently would cut text off (it would more likely display unrecognizable characters, at worst). Personally, I wouldn't mind if you just gave me a version that excluded the output coding changes but retained the encoding fix, assuming that solves my problem. Yup, I found the problem, fixing it now. | ||
InfCereal
Canada1759 Posts
| ||
KazeHydra
Japan2788 Posts
| ||
InfCereal
Canada1759 Posts
On November 10 2012 12:01 KazeHydra wrote: oops forgot to mention it worked. Thanks for the fix! Good to know. Lemme know if you run into any other problems. | ||
![]()
Nagisama
Canada4481 Posts
| ||
| ||
![]() StarCraft 2 StarCraft: Brood War Rain Dota 2![]() Horang2 ![]() Jaedong ![]() Hyuk ![]() Shuttle ![]() Flash ![]() Mong ![]() ZerO ![]() Mini ![]() Light ![]() [ Show more ] Counter-Strike Super Smash Bros Other Games tarik_tv34166 singsing3131 sgares455 B2W.Neo318 crisheroes270 Livibee235 SortOf213 DeMusliM126 Lowko108 Trikslyr28 RotterdaM25 Organizations StarCraft: Brood War Other Games StarCraft 2 StarCraft: Brood War StarCraft 2 StarCraft: Brood War
StarCraft 2 • Catreina StarCraft: Brood War![]() • AfreecaTV YouTube • intothetv ![]() • Kozan • IndyKCrew ![]() • LaughNgamezSOOP • Laughngamez YouTube • Migwel ![]() • sooper7s Dota 2 League of Legends |
WardiTV Invitational
Replay Cast
OSC
Replay Cast
OSC
Replay Cast
CranKy Ducklings
WardiTV Invitational
[BSL 2025] Weekly
Replay Cast
[ Show More ] Sparkling Tuna Cup
WardiTV Invitational
Replay Cast
Clem vs Zoun
Tenacious Turtle Tussle
The PondCast
|
|