Thank You for your continued support and contributions!
the plugin is updated.i think this is the final version...
On a related issue: Can you suggest a way to insert blank lines (e.g. for guitar solos)? Maybe if neither are nor b are set, play-hold could insert an empty line? That would make it even better.
I must admit I have been hacking away on your program a little to change it to my liking. For example I have written a new read_line function that wraps according to the screen width taking into account the width of the characters.
if you want to insert a blank line you have to set 'a' to a blank line and then copy it. if you don't have any blank lines then you can set 'a' to the first line (<Timetag Editor>) and copy it. I know it's not very handy.
Quote from: roolku on February 06, 2006, 09:57:16 AMI must admit I have been hacking away on your program a little to change it to my liking. For example I have written a new read_line function that wraps according to the screen width taking into account the width of the characters. I also thought about that. But I didn't implement it, because I thought it will delay the init process without much benefit.
Can you post your version?
- if you work from a saved snc file, the last line seems to include the ************** ?- saveing an a finished snc file will put all the unsynced lines into the last block.
- Why did you take out the light-switch?
- you can't mark a block that includes the last line
- saveing an anfinished snc file will put all the unsynced lines into the last block.
I guess the best way would be to read the whole file in as one block (probably into the pluginbuffer). Then parse it once and store the time, a pointer to the start of the text and a pointer to the end of the text in the sncs structure. Now when a line is displayed, it will get wrapped to the required width (full width/with time/for remote). As the icing of the cake this wrapping (i.e. pointers to the break points) could be stored/cached in the sncs structure for faster re-display. Editing become now pure pointer manipulation (many pointer can point to the same string.) For saving the text lines don't need to be re-assambled from the row array etc. Does this make sense? I am just not sure if it is worth the effort.
Quote- Why did you take out the light-switch?I already implemented it outside the plugin. I don't need it twice.
Quote- you can't mark a block that includes the last line (it's possible for me)
Quote- saveing an anfinished snc file will put all the unsynced lines into the last block.yes, that's why I have to distinguish between txt and snc files.txt: every line is a blocksnc: one block has max. 7 lines (it starts from a timetag to another or until the end of the file)as long as the the tagging is not finished the lyrics file should have the extension txt. I saw that you modified the saving function, so that the player saves the changes to a snc-file and your txt-file will still remain on your player. In my version the txt file will be overwritten every time the saving function is called and if every block has a tag the file will automatically renamed to snc. so it's not possible to have an unfinished snc file.
I found another small glitch. If the first line doesn't start at: 0:00, it will normally sit in the waiting position until its time comes. However, if you press a key (e.g. volume) it will display in the active position prematurely.
Would it be possible for this plugin to be able to read lrc and lrc8 files??? there is no big difference between snc files and lrc files.
- "buffer has not enough rows" -> to increase the buffer you have to modify BUFFERSIZE and MAX_ROWS
Page created in 0.049 seconds with 17 queries.