Sponsored Content
The Lounge What is on Your Mind? Update on vB3 Migration to Discourse - Issues and Status of BBCode Transformations Post 303045699 by Neo on Thursday 9th of April 2020 08:55:45 AM
Old 04-09-2020
It has been a few days since my last status update, so here is a new, quick one:

@Scrutiziner and @Neo continue to work on the migration and are getting closer. The migration script provided OOTB by Discourse (the various BBCODE converters) mangled a lot of text; and @Scrutinzer has been leading the effort to get the various bbcode conversions as error free as practical. So far, so good.

Today, after more discussions with @Scrutinzer, I modified a Discourse theme component and added four new editor / composer buttons:

Update on vB3 Migration to Discourse - Issues and Status of BBCode Transformations-new_composer_buttonsjpeg


This was my first Discourse theme component modification, and frankly speaking, it was really easy (orders of magnitude easier, and infinitely faster debugging, than Discourse plugin development and testing).

That modified theme component is available on GitHub as md-composer-extras-neo

Code:
https://github.com/unixneo/md-composer-extras-neo

Frankly, we don't want to get too much into editor / composer button modifications until people use it more; so this will probably be the only changes to the composer before going live (sooner than later). We can look for better icons on FontAwesome and get input from the people who matter the most, all of you!

@Scruitizer informs that he is getting closer to have his new Ruby preprocessing script ready for testing against the database, and he says he has been having a lot of fun with Ruby as well!

More later.....
These 2 Users Gave Thanks to Neo For This Post:
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell Script migration issues

Hi All, We will be doing a Solaris 8 to Solaris 10 migration migration, just wanted to know if there are any known / common issues arise from this migration from Shell script point of view. I tried searching this site but mostly post are related to SA's question and jumpstart, etc. If there's... (4 Replies)
Discussion started by: arvindcgi
4 Replies

2. HP-UX

Migration - Compiler Issues.

All, We are migrating an application from HP-UX B.11.00 to HP-UX B.11.31 and both of them have the same informix version - 7.25se. However the compilers are different on both servers. HP-UX B.11.00 - has B3913DB C.03.33 HP aC++ Compiler (S800) HP-UX B.11.31 - has PHSS_40631 1.0 HP C/aC++... (2 Replies)
Discussion started by: helper
2 Replies

3. Programming

How to track table status delete/update/insert status in DB2 V10 z/os?

Dear Team I am using DB2 v10 z/os database . Need expert guidance to figure out best way to track table activities ( Ex Delete, Insert,Update ) Scenario We have a table which is critical and many developer/testing team access on daily basis . We had instance where some deleted... (1 Reply)
Discussion started by: Perlbaby
1 Replies

4. What is on Your Mind?

Status of Migration of Moderation Systems

First a bit of history .... A number of years ago one of our admins built a number of plugin systems for moderation, including (1) a voting system, (2) a "user feelings" system and (3) a confidential posting system. During this time, I was busy on other projects, not very active in the forums,... (1 Reply)
Discussion started by: Neo
1 Replies

5. What is on Your Mind?

VBulletin 3.8 to Discourse on Docker Migration Test Take Two

OK. Like we all do, we learn a lot from tests, test migrations, and so forth. Today, I started from scratch on test migration 2, armed with a lot more knowledge, The main differences are as follows: Installed discourse plugin ruby-bbcode-to-md before starting the install Modified... (30 Replies)
Discussion started by: Neo
30 Replies

6. What is on Your Mind?

VBulletin 3.8 to Discourse on Docker Migration Test Take Four

Test Build 4 on New Server, with changes identified in discourse test builds 2 and 3, primarily: Insuring ruby-bbcode-to-markdown is enabled. Removing line breaks from ICODE to markdown in migration script. Added vbpostid to posts in discourse to setup migrating vb "thanks" to discourse... (28 Replies)
Discussion started by: Neo
28 Replies
LIBMTP_track_struct(3)						      libmtp						    LIBMTP_track_struct(3)

NAME
libmtp - LIBMTP_track_struct SYNOPSIS
#include <libmtp.h> Data Fields uint32_t item_id uint32_t parent_id uint32_t storage_id char * title char * artist char * composer char * genre char * album char * date char * filename uint16_t tracknumber uint32_t duration uint32_t samplerate uint16_t nochannels uint32_t wavecodec uint32_t bitrate uint16_t bitratetype uint16_t rating uint32_t usecount uint64_t filesize time_t modificationdate LIBMTP_filetype_t filetype LIBMTP_track_t * next Detailed Description MTP track struct Examples: getplaylist.c, playlists.c, sendtr.c, and tracks.c. Field Documentation char* LIBMTP_track_struct::album Album name for track Examples: tracks.c. Referenced by LIBMTP_destroy_track_t(), and LIBMTP_Update_Track_Metadata(). char* LIBMTP_track_struct::artist Name of recording artist Examples: getplaylist.c, playlists.c, and tracks.c. Referenced by LIBMTP_destroy_track_t(), and LIBMTP_Update_Track_Metadata(). uint32_t LIBMTP_track_struct::bitrate (Average) bitrate for this file min=1 max=0x16e360 Examples: tracks.c. Referenced by LIBMTP_Update_Track_Metadata(). uint16_t LIBMTP_track_struct::bitratetype 0 = unused, 1 = constant, 2 = VBR, 3 = free Examples: tracks.c. Referenced by LIBMTP_Update_Track_Metadata(). char* LIBMTP_track_struct::composer Name of recording composer Examples: tracks.c. Referenced by LIBMTP_destroy_track_t(), and LIBMTP_Update_Track_Metadata(). char* LIBMTP_track_struct::date Date of original recording as a string Examples: tracks.c. Referenced by LIBMTP_destroy_track_t(), and LIBMTP_Update_Track_Metadata(). uint32_t LIBMTP_track_struct::duration Duration in milliseconds Examples: tracks.c. Referenced by LIBMTP_Update_Track_Metadata(). char* LIBMTP_track_struct::filename Original filename of this track Examples: tracks.c. Referenced by LIBMTP_destroy_track_t(), LIBMTP_Get_Tracklisting_With_Callback_For_Storage(), LIBMTP_Get_Trackmetadata(), LIBMTP_Send_Track_From_File_Descriptor(), LIBMTP_Send_Track_From_Handler(), and LIBMTP_Set_Track_Name(). uint64_t LIBMTP_track_struct::filesize Size of track file in bytes Examples: tracks.c. Referenced by LIBMTP_Get_Tracklisting_With_Callback_For_Storage(), LIBMTP_Get_Trackmetadata(), LIBMTP_Send_Track_From_File_Descriptor(), and LIBMTP_Send_Track_From_Handler(). LIBMTP_filetype_t LIBMTP_track_struct::filetype Filetype used for the current track Examples: tracks.c. Referenced by LIBMTP_Get_Tracklisting_With_Callback_For_Storage(), LIBMTP_Get_Trackmetadata(), LIBMTP_Send_Track_From_File_Descriptor(), LIBMTP_Send_Track_From_Handler(), LIBMTP_Set_Track_Name(), and LIBMTP_Update_Track_Metadata(). char* LIBMTP_track_struct::genre Genre name for track Examples: tracks.c. Referenced by LIBMTP_destroy_track_t(), and LIBMTP_Update_Track_Metadata(). uint32_t LIBMTP_track_struct::item_id Unique item ID Examples: sendtr.c, and tracks.c. Referenced by LIBMTP_Get_Tracklisting_With_Callback_For_Storage(), LIBMTP_Get_Trackmetadata(), LIBMTP_new_track_t(), LIBMTP_Send_Track_From_File_Descriptor(), LIBMTP_Send_Track_From_Handler(), LIBMTP_Set_Track_Name(), and LIBMTP_Update_Track_Metadata(). time_t LIBMTP_track_struct::modificationdate Date of last alteration of the track Referenced by LIBMTP_Get_Tracklisting_With_Callback_For_Storage(), and LIBMTP_Get_Trackmetadata(). LIBMTP_track_t* LIBMTP_track_struct::next Next track in list or NULL if last track Examples: tracks.c. Referenced by LIBMTP_Get_Tracklisting_With_Callback_For_Storage(). uint16_t LIBMTP_track_struct::nochannels Number of channels in this recording 0 = unknown, 1 or 2 Examples: tracks.c. Referenced by LIBMTP_Update_Track_Metadata(). uint32_t LIBMTP_track_struct::parent_id ID of parent folder Referenced by LIBMTP_Get_Tracklisting_With_Callback_For_Storage(), LIBMTP_Get_Trackmetadata(), LIBMTP_Send_Track_From_File_Descriptor(), and LIBMTP_Send_Track_From_Handler(). uint16_t LIBMTP_track_struct::rating User rating 0-100 (0x00-0x64) Examples: tracks.c. Referenced by LIBMTP_Update_Track_Metadata(). uint32_t LIBMTP_track_struct::samplerate Sample rate of original file, min 0x1f80 max 0xbb80 Examples: tracks.c. Referenced by LIBMTP_Update_Track_Metadata(). uint32_t LIBMTP_track_struct::storage_id ID of storage holding this track Examples: sendtr.c. Referenced by LIBMTP_Get_Tracklisting_With_Callback_For_Storage(), LIBMTP_Get_Trackmetadata(), LIBMTP_Send_Track_From_File_Descriptor(), and LIBMTP_Send_Track_From_Handler(). char* LIBMTP_track_struct::title Track title Examples: getplaylist.c, playlists.c, and tracks.c. Referenced by LIBMTP_destroy_track_t(), and LIBMTP_Update_Track_Metadata(). uint16_t LIBMTP_track_struct::tracknumber Track number (in sequence on recording) Examples: tracks.c. Referenced by LIBMTP_Update_Track_Metadata(). uint32_t LIBMTP_track_struct::usecount Number of times used/played Examples: tracks.c. Referenced by LIBMTP_Update_Track_Metadata(). uint32_t LIBMTP_track_struct::wavecodec FourCC wave codec name Examples: tracks.c. Referenced by LIBMTP_Update_Track_Metadata(). Author Generated automatically by Doxygen for libmtp from the source code. Version 1.1.3 Sun Feb 17 2013 LIBMTP_track_struct(3)
All times are GMT -4. The time now is 01:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy