csv2ir is a script to convert ir .csv files to .ir files for the flipper.

Overview
Comments
  • Address out of range error with Flipper when using IR folder examples

    Address out of range error with Flipper when using IR folder examples

    I'm testing out the ir folder from the repo on my Flipper and encountered an issue where many do not load anything in the UI for the Flipper, and generate an error in debug logging (see below).

    These files (any many more) cause this issue, on at least the NEC/Panasonic protocols: https://github.com/Spexivus/csv2ir/blob/main/ir/2wire/Unknown_2wire.ir https://github.com/Spexivus/csv2ir/blob/main/ir/Panasonic/TV1.ir

    After troubleshooting a bit with one of the Flipper maintainers on the discord, the address on the first 2wire example was determined to likely be NEC Extended (NECext), not regular NEC. There appears to be 4 different NEC protocols that are supported by the flipper, but this isn't being specified in the converted IR files. (See: https://github.com/flipperdevices/flipperzero-firmware/blob/dev/lib/infrared/encoder_decoder/nec/infrared_nec_spec.c

    Here is an output for the first IR file that was tested: 36931 [E][InfraredParser]: Address is out of range (mask 0x000000FF): 0x2020

    However, could the following item be related? I noticed in the python script that the Device and Sub-device are checked but then Device is used twice (row1 row1) in the output? https://github.com/Spexivus/csv2ir/blob/6d701c0873003a865740a77fbce1ccd621cfb565/csv2ir.py#L67

    opened by Zagrophyte 3
  • Protocol ignored

    Protocol ignored

    instead of using he protocol in the csv the code looks like it uses the command line or a hardcoded value

    thus many of the converted "RC5" protocol files get marked "NECext"

    opened by evilpete 1
  • Ability to Batch Convert Multiple Subdirectories

    Ability to Batch Convert Multiple Subdirectories

    I'm curious if this script could be made to be able to batch convert multiple .csv in multiple different multi-level subdirectories and keep the .ir file in the respective original folders.

    e.g. If you wanted to download the entire IR library and batch convert all of the .csv files in the "codes" folder which has multiple subdirectories and leave those files in their respective folders.

    I downloaded a bunch of folders and was hoping to not have to manually convert them all 😂

    Thank you, magical wizards!

    opened by intraCore 0
  • Portable argparse rewrite

    Portable argparse rewrite

    Moves single file conversion into a separate function, and replaces the interactive UI and Windows-specific paths with an argparse-based command line interface.

    I've tested this on Linux. Haven't checked to see what the workflow is like on Windows yet, but presumably it's fine run from an existing command shell.

    This is a pretty substantial rewrite, so I'm not sure whether you want to clobber the version in your repository with it, but I figured I would offer with a PR. :smile:

    opened by ezod 0
  • Flipper IR conversion

    Flipper IR conversion

    Hello,

    I want to convert EVERY (converted) file, into a file that the flipper can use. My discord is Wisiewig#1369, can you add me so we could discuss this?

    opened by Wisiewig 0
  • Code only supports 8bit addressing

    Code only supports 8bit addressing

    opened by evilpete 0
Owner
Alex
Alex
Two scripts help you to convert csv file to md file by template

Two scripts help you to convert csv file to md file by template. One help you generate multiple md files with different filenames from the first colume of csv file. Another can generate one md file with several blocks.

null 2 Oct 15, 2022
Automatically generates a TypeQL script for doing entity and relationship insertions from a .csv file, so you don't have to mess with writing TypeQL.

Automatically generates a TypeQL script for doing entity and relationship insertions from a .csv file, so you don't have to mess with writing TypeQL.

null 3 Feb 9, 2022
CleverCSV is a Python package for handling messy CSV files.

CleverCSV is a Python package for handling messy CSV files. It provides a drop-in replacement for the builtin CSV module with improved dialect detection, and comes with a handy command line application for working with CSV files.

The Alan Turing Institute 1k Dec 19, 2022
Test app for importing contact information in CSV files.

Contact Import TestApp Test app for importing contact information in CSV files. Explore the docs » · Report Bug · Request Feature Table of Contents Ab

null 1 Feb 6, 2022
A python script to convert an ucompressed Gnucash XML file to a text file for Ledger and hledger.

README 1 gnucash2ledger gnucash2ledger is a Python script based on the Github Gist by nonducor (nonducor/gcash2ledger.py). This Python script will tak

Thomas Freeman 0 Jan 28, 2022
The best way to convert files on your computer, be it .pdf to .png, .pdf to .docx, .png to .ico, or anything you can imagine.

The best way to convert files on your computer, be it .pdf to .png, .pdf to .docx, .png to .ico, or anything you can imagine.

JareBear 2 Nov 20, 2021
Convert All TXT Files To One File.

AllToOne Convert All TXT Files To One File. Hi ?? , I'm Alireza A Python Developer Boy ?? I’m currently working on my C# projects ?? I’m currently Lea

null 4 Jun 7, 2022
LightCSV - This CSV reader is implemented in just pure Python.

LightCSV Simple light CSV reader This CSV reader is implemented in just pure Python. It allows to specify a separator, a quote char and column titles

Jose Rodriguez 6 Mar 5, 2022
Transforme rapidamente seu arquivo CSV (de qualquer tamanho) para SQL de forma rápida.

Transformador de CSV para SQL Transforme rapidamente seu arquivo CSV (de qualquer tamanho) para SQL de forma rápida, e com isso insira seus dados usan

William Rodrigues 4 Oct 17, 2022
Sheet Data Image/PDF-to-CSV Converter

Sheet Data Image/PDF-to-CSV Converter

Quy Truong 5 Nov 22, 2021
CSV To VCF (Multiples en un archivo)

CSV To VCF Convierte archivo CSV a Tarjeta VCF (varias en una) How to use En main.py debes reemplazar CONTACTOS.csv por tu archivo csv, y debes respet

Jorge Ivaldi 2 Jan 12, 2022
Add Ranges and page numbers to IIIF Manifest from a CSV.

Add Ranges and page numbers to IIIF Manifest from CSV specific to a workflow of the Bibliotheca Hertziana.

Raffaele Viglianti 3 Apr 28, 2022
CSV-Handler written in Python3

CSVHandler This code allows you to work intelligently with CSV files. A file in CSV syntax is converted into several lists, which are combined in a to

Max Tischberger 1 Jan 13, 2022
Nmap XML output to CSV and HTTP/HTTPS URLS.

xml-to-csv-url Convert NMAP's XML output to CSV file and print URL addresses for HTTP/HTTPS ports. NOTE: OS Version Parsing is not working properly ye

null 1 Dec 21, 2021
Generates a clean .txt file of contents of a 3 lined csv file

Generates a clean .txt file of contents of a 3 lined csv file. File contents is the .gml file of some function which stores the contents of the csv as a map.

Alex Eckardt 1 Jan 9, 2022
Remove [x]_ from StudIP zip Archives and archive_filelist.csv completely

This tool removes the "[x]_" at the beginning of StudIP zip Archives. It also deletes the "archive_filelist.csv" file

Kelke vl 1 Jan 19, 2022
A simple Python code that takes input from a csv file and makes it into a vcf file.

Contacts-Maker A simple Python code that takes input from a csv file and makes it into a vcf file. Imagine a college or a large community where each y

null 1 Feb 13, 2022
Dragon Age: Origins toolset to extract/build .erf files, patch language-specific .dlg files, and view the contents of files in the ERF or GFF format

DAOTools This is a set of tools for Dragon Age: Origins modding. It can patch the text lines of .dlg files, extract and build an .erf file, and view t

null 8 Dec 6, 2022
Python Fstab Generator is a small Python script to write and generate /etc/fstab files based on yaml file on Unix-like systems.

PyFstab Generator PyFstab Generator is a small Python script to write and generate /etc/fstab files based on yaml file on Unix-like systems. NOTE : Th

Mahdi 2 Nov 9, 2021