Underscores vs. spaces in RDF file names

General JP1 chit-chat. Developing special protocols, decoding IR signals, etc. Also a place to discuss Tips, Tricks, and How-To's.

Moderator: Moderators

Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Underscores vs. spaces in RDF file names

Post by Capn Trips »

There was another thread very recently in which the problem with underscores in rdf filenames was pointed out. I didn't notice that the "corrected" rdf's linked by Binky several posts back still used underscores incorrectly. Sorry to not point that out earlier, since I was pretty certain that underscores were the source of your problem, but didn't bother stating it outright. My bad.
Beginners - Read this thread first
READ BEFORE POSTING or your post will be DELETED!


Remotes: OFA XSight Touch, AR XSight Touch
TVs: LG 65" Smart LED TV; Samsung QN850BF Series - 8K UHD Neo QLED LCD TV
RCVR: Onkyo TX-SR875; Integra DTR 40.3
DVD/VCR: Pioneer DV-400VK (multi-region DVD), Sony BDP-S350 (Blu-ray), Toshiba HD-A3 (HD-DVD), Panasonic AG-W1 (Multi-system VCR);
Laserdisc: Pioneer CLD-D704.
Amazon Firestick
tape deck: Pioneer CT 1380WR (double cassette deck)
(But I still have to get up for my beer)
binky123
Expert
Posts: 1292
Joined: Sat Feb 14, 2004 3:35 am

Post by binky123 »

What program is replacing the spaces with underscores? Is it the browser? I'm using Firefox and I don't see the underscores in the files I posted. I downloaded the RDFs zip file version 1.27 and it does have underscores in quite a few filenames.
speaker.guy
Exile Island Resident
Posts: 260
Joined: Tue Apr 17, 2007 12:16 pm

Post by speaker.guy »

If the ZIP file was downloded with some in it, I can't even guess. All I did was to download and save your files in the directory. I can try it again and see what happens.
speaker.guy
Exile Island Resident
Posts: 260
Joined: Tue Apr 17, 2007 12:16 pm

Post by speaker.guy »

When I redid the download (Windows Xp Pro SP2/IE7), the file name in the "save/open" dialog box had underscores...
binky123
Expert
Posts: 1292
Joined: Sat Feb 14, 2004 3:35 am

Post by binky123 »

ok, thanks. It's probably an IE7 thing. Nils may have downloaded the original files and didn't realize IE was replacing the spaces with underscores and then inserted the files into the ZIP file.
The Robman
Site Owner
Posts: 21987
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

binky123 wrote:What program is replacing the spaces with underscores? Is it the browser? I'm using Firefox and I don't see the underscores in the files I posted. I downloaded the RDFs zip file version 1.27 and it does have underscores in quite a few filenames.
I've noticed before that when I download RDFs directly from the file section (rather than as part of the zip file), the spaces get replaced with underscores. I usually use IE, so this could well be an IE thing, especially if it doesn't happen with Firefox.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Mark Pierson
Expert
Posts: 3023
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

The Robman wrote:I've noticed before that when I download RDFs directly from the file section (rather than as part of the zip file), the spaces get replaced with underscores.
Actually, at least in the case of the Atlas RDF's, the filenames seem to have been uploaded with the underscores so I don't think it's an IE download problem.

30003000 (Atlas 5 PVR with Day) JP1.3:
30003000_(Atlas_5-device_PVR_Day_3000_JP1.3).rdf

30333033 (Atlas 5 PVR with Day) JP1.3:
30333033_(Atlas_5-device_PVR_Day_3033_JP1.3).rdf

There seems to be several more filenames with underscores as well. Could it be a function of the file section uploading routines replacing spaces with underscores?

Would it make sense to have IR and RM modified to replace the underscores with spaces?
Mark
The Robman
Site Owner
Posts: 21987
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Try loading them up as individual files without the underscores and then try re-downloading them to see if the filenames change.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Mark Pierson
Expert
Posts: 3023
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

The Robman wrote:Try loading them up as individual files without the underscores and then try re-downloading them to see if the filenames change.
That's it. I uploaded one with spaces and they got converted to underscores during the upload process.
Mark
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

Mark Pierson wrote: Would it make sense to have IR and RM modified to replace the underscores with spaces?
I suspect that that's not a universal solution, since the underscores DO serve a purpose in some rdf's to distinguish between different remotes that share the same rdf, like the 8901 family and the 8811 family.
Beginners - Read this thread first
READ BEFORE POSTING or your post will be DELETED!


Remotes: OFA XSight Touch, AR XSight Touch
TVs: LG 65" Smart LED TV; Samsung QN850BF Series - 8K UHD Neo QLED LCD TV
RCVR: Onkyo TX-SR875; Integra DTR 40.3
DVD/VCR: Pioneer DV-400VK (multi-region DVD), Sony BDP-S350 (Blu-ray), Toshiba HD-A3 (HD-DVD), Panasonic AG-W1 (Multi-system VCR);
Laserdisc: Pioneer CLD-D704.
Amazon Firestick
tape deck: Pioneer CT 1380WR (double cassette deck)
(But I still have to get up for my beer)
Mark Pierson
Expert
Posts: 3023
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

Capn Trips wrote:I suspect that that's not a universal solution, since the underscores DO serve a purpose in some rdf's
Yeah... I had forgotten that minor detail until after I posted.

Since it appears to be in the upload function of the File Section, maybe it can be addressed there. I'm not sure how much access Rob has to the underlying code but it's probably worth a shot.
Mark
Mark Pierson
Expert
Posts: 3023
Joined: Sun Aug 03, 2003 12:13 am
Location: Connecticut, USA
Contact:

Post by Mark Pierson »

Knowing that Rob is (supposed to be) on vacation this week, I've posted a message on the support forum for the File Section software to see if this behaviour can be modified.
Mark
The Robman
Site Owner
Posts: 21987
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Mark Pierson wrote:Knowing that Rob is (supposed to be) on vacation this week, I've posted a message on the support forum for the File Section software to see if this behaviour can be modified.
I am on vacation, I'm in sunny Oakland, CA (San Francisco) as we speak. Fortunately, my sister-in-law has a wi-fi-network, so I'm able to get online from my laptop.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Capn Trips
Expert
Posts: 3989
Joined: Fri Oct 03, 2003 6:56 am

Post by Capn Trips »

The Robman wrote:Fortunately, my sister-in-law has a wi-fi-network, so I'm able to get online from my laptop.
...as opposed to spending "quality time" with her and/or her family ?! :wink:
Beginners - Read this thread first
READ BEFORE POSTING or your post will be DELETED!


Remotes: OFA XSight Touch, AR XSight Touch
TVs: LG 65" Smart LED TV; Samsung QN850BF Series - 8K UHD Neo QLED LCD TV
RCVR: Onkyo TX-SR875; Integra DTR 40.3
DVD/VCR: Pioneer DV-400VK (multi-region DVD), Sony BDP-S350 (Blu-ray), Toshiba HD-A3 (HD-DVD), Panasonic AG-W1 (Multi-system VCR);
Laserdisc: Pioneer CLD-D704.
Amazon Firestick
tape deck: Pioneer CT 1380WR (double cassette deck)
(But I still have to get up for my beer)
The Robman
Site Owner
Posts: 21987
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

At that particular moment they had both gone out shopping, so I had some free time! :)
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Post Reply